You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A run whose last message says it is still waiting is reported as finished #3690
On #3479 the agent's last message said it was still waiting (for a background job), yet the run was reported as finished with that text as the summary (#3680 item 4). 0.9.2 added summary selection by the summarization model (packages/core/src/agents/runSummarySelection.ts), which picks the best message but does not flag an unfinished run.
Expected / acceptance criteria
When the agent exits while its final message states that work is still in progress or waiting, the completion comment says the run ended before the agent confirmed completion, and still lists what was committed. It must not present the run as a clean success.
The detection is non-deterministic by design: the summarization model that already selects the summary also returns whether the run looks unfinished (one call, no extra request). When no summarization model is configured or the call fails, behaviour is unchanged.
Tests with mocked model output for finished, unfinished and failed-call cases.
Implementation
Extend the selection prompt/result in runSummarySelection.ts with an unfinished flag and a one-line reason; thread it to the completion comment builder. Keep the fallback path identical to today.
Activity
propr-dev commentedon Nov 18, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53690/claude-opus-5-5-a-run-whose-last-message--20261118-1725-mmr3686-epic-0-9-g6iissue-3690-20261118-1725-claude-opus-5-5-mmr🔍 Track Task Execution