Skip to content

fix(secretary): cancel unsent work after owner manual replies - #97

Merged
zaytcevcom merged 1 commit into
mainfrom
codex/lo-manual-reply-cancellation-20261015
Oct 15, 2026
Merged

zaytcevcom merged 1 commit into
mainfrom
codex/lo-manual-reply-cancellation-20261015

Conversation

@zaytcevcom

Copy link
Copy Markdown
Contributor

An owner's manual reply now cancels earlier unsent secretary work in the same connection and chat, including pending approval. Identity-only owner business_message updates never start generation. Durable, scoped source-revision watermarks suppress delayed older incoming updates across restarts while preserving later incoming work.

Connection authority, owner/peer/conversation/policy boundaries and current Receive consent remain enforced. Delivery-attempted, in-flight, unknown and terminal outcomes keep their receipts and existing reconciliation behavior. A review notice confirmed after cancellation is retained so its buttons can still be closed.

Validation: full task default (format, lint, race tests, both builds), task security-scan, and independent source review passed. Deterministic coverage includes scope isolation, revision ordering/replay, restart, approval callbacks and late notice publication, attempted/unknown delivery preservation, migration, watermark capacity and persistence-size failure. The security scan found no reachable vulnerabilities; one required-module advisory is uncalled.

Rollout: deploy this consumer before enabling backend owner-created observations. Persisted state advances to schema 3; preserve the prior binary and matching state backup. Older binaries reject schema 3. Do not blindly downgrade or restore stale state after new activity. This PR publishes an image on merge; runtime deployment and verification are coordinated separately.

@zaytcevcom
zaytcevcom merged commit ffd5c47 into main Oct 15, 2026
6 checks passed
@zaytcevcom
zaytcevcom deleted the codex/lo-manual-reply-cancellation-20261015 branch October 15, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant