Retry failed active-turn steers - #162
Merged
Merged
Conversation
XIAZY
marked this pull request as ready for review
July 15, 2026 04:00
This was referenced Jul 15, 2026
XIAZY
added a commit
that referenced
this pull request
Jul 15, 2026
Revert #162 (steer-retry) to un-break main after stale-base merge
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.
Summary
steeredForMeSigwhen an active-turn steer write fails so the same inbox signature can retryRoot cause
The supervisor marked a for-me signature as steered before writing to runtime stdin. Any write failure returned without clearing that marker, so subsequent reconciles treated the notification as already delivered forever.
The direct Claude steering mechanism itself is unchanged. A live production-path probe proved current Claude CLI behavior safely consumes a steer during an active tool call, so this PR intentionally adds no speculative tool/compaction gating state.
Validation
Red-first on unchanged
origin/main355df3fe:TestAgentSessionFailedSteerRetriesSameInboxSignature: RED withgot 1 attempts want 2Exact patched head:
-race -count=50: PASSdaemon/internal/syncerunder-race: PASSgo test ./...: PASSgo vet ./...: PASSgo build ./...: PASSgit diff --check: PASSAcceptance rows cover retry after failure, stale process/turn/signature no-clobber, successful dedupe, and no-active-turn behavior.