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
Review agent should reconcile duplicate finding threads across runs #2197
Teach the review lifecycle to reconcile multiple open GitHub threads carrying the same stable finding ID across review runs. On fullsend #9891, the review/fix summaries reported finding IDs as ambiguous when more than one open thread carried the ID, leaving duplicate stale threads open. A finding ID identifies the concern, but by itself does not identify which of several stamped threads is current.
Use prior review-run data and the thread history to distinguish the active thread from stale duplicates. Resolve only threads shown to be stale or outdated, with an explanatory reply. If the evidence does not distinguish them safely, leave them open and list each direct thread link with the next action for the PR author.
Acceptance criteria
When multiple open threads carry one stable finding ID, the review post-script consults prior-run finding state and thread history instead of immediately treating every match as unresolvable ambiguity.
A thread is resolved only when the prior-run and current-review evidence establishes that it is stale or outdated; the current actionable finding thread remains open.
Each stale thread receives an idempotent explanation before resolution.
If history does not safely identify the stale thread, no thread is guessed at or closed; the PR summary lists each affected thread with a working link and a suggested next step.
Per-thread API failures do not fail the review run.
Regression coverage includes repeated review runs that create multiple open threads with one stable finding ID, a stale prior thread, a current active thread, and an inconclusive history case.
Triage found this actionable as written, so no clarifying questions are needed.
Where the change lands: the review post-script scripts/post-review.src.sh. It already has an ambiguous disposition for IDs with more than one open thread, which is the behavior this issue replaces with evidence-based reconciliation. The bundled scripts/post-review.sh must be regenerated with make script-build and checked with make check-bundle.
Related work: this is a sub-issue of #478. No open PR addresses it. #2111 (GitLab finding-ID preservation across line shifts) is adjacent but separate. #2002 (GitLab outdated-thread resolution) is also adjacent.
Suggested design guardrails:
Resolve only on positive evidence of staleness. Default to leaving threads open.
Use an idempotency marker on the explanation reply so reruns are safe.
Treat per-thread API failures as non-fatal and report them in the summary.
Proposed test case:
Given one finding ID with several open stamped threads:
- stale prior thread + current thread -> reply to and resolve only the stale one; rerun posts no second reply
- inconclusive history -> resolve nothing; summary lists each thread link with a next step
- a thread API call fails -> run still succeeds; failure noted in summary
Next steps:
/fs-code — agent creates a PR to implement this issue
/fs-code <your instruction> — agent implements with your specific guidance
ℹ️ No PR created — agent determined no changes needed
The code agent ran and evaluated issue #2197, but did not produce changes to submit as a pull request.
Reason: Agent did not create a feature branch (current: 'main')
Agent context:
No PR was opened: issue #2197 does not have the ready-to-code label yet. The code agent was dispatched while triage was still running (triage started 12:56 UTC, about 15 seconds before this run). Labels at check time were only bug and review-agent. No branch was created and nothing was committed.
To unblock: let triage finish. Once it confirms the scope and applies ready-to-code, re-dispatch the code agent. The scope is the review post-script reconciling duplicate open threads that share a stable finding ID across runs.
Activity
fullsend-ai-triage commentedon Nov 28, 2026
🤖 Finished Triage · ✅ Success · Started 12:56 PM UTC · Completed 12:58 PM UTC
Commit:
0e5514e· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.26
fullsend-ai-coder commentedon Nov 28, 2026
🤖 Finished Code ·⚠️ Cancelled · Started 12:56 PM UTC · Completed 12:58 PM UTC
Commit:
0e5514e· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $0.13
fullsend-ai-triage commentedon Nov 28, 2026
Triage found this actionable as written, so no clarifying questions are needed.
Where the change lands: the review post-script
scripts/post-review.src.sh. It already has anambiguousdisposition for IDs with more than one open thread, which is the behavior this issue replaces with evidence-based reconciliation. The bundledscripts/post-review.shmust be regenerated withmake script-buildand checked withmake check-bundle.Related work: this is a sub-issue of #478. No open PR addresses it. #2111 (GitLab finding-ID preservation across line shifts) is adjacent but separate. #2002 (GitLab outdated-thread resolution) is also adjacent.
Suggested design guardrails:
Proposed test case:
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Nov 28, 2026
ℹ️ No PR created — agent determined no changes needed
The code agent ran and evaluated issue #2197, but did not produce changes to submit as a pull request.
Reason: Agent did not create a feature branch (current: 'main')
Agent context:
No PR was opened: issue #2197 does not have the
ready-to-codelabel yet. The code agent was dispatched while triage was still running (triage started 12:56 UTC, about 15 seconds before this run). Labels at check time were onlybugandreview-agent. No branch was created and nothing was committed.To unblock: let triage finish. Once it confirms the scope and applies
ready-to-code, re-dispatch the code agent. The scope is the review post-script reconciling duplicate open threads that share a stable finding ID across runs.Workflow run: https://github.com/fullsend-ai/agents/actions/runs/46146936366
Retry with
/fs-codeif appropriate.fullsend-ai-coder commentedon Nov 28, 2026
🤖 Finished Code ·⚠️ Cancelled · Started 1:00 PM UTC · Completed 1:02 PM UTC
Commit:
0e5514e· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high
SPEC(sequencer): count closed blockers when naming unread relations
ifireball commentedon Nov 28, 2026
/fs-code
fullsend-ai-coder commentedon Nov 28, 2026
🤖 Finished Code · ✅ Success · Started 10:37 PM UTC · Completed 10:57 PM UTC
Commit:
df521fd· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $4.58
fix(#2197): keep an open finding's thread open when its newest thread…
fix(#2197): re-read an open finding's current thread before resolving…
fix(#2197): list open findings whose duplicate threads cannot be read
fix(#2197): re-check an open finding's current thread before each old…
fix(fullsend-ai#2197): reconcile duplicate finding threads across rev…
Merge pull request fullsend-ai#2204 from fullsend-ai/agent/2197-recon…