Repository navigation
Simplify delivery receipt into the next wait - #943
Merged
Merged
Conversation
Remove mandatory work claims and acknowledge immutable deliveries by ID. Share ownership and identity validation with cursor-last receipt across direct and Codex carriers. Keep response settlement independent, and update real receipt fixtures and published guidance.
leaf-agent
approved these changes
Sep 22, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 23, 2026
…#978) `SKILL.md` restated the optional packages and had drifted from `references/packages.md`. It left out `pr-review`, `monitoring` and `command-hub`, even though the new `code-review` guidance sends authors to `pr-review`. It now points at "Package reach", which owns the list. Two smaller fixes: - After #943 removed `leaf ack`, the Codex watcher's forwarded instruction still said the watcher "owns both". It now says the watcher owns the wait and acknowledges the batch. - The conversation-title guidance now says the id comes from what `leaf comment` prints, and that a delivery carries the current title (null until named). > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A received batch currently requires a mandatory work claim followed by a page-and-sequence acknowledgement. This change removes the mandatory claim and replaces
leaf ack PAGE SEQwithleaf wait --ack DELIVERY_ID: the next background wait confirms exactly the immutable input the agent received.Receipt, work, and response keep separate meanings. Direct stdout carries input without recording pickup; explicit confirmation records turn entry and pickup before advancing the cursor. Both Codex acceptance and recovery use that same ownership/identity-checked receipt boundary. An interrupted confirmation can retry without losing pickup evidence, and an old carrier cannot acknowledge a successor's input. Focused work claims remain available. Codex pointers now request
delivery read.The CLI, local and hosted-agent guidance, demo recorder, contract snapshots, and How it works walkthrough are cut over together. The walkthrough shows background waiting followed by the actual response. Ask-derived banner wording remains a separate design item.
Validation covers immutable retries, later arrivals, partial multi-page receipt, concurrent acknowledgements without cross-page locking, ownership transfer under the page lock, replaced logs, interrupted pickup, and standalone multi-page waiting. The final local suite passes all 1,281 tests, with 34 runtime tests and three focused browser cases also passing; rendered documentation has no console errors. An independent review's injected interruption test verifies pickup is durable before the cursor advances.