Skip to content

Tell a refused leaf reply to finish the reply in the turn's final message - #1069

Merged
max-sixty merged 2 commits into
mainfrom
message-flow
Sep 24, 2026
Merged

max-sixty merged 2 commits into
mainfrom
message-flow

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

#1057 made an App Server turn's reply its opening and final messages. leaf reply's refusal for an event those messages answer still said the event "is bound to this delivery's final message". That named only half the rule and gave an agent mid-turn nothing to do next. It now says:

event '' is answered by this turn's messages; finish the reply in your final message

host-codex-app-server.md "Replies" quotes the refusal the same way. The three hosted-delivery snapshots that embed that reference are regenerated, and the refusal tests in test_interact_session.py and test_website_server.py match the new wording.

🤖 Generated with Claude Code

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 2 commits September 23, 2026 17:44
…re main's contract snapshots

#1057 made an App Server turn's reply its opening and final messages, but
`leaf reply`'s refusal still said the event "is bound to this delivery's
final message". It named only half the rule and gave an agent mid-turn
nothing to do. It now says the event is answered by this turn's
messages and to finish the reply in the final message.
`host-codex-app-server.md` quotes it the same way.

#1055 and #1056 recorded the contract snapshots while #1057 was in
review, so main at 57d776f fails
`test_each_carrier_hands_the_agent_what_the_snapshot_shows` and
`test_each_case_of_an_event_is_told_what_the_snapshot_shows` on the old
`answering.reply` clause. Both are regenerated here.

Behavior that moved: the refusal tests in `test_interact_session.py`
and `test_website_server.py` match the new wording.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit fdb4644 into main Sep 24, 2026
5 checks passed
@max-sixty
max-sixty deleted the message-flow branch September 24, 2026 01:26
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