Repository navigation
fix(supervision): preserve messages until delivery and reconcile Manager identity - #339
Conversation
Retain coordination records until their exact persisted Pi session receipt is visible, suppress repeated submissions while work is in flight, and keep transient Manager verification failures recoverable. Reconcile restored Manager pane identity and report metadata failures without rolling back authority. The process-local retry guard bounds duplicate submissions but permits replay after a crash before Pi persists its receipt; it does not provide distributed exactly-once delivery.
|
Follow-up for External Review #1 (commit |
🤖 I have created a release *beep* *boop* --- ## [0.24.0](v0.23.0...v0.24.0) (2026-10-10) ### Features * **ui:** enable verified click-to-focus in status widgets ([#342](#342)) ([b7ca8fd](b7ca8fd)) ### Fixes * **supervision:** preserve messages until delivery and reconcile Manager identity ([#339](#339)) ([f9b955a](f9b955a)) * **ui:** repair managed Lead to Manager navigation ([#344](#344)) ([d0777bc](d0777bc)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fixes #311
Fixes #338
Summary
Prevent queued supervision messages from disappearing before Pi records their delivery, and keep Herdr pane identity aligned with the verified Manager role. Both fixes reuse existing coordination, session-history, and metadata contracts; no new persistent state or transport.
Changes
agent_settled. Clear per-message tracking after acceptance or rejection.Validation
Reported for follow-up HEAD
95566425aff24a6e067ef9a94d7b13b72ff4f8d9:npm test -- extension/supervision.test.ts— passednpm test -- extension/controller-api.test.ts— passednpm test -- extension/commands.test.ts— passednpm test -- extension/extension-contract.test.ts— passednpm run smoke -- manager-recovery— passednpm run check— 926 passed, 0 failed, 1 skippedgit diff --check— passedGitHub Actions Validate workflow at this HEAD also passed, including Ubuntu, macOS, Windows, package, and container jobs. External Review #2 found no merge-blocking issues; that review did not independently rerun the local test or smoke commands.
Guarantees and limits
message_staffsuccess acknowledges durable enqueue, not receipt. Inbox consumption now requires the recipient's persisted Pi message. Delivery remains recoverable rather than distributed exactly-once: the 30-second fallback (and crash recovery) can replay a message if Pi persists it unusually late. Herdr metadata remains best-effort presentation and never determines Manager authority.The fixes address confirmed code defects, but do not conclusively establish the cause of the October 8, 2026 live incident.