Composer hint states the delivery contract while an agent works - #31
Open
udaychandra wants to merge 1 commit into
Open
Composer hint states the delivery contract while an agent works#31udaychandra wants to merge 1 commit into
udaychandra wants to merge 1 commit into
Conversation
While a spec is in_progress — the window where a gated coding run (dispatch or fix lane) is live and sail's room relay injects replies after tool calls — the room composer says so: replies are delivered to the agent as it works. The contract is identical for claude-code and codex (both honor PostToolUse additionalContext), so one honest hint serves both. Any other status keeps the terse default.
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.
Rider for standardapplied/sail#186 (spec sail-room-agent-loop).
While a spec is
in_progress— the window where a gated coding run (dispatch or fix lane) is live and sail's new room relay injects replies into the agent's context after tool calls — the room composer states the real contract: ⏎ to send · the agent is working — replies are delivered to it as it works. Any other status keeps the terse⏎ to send.The hint is identical for claude-code and codex because the contract is: both CLIs honor PostToolUse
additionalContextinjection, so there is no fake liveness and no per-agent branching to lie with.Tests cover both states of the hint;
bun test(426) andtsc --noEmitare green.