Repository navigation
fix(inbox): answering an agent's question or its blocked task resolves both (v0.455.1) - #858
Merged
Merged
Conversation
…s both (v0.455.1) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
A run that
asks and then parks its taskblockedraises two Inbox cards for one decision — "needs your input" and "task blocked — needs you" — and they were not linked. Answering the question left the task blocked (card open); unblocking the task left the question pending. On the live case (instapodstsk_5f40…) the answer was also lost: the human answered 3s after the run parked the task, its pane was still up, soanswerQuestionassumed a live asker would poll — but the run had stopped waiting and ended.Fix
Answered: …on the task the run left blocked, returns it to the board (blocked card closes viasyncTaskBlockedCards), and delivers by dispatching the task with the Q/A asextra— retrying every 15s (≤5 min) while the asking pane winds down, falling back to the wake queue only if it never goes. Not via the wake queue first: its resume is invisible to the one-live-run guard.blockedsettles the run's pending questions (resolveTaskQuestions) — the card's note is the answer, no note cancels.TaskNoticenow carries the note filed in the same update.Tests
scripts/ask-block-link-test.cjs(14 checks, 8 fail on main), added totest:governance. Full suite green.🤖 Generated with Claude Code