Repository navigation
Commit explicit addressed replies immediately - #2085
Merged
Merged
Conversation
Validate and publish complete authored replies in their command transaction. Provider finals yield to successful exact-input answers, so later edits or interruption cannot discard a reply already accepted. Remove deferred author content and its persisted schema, consolidate App Server stream ownership, and share capture and recovery readings. Keep provider reservations for competing finals and failure receipts.
leaf-agent
previously approved these changes
Oct 8, 2026
leaf-agent
reviewed
Oct 8, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The test check is red on two deterministic expectations this change leaves behind. test_agent_interaction_command_help still records the removed deferred reply behavior; its snapshot needs the new immediate commit help text. In test_a_write_prints_the_records_it_appended, the invalid --title on thread reply is now refused by the reply event's admission gate, so the assertion that the error names thread_title fails. The command still refuses the event without appending it; update that assertion to match the owning validation boundary. Both failures reproduce locally with the two test node IDs.
leaf-agent
dismissed
their stale review
October 8, 2026 17:23
CI failed: the reply help snapshot and title-refusal assertion still expect the old behavior.
leaf-agent
approved these changes
Oct 8, 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.
An explicit rich reply could succeed as
state: prepared, then be discarded when the provider's later final encountered invalid page edits. The refusal arrived after the agent's turn had finished. Explicit addressed replies now validate and commit immediately; the provider final yields to the successful answer already recorded for that exact input.Remove deferred author content and its persisted sub-schema, duplicate title validation, and the separate reply lifecycle wrapper. App Server owns its streaming lifecycle; thread admission remains the shared durable writer. Reuse response readings during capture and share exact-target completion checks during recovery. Ownership checks, author retry identity, rich content, anchors, and failure reservations retain their existing guarantees. Python source shrinks by about 210 lines, including comments.
Validation covers focused rich reply, refusal-and-repair, ownership, retry, stream, interruption, reconnect, history recovery, and website lifecycle cases; reviewed delivery-instruction snapshots; pinned pre-commit hooks; both real Codex transports; and base/candidate instruction probes. The probes preserve the intended behavior in both arms and do not establish a reliability improvement.