Files
hermes-agent/tools
David Dudok de Wit cca52ed3a4 fix(bot): publish local receipts with cancellation-safe mailbox ownership
Poll the owner's local receipt projection without opening a new admission RPC. Serialize delivery with an async owner lock and short off-loop file transactions, preserve legacy compare-and-set pinning, and refresh paused or adopted receipts from owner publication. Cancelling startup recovery keeps its mailbox operation tracked until physical I/O ends, including repeated cancellation.

The API peer waiter reads the locked receipt off the event loop. Fixtures follow the same public local reader and preserve isolated native daemon homes. The inherited FIFO pause regression retains its behavioral assertions after the mailbox migration.

Validation: scripts/run_tests.sh -j 3 across 11 Bot/receipt files: 112 passed, 3 Linux-only skips on native Windows, no failures or retries. Includes real daemon queued/settled receipts and single/repeated startup cancellation. Log: split-B-tests.log.

Depends-on: "fix(worker): retain persistence and ownership through physical shutdown" (physical worker lifetime)
Depends-on: "fix(gateway): retain mutation ownership through publication and retirement" (mutation ownership helpers)
Depends-on: "fix(gateway): release paused admission observers without false settlement" (shared FIFO pause)
Review-source: itsflownium, https://github.com/NousResearch/hermes-agent/pull/106742#issuecomment-6050777316
Review-source: Adolanium, https://github.com/NousResearch/hermes-agent/pull/106742#issuecomment-6055121721
Source-base: NousResearch/hermes-agent#106742 at 0b815190b2
(cherry picked from commit 819b7db20f9791660a0a2ac84771845492e7cd87)
2026-10-08 09:10:28 -07:00
..
…