Skip to content

Simplify delivery receipt into the next wait - #943

Merged
max-sixty merged 4 commits into
mainfrom
codex/agent-interaction-guidance
Sep 22, 2026
Merged

max-sixty merged 4 commits into
mainfrom
codex/agent-interaction-guidance

Conversation

@max-sixty

@max-sixty max-sixty commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

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 SEQ with leaf 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.

This was written by Codex on behalf of max-sixty

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.
@max-sixty
max-sixty merged commit 1befd27 into main Sep 22, 2026
5 checks passed
@max-sixty
max-sixty deleted the codex/agent-interaction-guidance branch September 22, 2026 18:48
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]>
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.

2 participants