Repository navigation
Description
Problem
When the triage agent re-triages an issue, step 2e of agents/triage.md tells it to find the prior triage comment and "accumulate — do not replace": keep every cause the earlier analysis documented unless it refutes one with evidence. Two things make that unreliable now.
- Refutations are not posted. The prompt records a refuted cause only in
reasoning, which the post-script never publishes. The next run sees the earlier cause in the old comment but not the refutation, so it can bring a refuted cause back. (Raised by Qodo on fix(gitlab)!: post triage and prioritize results as new notes #2037.) - There is no longer one comment to read. fix(#9334)!: post every agent result as a new comment fullsend#9399 makes every agent result a new comment, and fix(gitlab)!: post triage and prioritize results as new notes #2037 does the same for the GitLab triage door. An issue triaged several times then has several marked analyses, plus status notes and unmarked results (questions, insufficient, duplicate and so on).
What the agent cannot rely on today
- Jira: the
fullsend:triage-agentmarker is stored as a comment entity property (fullsend.sticky-marker), not in the visible body, so the agent never sees it. Telling the bot's own comments apart needs the author (for exampleGET /rest/api/3/myselfwith the same token, compared withauthor.accountId). - Edited-in-place comments (GitHub and Jira, until #9399 ships):
sticky.Postkeeps earlier bodies as "Previous run" blocks inside the same comment, so one comment holds the current analysis and every older copy. - Ordering: GitLab's forge skill lists notes oldest first, 100 per page; Jira's lists comments newest first by creation, 50 per page. An edited comment keeps its creation time. Whether the agent can read an edit time differs by tracker (
gh issue view --json commentsmay not expose one). - Comment size: comments are capped at 4000 characters, and anything carried forward has to fit.
- Other rules in the prompt ("omit what prior comments already convey", the self-evident-issue path) pull against restating earlier causes.
- Eval: case
007-self-evident-bug-redundancyscores restating the reporter's cause down.
A direction reviewers converged on
Treat the newest full analysis (a sufficient result) as the authoritative current state. Each one carries a short Live causes list and a cumulative Ruled out list (one line of evidence per cause). A run starts from that comment alone, keeps its live causes unless it refutes them now, and keeps its Ruled out list unless new evidence revives a cause. Other triage comments are status updates, never the baseline. In an edited comment, only the text above the first "Previous run" block counts. When the lists outgrow the cap, the oldest Ruled out entries are condensed first.
Open questions: how the agent identifies the newest full analysis on each tracker; the empty forms of both lists; how analyses written before the rule are read; whether #9399 or fullsend-ai/fullsend#9335 (one comment per agent run) changes where this state should live.
Done when
agents/triage.mdstep 2e, thesufficientcomment template and the do-not-restate rules agree on one way to find and carry the prior analysis that works on GitHub, GitLab and Jira, both before and after #9399.- A refuted cause stays ruled out on the next run unless new evidence revives it.
- An eval case covers a re-triage: a cause refuted in run 2 is not restored in run 3, and a live cause from run 1 survives a run that does not mention it.
- Eval case 007 is consistent with whatever the comment must carry.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn progress
Activity
fullsend-ai-triage commentedon Nov 15, 2026
🤖 Finished Triage · ✅ Success · Started 6:19 PM UTC · Completed 6:21 PM UTC
Commit:
0869ded· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.24
fullsend-ai-triage commentedon Nov 15, 2026
This issue is detailed enough to start on, but it is a design change to the prompt with some open choices that maintainers should settle.
What the repo confirms: step 2e in
agents/triage.mdcurrently says to find a prior triage comment by marker or a-triage[bot]login and to document refutations only inreasoning. That matches your description. No open PR addresses this issue. #2037 changes where GitLab results are posted and is a context dependency, not a fix. fullsend-ai/fullsend#9399 and #9335 are still open. Because the direction you describe has to work before and after #9399, they do not block starting.Open questions for maintainers (not the reporter): how the newest full analysis is identified on each tracker (especially Jira, where the marker is not visible), the empty forms of the Live causes and Ruled out lists, how analyses written before this rule are read, and whether #9399/#9335 change where this state should live.
Related issues: #888 reports the opposite risk: the accumulate rule anchored the agent to its own earlier wrong conclusion. A Ruled out list must therefore stay revivable on new evidence, and a human correction should override it. #1511 and #201 also touch re-triage behavior and comment size.
Scope: the change is in
agents/triage.mdpluseval/triage(case 007 and a new re-triage case). No workflow files are involved.Proposed test case:
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefix(triage): answer review on the GitLab notes change
test(triage): keep a run-1 cause through a run that omits it