Repository navigation
Tell a refused leaf reply to finish the reply in the turn's final message - #1069
Merged
Merged
Conversation
…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]>
leaf-agent
approved these changes
Sep 24, 2026
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.
#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: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 intest_interact_session.pyandtest_website_server.pymatch the new wording.🤖 Generated with Claude Code