Repository navigation
Description
Problem
When the agent's last message is a reaction to a background notification (a monitor or watcher timing out) rather than its summary, ProPR publishes that message as the "Summary of Changes" in the PR comment and as the commit subject.
Observed (9 of 305 follow-up comments in six days, 13 commits on main):
- [3479 by Claude Opus 5.5] Defer jobs whose agent is at its ceiling instead of holding a worker, and charge the actual direct agent #3497 (comment): the whole summary is "The monitor timed out after the batch had already finished, so I don't need to restart it. All 28 related suites passed, and my summary above still holds." There is no summary above; the run took 23 minutes.
- [3499 by Claude Opus 5.5] Extract acceptance criteria from the issue and report evidence per criterion #3506 (comment): "That notification is the depth-measurement probe I started earlier…"
- Commits:
01de23529 feat(ai): That timeout notice came from the watcher I set on the check run, and it doesn't change anything…,0cfaca1d7 The monitor only expired; it doesn't need re-arming…,008e89bd feat(ai): Verification is complete. Summarizing now. - A failure comment with the same cause on issue Defer jobs whose agent is at its ceiling instead of holding a worker, and charge the actual direct agent #3479: "Summary: Still running (7 of ~110 suites done). Waiting for the completion notification."
- Also affected PRs: [3472 by Claude Opus 5.5] Give the epic execution queue per-issue state instead of a single cursor #3507, [3481 by Claude Opus 5.5] Report admission capacity per agent through REST, MCP and the CLI, and document safe configuration changes #3519, [3511 by Claude Opus 5.5] Settings: flat Skills & MCP servers list with enable checkboxes and per-item limits; additional extensions in the automation editor #3525, [3529 by Claude Opus 5.5] Compute one PR status and show it live at the top of the PR body #3535, [3551 by Claude Opus 5.5] Plugin slash commands: prompt commands on issues and pull requests #3580.
Expected / acceptance criteria
- The published summary and the commit subject come from the agent's final answer about the work, not from a later message that only reacts to a notification. When the final message refers back to an earlier summary ("my summary above still holds") or is a short status note, ProPR uses the most recent substantive summary of the run instead.
- If no substantive summary exists, the comment says so plainly ("The agent did not provide a summary.") and the commit subject falls back to the issue or request title; it never publishes a status note as the summary.
- A run is not reported as finished while the agent's last message says it is still waiting for running work (the Defer jobs whose agent is at its ceiling instead of holding a worker, and charge the actual direct agent #3479 case): it is treated as incomplete/failed with that reason.
- Tests built from the transcripts' shapes above (final message after a late tool/notification turn; "summary above" back-reference; "Summarizing now.").
Implementation
Find where the final result text of a Claude/Codex run is chosen for the completion comment and commit message (run result extraction in packages/core/src/agents / packages/core/src/claude, and the commit message builder). Prefer a structural rule (the last assistant message that followed the agent's own work rather than a notification turn; fall back to the longest of the last N assistant messages when the last one is short and has no change description) over keyword matching alone.
Notes
Ordinary task runs are one-shot: do not add any mid-run interaction. Do not change the commit message format otherwise.
Activity
propr-dev commentedon Nov 17, 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-53621/claude-opus-5-5-completion-comments-and-c-20261117-0458-4qk3616-epic-0-9-d8bissue-3621-20261117-0458-claude-opus-5-5-4qk🔍 Track Task Execution