Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-matrix-mcp/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 739c35757a hive-matrix-mcp: test the retry path and the once-only todo clear
The startup todo wipe runs once in main, before any sync loop, so a
secondary that comes up later cannot clear the todos the running
accounts' sweeps already deduped. Nothing tested that.

main now reads HIVE_AGENT_SOCKET once at startup and hands the path to
wake::clear_all_todos, the only way left to wipe the whole set;
send_todo_clear clears one key only. bring_up_account is split into
restore_account (everything that talks to the network) and the
synchronous account_sync_loop, and the retry path restores with the
former and builds the loop itself. Neither the loop nor the retry path
is given the socket.

The new test runs a late secondary's retry and its sync loop against a
listener standing in for the harness socket, after startup's wipe, and
asserts the harness saw exactly one wipe. It pins that seam, not every
place in restore_account a wipe could be added.
2026-10-14 16:20:04 +02:00
..
accounts.rs hive-matrix-mcp: quieter retries, unique snapshot tmp file, accurate comments 2026-10-14 16:20:04 +02:00
client.rs hive-matrix-mcp: quieter retries, unique snapshot tmp file, accurate comments 2026-10-14 16:20:04 +02:00
credential.rs hive-matrix-mcp: quieter retries, unique snapshot tmp file, accurate comments 2026-10-14 16:20:04 +02:00
handlers.rs hive-matrix-mcp: test the retry path and the once-only todo clear 2026-10-14 16:20:04 +02:00
lib.rs hive-matrix-mcp: read the main account's token from the store too 2026-09-25 08:31:01 +02:00
main.rs hive-matrix-mcp: test the retry path and the once-only todo clear 2026-10-14 16:20:04 +02:00
mcp.rs hive-matrix-mcp: retry a secondary account that failed to come up 2026-10-14 16:20:04 +02:00
paths.rs hive-matrix-mcp: read the main account's token from the store too 2026-09-25 08:31:01 +02:00
protocol.rs matrix: wake and unread-guard on own read receipt, not push-rule count 2026-08-03 17:41:24 +02:00
timeline.rs hive-matrix-mcp: test the retry path and the once-only todo clear 2026-10-14 16:20:04 +02:00
wake.rs hive-matrix-mcp: test the retry path and the once-only todo clear 2026-10-14 16:20:04 +02:00