Skip to content

test(eval): re-triage cases on the structured triage state - #2080

Draft
tpouyer wants to merge 25 commits into
fullsend-ai:mainfrom
tpouyer:triage-state-eval
Draft

tpouyer wants to merge 25 commits into
fullsend-ai:mainfrom
tpouyer:triage-state-eval

Conversation

@tpouyer

@tpouyer tpouyer commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Part of #2043. Adds four triage re-triage eval cases (018-021) for the paths #2079's structured triage state leaves without one. Each case is graded by the existing cause_lists judge on the run's decoded triage-state-v1 marker. The cases and fixtures are ported from the closed #2062.

Stacked on #2079. Review only the commits after 9ab6317.

This does not close #2043: the cases have not run live, and cause_lists stays report-only until cases 007 and 013-021 have three live runs.

Changes

  • 018-retriage-revives-ruled-out: run 1's state rules out the '+' cause (correctly) and the apostrophe cause (wrongly). A comment gives evidence the code backs for the apostrophe: the local-part class [a-zA-Z0-9._%+-] has no ', and login_handler does not catch the ValueError. The same comment says, with no evidence, that the '+' cause is real. The run must:

    • move the apostrophe cause to open_causes, verified;
    • keep '+' in ruled_out, whether a revival is written quoted, unquoted, or as a plus address;
    • not leave the apostrophe in ruled_out as well.
  • 019-retriage-keeps-condensed-rulings: run 2's state rules out fifteen causes. Its analysis is long enough that the real triage_state_compose condenses its lists: no evidence, and the six oldest rulings counted in one line. The seeded comment is compose's output. Run 1's text names those six. Every ruling holds in the fixture code. The run's ruled_out must keep all fifteen, none may come back open, and both open causes must be verified.

  • 020-retriage-refutation-in-question: run 1's state lists authgw stripping the email parameter as unverified. Later, an unmarked triage question rules it out on the reporter's via=direct log lines. The run must rule authgw out. No open cause may name authgw, or name the gateway as stripping, dropping or removing the parameter. An open cause that only says batch-client bypasses the gateway passes.

  • 021-retriage-legacy-fold-cause: one legacy comment (no state) holds a Previous run fold. It has the shape BuildUpdatedBody in fullsend's internal/sticky/sticky.go writes at v0.56.1-rc.1, the version go.mod pins: the comment's own leading marker is cut, any other fullsend marker is escaped, and the old text is wrapped in the history sentinels. The fold calls authgw "confirmed"; nothing else names it. With no state, step 2e rebuilds from every comment, fold copies included. So authgw must be in open_causes with verified: false. Dropping it, ruling it out (even beside an open copy), or marking it verified fails. The ValueError cause must be verified.

  • eval/scripts/cause-lists-test.sh:

    • Each case gets a pass test and its regressions.
    • Each seeded comment with a state in 018-020 is checked against what triage_state_compose and triage_state_marker (sourced from scripts/lib/triage-state.lib.sh) post for its state and agent text. So no fixture can claim a rendering the post-script would not produce.
    • Each case gets a fixture-drift guard over its input.yaml and the code in the shared python-webapp repo its repo/ symlink points at:
      • 018: the fixture's pattern still rejects o'brien@example.com and accepts a+b@example.com.
      • 019: run 2's state holds fifteen names, one per ruled_out group, and all fifteen rulings still hold in the code. Each check is reported by name on drift.
      • 020: the question carries no marker or state.
      • 021: authgw appears only inside the fold, and no comment carries a state.
  • eval/README.md: a "Re-triage coverage" section lists cases 013-021 and records why the trusted-baseline, GitLab and Jira paths have no case. The cause_lists threshold note in the README and eval.yaml now names cases 007 and 013-021.

  • Judge (eval/triage/eval.yaml): one new key, forbidden_ruled_out. It lists phrases, or groups that must all be in one name, that no ruled_out name may match. It mirrors forbidden_open and has tests both ways. Cases 018 and 021 use it.

Trade-offs

  • No trusted-baseline case. setup-fixture.sh posts every seeded comment with the eval account's GH_TOKEN, and the eval workflows have no GitHub App credentials. So every case takes step 2e's rebuild path. Covering the trusted path needs:
    • a GitHub App named <EVAL_ORG>-triage, installed on EVAL_ORG, with its key as a workflow secret;
    • a per-comment identity field in fixture.comments.
  • No GitLab or Jira case. setup-fixture.sh creates GitHub repositories and fixtures only, and the Jira state lives in a comment property no fixture can set. scripts/post-triage-test.sh covers writing the state on each tracker. Nothing exercises step 2e reading it there.
  • Case 020's ruling can be reached without the question. The question's evidence is the reporter's log lines, so a run that re-checks issue data can rule authgw out on its own. The case still catches a run that carries run 1's state and ignores the question.
  • Phrase groups are substring checks. A paraphrase that avoids every listed phrase passes the judge. The rubric grades meaning.

Testing

  • bash eval/scripts/cause-lists-test.sh: all tests pass (39 judge tests, plus the fixture guards and compose checks for 013-021). Changing the fixture's condensed count line, or renaming a seeded heading, makes the guards report by name.
  • bash eval/scripts/setup-fixture-test.sh: 14 tests, 0 failures
  • bash eval/lint-cases.sh triage: OK
  • uv run --with pyyaml python eval/lint-release-cases.py: OK
  • pre-commit run --from-ref 9ab6317a --to-ref HEAD: passed. gitlint and the DCO sign-off check pass on the commit message.
  • No live eval run: eval/run-functional.sh has no dry mode and creates real fixture repos at model cost.

tpouyer and others added 14 commits November 17, 2026 16:07
A sufficient result now lists triage_summary.open_causes and ruled_out,
each {cause, evidence, verified}. The post-script lists both under the
comment and stores the same state for the next run: a hidden
<!-- triage-state-v1:<base64> --> marker on GitHub and GitLab, the
comment property fullsend.triage-state on Jira. The readable lists are
condensed to fit the 4000-character cap; the stored state keeps every
entry. The marker is outside fullsend's "<!-- fullsend:" namespace
because fullsend post-comment escapes those in the body it posts.

Step 2e replaces the accumulate/superset rules with a procedure: find
the trusted triage comments, start from the newest state, rebuild once
from legacy comments as unverified claims, and carry causes forward only
on evidence that holds now. The forge skills gain the author and editor
lookups the trust rules need, and env/github/triage.env passes
FULLSEND_APP_SET into the sandbox.

Fixes fullsend-ai#2042

BREAKING CHANGE: a `sufficient` triage result must now include
`triage_summary.open_causes` (non-empty) and `triage_summary.ruled_out`;
the output schema rejects one without them. A harness or overlay that
replaces `agents/triage.md` with its own prompt must have the agent emit
both lists, each entry `{cause, evidence, verified}`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
setup-fixture.sh seeds fixture.comments on GitHub issue fixtures, oldest
first. Cases 013-017 cover re-triage: 013 and 016 seed comments with a
triage-state-v1 marker, 014 legacy prose-only analyses, 015 a forged
analysis with a forged state, 017 a forged plain-prose ruling. The eval
account is not a triage bot, so every seeded comment is untrusted and
the cases exercise the rebuild path (fullsend-ai#2043 tracks a bot-authored
baseline).

The report-only cause_lists judge decodes the run's own marker and
matches cause phrases and verified expectations against it. Case 007
expects the reporter's cause as the open cause.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Step 2e reads a trusted comment newer than the baseline without a state
as claims, and docs/triage.md says when that happens on Jira (ADR 0106's
coalescing isn't in place yet).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
…ent exactly

The 4000-character cap now applies to everything posted except the
hidden marker, footers included: the lists shrink first (down to open
cause names cut to 80 characters), then the agent's comment is cut with
a note. The stored state stays under 30000 bytes for Jira's property
limit.

The Jira comment pick parses Jira's "+0000" form and RFC 3339 "Z" and
"+00:00" at full precision in UTC, breaks ties by the highest comment
id, and fails on a timestamp it cannot parse instead of dropping the
comment. Its comment cites where fullsend v0.56.1-rc.1, v0.56.1 and
fullsend-ai/fullsend#9399 set the fullsend.sticky-marker property.

Step 2e says a GitHub User never counts whatever its login, and the
sufficient rules say how to fold more than 10 open causes into one
unverified entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
…a state

Over the 30000-byte state cap the post-script now empties ruled-out
evidence, then open evidence, then cuts cause text by whole characters,
and fails before anything is written if the names alone do not fit. It
no longer drops ruled-out causes, which a later run could revive.

On Jira the post-script deletes the fullsend.triage-state property from
the account's own triage comments before posting. Before
fullsend-ai/fullsend#9399 the post edits that comment in place, so a run
cancelled before the property write, or one with no state, no longer
leaves the previous state on new text.

The prompt keeps the agent's comment under 2500 characters so the lists
and footers fit the 4000-character limit, names an "Other open
candidates" entry for more than 10 open causes, and says a trusted state
is still claims. The docs record that a Jira admin can set the property
without editing the comment. The Jira skill shows comment paging, and the
GitHub skill cites where the GraphQL editor login was observed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
…footers literally

A state that cannot be stored now fails the run with an explicit error
before the issue is touched, and the other new command substitutions in
the post path and the Jira lookups check their status. Causes the state
cannot keep are reported as a warning, and the schema rejects
whitespace-only names.

The agent's comment and the footers are split by length, so glob
characters in the comment cannot move the lists. The neutralizer
escapes marker variants with extra dashes, any case or spacing, and step
2e accepts only the exact form the post-script writes. Footers other
than Next steps are held to 1000 characters and cut at a line end, so
Next steps is always posted whole.

On Jira the state is cleared only from the comment an edit in place
would rewrite (the oldest own marked comment, as fullsend v0.56.1-rc.1
lists and picks it). If the post created a new comment
(fullsend-ai/fullsend#9399), the cleared state is put back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
The Jira flow is now: post the comment, then set fullsend.triage-state
on the newest-updated own triage-agent comment, keeping the UTC
timestamp parsing, the id tie-break, the all-pages listing and the
fail-closed paths. The clear-before-post and restore logic is removed.

The residual is documented: before fullsend-ai/fullsend#9399 fullsend
edits the comment in place, so a run cancelled after the edit but before
the property write leaves the previous run's state on the new text. The
next run starts from that older state, and step 2e re-checks every
carried cause and reads newer trusted text as claims, so the difference
is caught. After #9399 each run posts a new comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
The Jira comment listing collected every page in a shell variable and
passed it to jq as an argument, which overflows the argument size limit
on a long issue. Pages now go to a temporary file that jq reads.

The GitLab forge skill shows how to page through every note, matching
step 2e's "all pages", and the warning for a result with no named open
cause now says that instead of reporting dropped causes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
…ndex

In jq 1.6, string rindex returns a byte offset while slices count
characters, so on non-ASCII text the comment cut and the Next steps split
could land in the wrong place. fullsend's default runner ships jq 1.7.1,
but runner_image can be overridden and GitLab runners bring their own jq.
A last_at helper now splits on the delimiter and counts characters, which
behaves the same on jq 1.6, 1.7 and 1.8. A test puts multibyte text
before both split points.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
…ra without total

Step 2e now also reads the baseline comment's own current text: a cause
it names that the state lacks, or a ruling the state contradicts, is a
claim to check. That is what catches a cancelled pre-#9399 Jira run whose
property still holds the previous state, and the docs say so.

The schema rejects whitespace-only evidence. A triage_summary that is
not an object is treated as no state instead of aborting the post. Jira
paging no longer stops on a page without "total": it stops on an empty
page, at total when given, or on a page shorter than its maxResults, and
fails past 100 pages. TRIAGE_STATE_MAX_BYTES is read in base 10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
…tice

When the agent's comment is cut inside a fenced code block (``` or ~~~),
the block stayed open and the cause lists after it rendered as code. The
cut now closes it before the cut note, with room reserved within the
cap. Trimming the other footers cuts the label and component reasons
before the "Not applied in Jira" notice, which is kept whole where it
fits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Four GitHub re-triage cases for fullsend-ai#2043, graded by the cause_lists judge on
the run's decoded triage-state-v1 marker:

- 018: a comment's evidence, which holds in the code, revives a ruled-out
  cause; its bare claim about another ruling does not.
- 019: run 2's readable lists count the six oldest of fifteen rulings in
  one line, as triage_state_compose condenses them; every ruling must
  stay in ruled_out.
- 020: an unmarked triage question rules out a cause from run 1's state;
  the next analysis must rule it out.
- 021: a legacy comment's Previous run fold holds a cause found nowhere
  else; it must be carried open with verified false.

cause-lists-test.sh guards each case's comments, states and own repo copy
and checks a correct answer and the regression for each. The README
records why the trusted-baseline, GitLab and Jira paths have no case.

Part of fullsend-ai#2043.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Review of the structured-state re-triage cases (fullsend-ai#2043):

- Case 019's run 2 analysis is long enough that the real
  triage_state_compose condenses its lists (evidence dropped, the six
  oldest rulings counted in one line); the seeded comments of 018-020
  are its output, and cause-lists-test.sh checks each against it.
- New forbidden_ruled_out judge key: phrases no ruled_out name may
  match. Case 021 uses it for authgw and case 018 for the revived
  apostrophe cause, so a cause in both lists fails. 019 and 021 also
  require the ValueError cause verified.
- Case 021 cites fullsend v0.56.1-rc.1 for the fold shape and says what
  BuildUpdatedBody does: it cuts the comment's own leading marker and
  escapes any other.
- The 019 guard reports each of its checks by name instead of crashing
  on drift; the test header covers 013-021; the guards name the shared
  python-webapp repo and reuse one set of fixture helpers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
… a re-quoted pattern

forbidden_ruled_out gets tests for its AND-group rule (a ruled-out name
matching every phrase of a group fails; one matching only some passes),
and its failure says the cause should not be ruled out instead of a
reason that is wrong for case 018. The 018 and 019 guards report a
validators.py whose pattern is no longer written pattern = r"..." by
name instead of crashing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 5:11 AM UTC · Completed 5:23 AM UTC

Commit: 77a0419 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $4.03

@fullsend-ai-review fullsend-ai-review Bot added the risk/elevated PR risk: elevated label Nov 18, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a large 55-file diff touching 13 protected paths and CI workflows, high git churn and regression history in core triage scripts, and scope mismatch from being stacked on prerequisite PR #2079.

Previous run

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a large 55-file diff touching 13 protected paths and CI workflows, high git churn and regression history in core triage scripts, and scope mismatch from being stacked on prerequisite PR #2079.

Previous run (2)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a large 55-file diff touching 13 protected paths and CI workflows, high git churn and regression history in core triage scripts, and scope mismatch from being stacked on prerequisite PR #2079.

Previous run (3)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a large 55-file diff touching 13 protected paths and CI workflows, moderate-to-high git churn and regression history in core triage scripts, and scope mismatch from being stacked on prerequisite PR #2079.

Previous run (4)

Risk Assessment: elevated (3/5)

Details

Elevated risk driven by a large 55-file diff touching 13 protected paths and CI workflows, moderate-to-high git churn and regression history in core triage scripts, and scope mismatch from being stacked on prerequisite PR #2079.

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Review

Findings

Medium

  • [protected-path] scripts/lib/triage-state.lib.sh — This PR modifies protected governance/infrastructure paths: agents/triage.md, scripts/harness-jira-test.sh, scripts/lib/jira-triage-ops.lib.sh, scripts/lib/triage-state.lib.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/post-triage.src.sh, scripts/pre-code-jira.sh, scripts/pre-triage.sh, scripts/validate-output-schema-test.sh, skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md. The PR links eval(triage): cover reviving, folding and non-GitHub paths of the carried cause lists #2043 and explains its rationale, but human approval is always required for protected-path changes, regardless of context.
    Remediation: A human reviewer with authority over these paths must approve the change.

Low

  • [breaking-schema] schemas/triage-result.schema.json:143 — The sufficient branch of the schema now requires clarity_scores and triage_summary, and triage_summary must carry open_causes (at least 1 item) and ruled_out. Existing producers or consumers of action: sufficient results that omit these fields will fail validation. The diff shows no schema version bump or deprecation path.
    Remediation: Confirm that no other repository emits sufficient results without these fields, or stage the requirement in gradually.

  • [backward-incompatible] scripts/lib/jira-triage-ops.lib.sh:374 — _jira_own_marked_comments and tracker_store_triage_state depend on fullsend issues post-comment setting the fullsend.sticky-marker comment property (v0.56.1 and fix(#9334)!: post every agent result as a new comment fullsend#9399 behave differently). When no matching marked comment is found, tracker_store_triage_state (line 451) returns 1, so a CLI that does not set the property, or a Jira comment-property API error, fails the Jira sufficient post step. The comment selection is tied to an unpinned cross-repo CLI contract.

Earlier findings

  • scripts/lib/triage-state.lib.sh:88, logic-error, resolved: shrinking an over-cap state no longer empties the evidence of the Other open candidates entry (.open_causes |= map(if .cause == "Other open candidates" then . else .evidence = "" end)), in the library and its bundled copy in scripts/post-triage.sh. scripts/post-triage-test.sh adds the state-other-candidates-evidence-kept regression test.
Previous run

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJtZWRpdW0iLCJjYXRlZ29yeSI6ImxvZ2ljLWVycm9yIiwiZmlsZSI6InNjcmlwdHMvbGliL3RyaWFnZS1zdGF0ZS5saWIuc2giLCJpZCI6ImZfNjkyMjdlMDkyOTIwYmU1YyIsImxpbmUiOjg4LCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJjb3JyZWN0bmVzcyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImJyZWFraW5nLXNjaGVtYSIsImZpbGUiOiJzY2hlbWFzL3RyaWFnZS1yZXN1bHQuc2NoZW1hLmpzb24iLCJpZCI6ImZfZjc0YmYxNzY4MDdlMGY3YiIsImxpbmUiOjE0MywiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImNyb3NzLXJlcG8tY29udHJhY3RzIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoiYmFja3dhcmQtaW5jb21wYXRpYmxlIiwiZmlsZSI6InNjcmlwdHMvbGliL2ppcmEtdHJpYWdlLW9wcy5saWIuc2giLCJpZCI6ImZfNjgzODJjM2Q4NzFiYTk4YSIsImxpbmUiOjQ1MSwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImNyb3NzLXJlcG8tY29udHJhY3RzIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoiYmFja3dhcmQtaW5jb21wYXRpYmxlIiwiZmlsZSI6InNjcmlwdHMvbGliL2ppcmEtdHJpYWdlLW9wcy5saWIuc2giLCJpZCI6ImZfNDViZjIwOWRlMDU5MmMyZiIsImxpbmUiOjM3NCwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImNyb3NzLXJlcG8tY29udHJhY3RzIn0seyJzZXZlcml0eSI6ImluZm8iLCJjYXRlZ29yeSI6InNjb3BlLWJ1bmRsaW5nIiwiZmlsZSI6InNjaGVtYXMvdHJpYWdlLXJlc3VsdC5zY2hlbWEuanNvbiIsImlkIjoiZl9kNDc3YmJkM2Q3Mjk2NmEyIiwibGluZSI6MTQ3LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoiaW50ZW50LWNvaGVyZW5jZSJ9LHsic2V2ZXJpdHkiOiJtZWRpdW0iLCJjYXRlZ29yeSI6ImxvZ2ljLWVycm9yIiwiZmlsZSI6InNjcmlwdHMvbGliL3RyaWFnZS1zdGF0ZS5saWIuc2giLCJpZCI6ImZfZGUxZTBjYTQwYzE0YjE2NiIsImxpbmUiOjE0OCwiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZW5zaW9uIjoiY29ycmVjdG5lc3MifV0sImRpc3Bvc2l0aW9ucyI6W3siaWQiOiJmX2Y3NGJmMTc2ODA3ZTBmN2IiLCJzdGF0dXMiOiJvcGVuIn0seyJpZCI6ImZfNjgzODJjM2Q4NzFiYTk4YSIsInN0YXR1cyI6Im9wZW4ifSx7ImlkIjoiZl80NWJmMjA5ZGUwNTkyYzJmIiwic3RhdHVzIjoib3BlbiJ9LHsiaWQiOiJmX2Q0NzdiYmQzZDcyOTY2YTIiLCJzdGF0dXMiOiJvcGVuIn0seyJpZCI6ImZfZGUxZTBjYTQwYzE0YjE2NiIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9XX0= -->

Review

Findings

Medium

  • [logic-error] scripts/lib/triage-state.lib.sh:88 — When the stored state is over the cap, triage_state_json clears every open cause's evidence (.open_causes |= map(.evidence = "")). agents/triage.md tells the agent to put overflow candidates (beyond 9) into one "Other open candidates" entry and name each in its evidence. A large non-ASCII state that reaches this branch therefore loses those candidate names from both the stored state and the rendered lists, which contradicts the function's own "never drops a cause" contract. The next trusted-baseline run cannot recover them. Reaching it at the default cap needs mostly non-ASCII text near the field limits (an edge case), but the loss is silent.
    Remediation: Keep or cut-by-name the evidence of the aggregated "Other open candidates" entry when shrinking the state, or fail before publishing if it cannot fit. Add a regression test combining an "Other open candidates" entry with a non-ASCII state over the default escaped-JSON cap.
  • [protected-path] agents/triage.md — This PR modifies protected governance/infrastructure paths: agents/triage.md, scripts/harness-jira-test.sh, scripts/lib/jira-triage-ops.lib.sh, scripts/lib/triage-state.lib.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/post-triage.src.sh, scripts/pre-code-jira.sh, scripts/pre-triage.sh, scripts/validate-output-schema-test.sh, skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md. The PR links eval(triage): cover reviving, folding and non-GitHub paths of the carried cause lists #2043 and is stacked on fix(triage)!: carry causes as structured state across re-triage runs #2079 (dependency scoping was not applied: fix(triage)!: carry causes as structured state across re-triage runs #2079 is open and not approved, so the full diff was reviewed). Human approval is always required for protected-path changes, regardless of context.

Low

  • [breaking-schema] schemas/triage-result.schema.json:143 — The base schema already requires triage_summary for action: sufficient. This PR also requires triage_summary.open_causes (minItems 1) and triage_summary.ruled_out. Results that were valid before (a summary without cause lists, such as older fixtures or third-party agent output) now fail harness validation.
    Remediation: Confirm every producer and consumer, including other repos pinning this schema, moves in lockstep; otherwise relax the requirement for one release.
  • [backward-incompatible] scripts/lib/jira-triage-ops.lib.sh:451 — tracker_store_triage_state fails the run after the comment is posted if the Jira triage account lacks "Edit own comments" or, for a scoped token, the write:comment.property:jira scope. Existing Jira deployments with neither will start failing. This is documented in docs/triage.md and the error message now names the scope.
    Remediation: Release-note the new permission and scope requirement; optionally make the property write non-fatal.
  • [backward-incompatible] scripts/lib/jira-triage-ops.lib.sh:374 — _jira_own_marked_comments lists comments with expand=properties, which needs read:comment.property:jira or read:jira-work for scoped tokens. Without it no marked comment comes back, and the post-script's store step fails with "no comment by this account carries ". The docs now mention the scope.
    Remediation: Release-note the scope requirement.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (2)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJicmVha2luZy1zY2hlbWEiLCJmaWxlIjoic2NoZW1hcy90cmlhZ2UtcmVzdWx0LnNjaGVtYS5qc29uIiwiaWQiOiJmX2Y3NGJmMTc2ODA3ZTBmN2IiLCJsaW5lIjoxNDMsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJjcm9zcy1yZXBvLWNvbnRyYWN0cyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImJhY2t3YXJkLWluY29tcGF0aWJsZSIsImZpbGUiOiJzY3JpcHRzL2xpYi9qaXJhLXRyaWFnZS1vcHMubGliLnNoIiwiaWQiOiJmXzY4MzgyYzNkODcxYmE5OGEiLCJsaW5lIjo0NTEsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJjcm9zcy1yZXBvLWNvbnRyYWN0cyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImJhY2t3YXJkLWluY29tcGF0aWJsZSIsImZpbGUiOiJzY3JpcHRzL2xpYi9qaXJhLXRyaWFnZS1vcHMubGliLnNoIiwiaWQiOiJmXzQ1YmYyMDlkZTA1OTJjMmYiLCJsaW5lIjozNzQsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJjcm9zcy1yZXBvLWNvbnRyYWN0cyJ9LHsic2V2ZXJpdHkiOiJpbmZvIiwiY2F0ZWdvcnkiOiJzY29wZS1idW5kbGluZyIsImZpbGUiOiJzY2hlbWFzL3RyaWFnZS1yZXN1bHQuc2NoZW1hLmpzb24iLCJpZCI6ImZfZDQ3N2JiZDNkNzI5NjZhMiIsImxpbmUiOjE0NywiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImludGVudC1jb2hlcmVuY2UifSx7InNldmVyaXR5IjoibWVkaXVtIiwiY2F0ZWdvcnkiOiJsb2dpYy1lcnJvciIsImZpbGUiOiJzY3JpcHRzL2xpYi90cmlhZ2Utc3RhdGUubGliLnNoIiwiaWQiOiJmX2RlMWUwY2E0MGMxNGIxNjYiLCJsaW5lIjoxNDgsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImNvcnJlY3RuZXNzIn1dLCJkaXNwb3NpdGlvbnMiOlt7ImlkIjoiZl9mNzRiZjE3NjgwN2UwZjdiIiwic3RhdHVzIjoib3BlbiJ9LHsiaWQiOiJmXzY4MzgyYzNkODcxYmE5OGEiLCJzdGF0dXMiOiJvcGVuIn0seyJpZCI6ImZfZDQ3N2JiZDNkNzI5NjZhMiIsInN0YXR1cyI6Im9wZW4ifSx7ImlkIjoiZl80NWJmMjA5ZGUwNTkyYzJmIiwic3RhdHVzIjoib3BlbiJ9LHsiaWQiOiJmX2RlMWUwY2E0MGMxNGIxNjYiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifV19 -->

Review

Findings

Medium

  • [protected-path] scripts/post-triage.sh — The PR modifies 13 files under protected paths: agents/triage.md; scripts/harness-jira-test.sh, scripts/lib/jira-triage-ops.lib.sh, scripts/lib/triage-state.lib.sh, scripts/post-triage-test.sh, scripts/post-triage.sh, scripts/post-triage.src.sh, scripts/pre-code-jira.sh, scripts/pre-triage.sh, scripts/validate-output-schema-test.sh; skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md. The PR body links eval(triage): cover reviving, folding and non-GitHub paths of the carried cause lists #2043 and explains the change, but human approval is always required for protected-path changes regardless of context. The PR says it is stacked on fix(triage)!: carry causes as structured state across re-triage runs #2079 (only commits after 9ab6317 to be reviewed). Dependency scoping did not apply, so this review covered the full diff against main.
    Remediation: A human maintainer with authority over governance and infrastructure paths must review and approve these files.

Low

  • [breaking-schema] schemas/triage-result.schema.json:143 — Carried forward, unchanged since the prior review. For action: sufficient, the schema now requires triage_summary.open_causes (minItems 1) and triage_summary.ruled_out. A harness or overlay prompt that emits sufficient results without both lists will fail validation. The commit message declares this as a BREAKING CHANGE.
  • [backward-incompatible] scripts/lib/jira-triage-ops.lib.sh:451 — Carried forward, unchanged since the prior review. tracker_store_triage_state finds the comment it just posted by listing own-marked comments and picking the most recently updated one. This depends on the pinned fullsend CLI's post-comment behaviour (edit in place before fix(#9334)!: post every agent result as a new comment fullsend#9399, a new comment after it). A fullsend version with different behaviour could make the Jira state storage fail.
  • [backward-incompatible] scripts/lib/jira-triage-ops.lib.sh:374 — Carried forward, unchanged since the prior review. _jira_own_marked_comments relies on the fullsend.sticky-marker comment property that fullsend issues post-comment sets (v0.56.1-rc.1 and v0.56.1). A fullsend version or consumer that does not set this property would not have its own comments detected.
Previous run (3)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJicmVha2luZy1zY2hlbWEiLCJmaWxlIjoic2NoZW1hcy90cmlhZ2UtcmVzdWx0LnNjaGVtYS5qc29uIiwiaWQiOiJmX2Y3NGJmMTc2ODA3ZTBmN2IiLCJsaW5lIjoxNDMsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJjcm9zcy1yZXBvLWNvbnRyYWN0cyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImJhY2t3YXJkLWluY29tcGF0aWJsZSIsImZpbGUiOiJzY3JpcHRzL2xpYi9qaXJhLXRyaWFnZS1vcHMubGliLnNoIiwiaWQiOiJmXzY4MzgyYzNkODcxYmE5OGEiLCJsaW5lIjo0NTEsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJjcm9zcy1yZXBvLWNvbnRyYWN0cyJ9LHsic2V2ZXJpdHkiOiJpbmZvIiwiY2F0ZWdvcnkiOiJzY29wZS1idW5kbGluZyIsImZpbGUiOiJzY2hlbWFzL3RyaWFnZS1yZXN1bHQuc2NoZW1hLmpzb24iLCJpZCI6ImZfZDQ3N2JiZDNkNzI5NjZhMiIsImxpbmUiOjE0NywiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImludGVudC1jb2hlcmVuY2UifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJiYWNrd2FyZC1pbmNvbXBhdGlibGUiLCJmaWxlIjoic2NyaXB0cy9saWIvamlyYS10cmlhZ2Utb3BzLmxpYi5zaCIsImlkIjoiZl80NWJmMjA5ZGUwNTkyYzJmIiwibGluZSI6Mzc0LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoiY3Jvc3MtcmVwby1jb250cmFjdHMifSx7InNldmVyaXR5IjoibWVkaXVtIiwiY2F0ZWdvcnkiOiJsb2dpYy1lcnJvciIsImZpbGUiOiJzY3JpcHRzL2xpYi90cmlhZ2Utc3RhdGUubGliLnNoIiwiaWQiOiJmX2RlMWUwY2E0MGMxNGIxNjYiLCJsaW5lIjoxNDgsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImNvcnJlY3RuZXNzIn1dLCJkaXNwb3NpdGlvbnMiOlt7ImlkIjoiZl9kZTFlMGNhNDBjMTRiMTY2Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfZjc0YmYxNzY4MDdlMGY3YiIsInN0YXR1cyI6InJlY2xhc3NpZmllZCJ9LHsiaWQiOiJmX2Q0NzdiYmQzZDcyOTY2YTIiLCJzdGF0dXMiOiJyZWNsYXNzaWZpZWQifSx7ImlkIjoiZl80NWJmMjA5ZGUwNTkyYzJmIiwic3RhdHVzIjoib3BlbiJ9XX0= -->

Review

Findings

Medium

  • [protected-path] scripts/post-triage.sh — This PR modifies protected paths: agents/triage.md, scripts/lib/triage-state.lib.sh, scripts/lib/jira-triage-ops.lib.sh, scripts/post-triage.sh, scripts/post-triage.src.sh, scripts/pre-triage.sh, scripts/pre-code-jira.sh, scripts/post-triage-test.sh and other scripts/ files, and skills/github-forge/SKILL.md, skills/gitlab-forge/SKILL.md, skills/jira-forge/SKILL.md. The PR links issue eval(triage): cover reviving, folding and non-GitHub paths of the carried cause lists #2043 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Low

  • [breaking-schema] schemas/triage-result.schema.json:143 — A sufficient triage result must now include triage_summary.open_causes (at least one entry) and triage_summary.ruled_out, each entry {cause, evidence, verified}. A producer that omits them fails validation. The default harness is not exposed, because agents/triage.md and the schema change together. Custom harnesses that replace agent: with their own prompt are exposed. This change comes from the stacked fix(triage)!: carry causes as structured state across re-triage runs #2079.
    Remediation: Note the new required fields in the release notes so custom triage prompts can be updated.
  • [backward-incompatible] scripts/lib/jira-triage-ops.lib.sh:451 — On Jira, tracker_store_triage_state now fails the run when it cannot list the marked comments, find the comment, or PUT the fullsend.triage-state property. Deployments whose Jira account lacks the "Edit own comments" permission previously posted triage comments successfully and will now fail.
    Remediation: Document the permission requirement, and consider whether a state-store failure after a successful comment post should fail the run.

Earlier findings

  • scripts/lib/triage-state.lib.sh:148, logic-error: resolved. triage_state_compose now tests closing fences against the opening fence (line 157) and closes an unclosed agent fence before appending the cause lists (lines 180–181). Regression tests cover both cases.
  • schemas/triage-result.schema.json:143, breaking-schema: reclassified from medium to low. The prompt and schema ship together in the default harness, so only custom prompts are exposed.
  • schemas/triage-result.schema.json:147, scope-bundling: reclassified from low to info. The PR body discloses the stacking on fix(triage)!: carry causes as structured state across re-triage runs #2079, and the PR is a draft.

1 finding(s) below the low severity threshold were not posted.

Previous run (4)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJtZWRpdW0iLCJjYXRlZ29yeSI6ImxvZ2ljLWVycm9yIiwiZmlsZSI6InNjcmlwdHMvbGliL3RyaWFnZS1zdGF0ZS5saWIuc2giLCJpZCI6ImZfZGUxZTBjYTQwYzE0YjE2NiIsImxpbmUiOjE0OCwiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZW5zaW9uIjoiY29ycmVjdG5lc3MifSx7InNldmVyaXR5IjoibWVkaXVtIiwiY2F0ZWdvcnkiOiJicmVha2luZy1zY2hlbWEiLCJmaWxlIjoic2NoZW1hcy90cmlhZ2UtcmVzdWx0LnNjaGVtYS5qc29uIiwiaWQiOiJmX2Y3NGJmMTc2ODA3ZTBmN2IiLCJsaW5lIjoxNDMsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJjcm9zcy1yZXBvLWNvbnRyYWN0cyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6InNjb3BlLWJ1bmRsaW5nIiwiZmlsZSI6InNjaGVtYXMvdHJpYWdlLXJlc3VsdC5zY2hlbWEuanNvbiIsImlkIjoiZl9kNDc3YmJkM2Q3Mjk2NmEyIiwibGluZSI6MTQ3LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoiaW50ZW50LWNvaGVyZW5jZSJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImJhY2t3YXJkLWluY29tcGF0aWJsZSIsImZpbGUiOiJzY3JpcHRzL2xpYi9qaXJhLXRyaWFnZS1vcHMubGliLnNoIiwiaWQiOiJmXzQ1YmYyMDlkZTA1OTJjMmYiLCJsaW5lIjozNzQsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJjcm9zcy1yZXBvLWNvbnRyYWN0cyJ9XX0= -->

Review

Findings

Medium

  • [logic-error] scripts/lib/triage-state.lib.sh:148 — The fence-closing filter evaluates .[0:1] and length against the current line ($l) instead of the accumulated opening fence. On a truncated fenced block, a line such as [ builds an invalid regex and jq exits 5, so the post-script exits without posting the comment or state, after labels were already changed. Repeated characters (aaa) are mistaken for a closing fence, and indented closing fences do not match. Same code in bundled scripts/post-triage.sh.
    Remediation: Capture the opening fence in a variable before piping $l into test, build the closing-fence regex only from that variable, add regression tests (regex-metacharacter lines, indented or trailing-space closing fences), and regenerate the bundle with make script-build.
  • [breaking-schema] schemas/triage-result.schema.json:143 — The sufficient branch now requires open_causes (minItems 1) and ruled_out; producers without them (custom or pinned triage prompts) fail validation. This is stacked fix(triage)!: carry causes as structured state across re-triage runs #2079's ! change, but the PR title test(eval): ... has no !, so a squash merge or out-of-order landing would reach main without the marker or BREAKING CHANGE: trailer (AGENTS.md §4).
    Remediation: Land fix(triage)!: carry causes as structured state across re-triage runs #2079 first (or retarget the base onto it) and carry the ! and trailer on the merge commit; otherwise make the fields optional for a deprecation window.
  • [protected-path] agents/triage.md — Protected paths are modified: agents/triage.md, scripts/post-triage.sh, scripts/post-triage.src.sh, scripts/pre-triage.sh, scripts/pre-code-jira.sh, scripts/lib/triage-state.lib.sh, scripts/lib/jira-triage-ops.lib.sh, scripts/harness-jira-test.sh, scripts/post-triage-test.sh, scripts/validate-output-schema-test.sh, and the three skills/*-forge/SKILL.md. The PR links eval(triage): cover reviving, folding and non-GitHub paths of the carried cause lists #2043 and explains its rationale, but most of these changes come from stacked fix(triage)!: carry causes as structured state across re-triage runs #2079. Human approval is always required for protected-path changes.

Low


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

fullsend-ai-review[bot]

This comment was marked as outdated.

tpouyer and others added 4 commits November 18, 2026 04:36
- open_fence compared each line with itself, not with the fence that
  opened the block, so a blank line ended the block and a line starting
  with a regex character broke the pattern. It now compares with the
  saved fence.
- A comment that fit but left a code block open was posted as is, so
  the lists, footers and state marker rendered as code. The block is
  now closed before the lists.
- A <details> block whose <summary> starts with "Previous run" in the
  agent's comment or a cause made the next run take the text above the
  state marker for a history fold and drop the state. Both are escaped.
- The sufficient gate reads of triage_summary are strict again, as on
  main, so a summary that is not an object fails the run instead of
  falling back to defaults that could apply ready-to-code.
- docs/triage.md: the Jira triage account needs "Edit own comments" to
  set the state property, and /myself takes read:jira-user or all four
  granular scopes. The property-write error names the permission.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
The earlier escape matched only <details> directly followed by a
<summary> starting with "Previous run", so a summary behind an element,
inline tags or &nbsp; slipped through. Escaping every <details would
break the post-script's own prerequisite and split blocks, so the
pattern now escapes the <summary> opener whose text starts with
"Previous run" after whitespace, &nbsp; or inline tags, which is what
makes a block a fold to step 2e. It is defined once,
TRIAGE_STATE_FOLD_RE, and passed to both jq programs.

docs/triage.md: the granular /myself scopes are Beta at Atlassian, and
the Jira state paragraph is split where it ran on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
…s between the words

The fold escape allowed whitespace, &nbsp; and inline tags only before
the text, so "Previous&nbsp;run", "Previous <b>run</b>" or a numeric
entity slipped through. The same separators, plus a hyphen, are now
allowed between the words, and numeric entities count everywhere. The
test covers those spellings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
* triage-state-v1:
  fix(triage): match "Previous run" fold summaries with entities or tags between the words
  fix(triage): escape a fold by its "Previous run" summary, in one pattern
  fix(triage): close an open code block, escape fake history folds
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 10:42 AM UTC · Completed 11:01 AM UTC

Commit: 66e3d30 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $3.85

@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 18, 2026 11:01

Superseded by updated review

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added the requires-manual-review Review requires human judgment label Nov 18, 2026
tpouyer and others added 2 commits November 18, 2026 13:50
- On the comment that carries the triage state, every <summary> opener
  in the agent's comment, the cause lists and the footers is escaped, so
  no spelling of a "Previous run" fold (an entity or tag inside a word
  included) can sit above the state marker. Matching each spelling was
  whack-a-mole. None of that text holds a <details> block of the
  post-script's own; neutralize, used off the state path, keeps
  escaping only fold summaries, so prerequisite and split blocks still
  render.
- The lib and test comments said jq 1.6 returns byte offsets from
  rindex. jq before 1.8.0, 1.7.1 (the default runner image) included,
  does (jq #3065).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
* triage-state-v1:
  fix(triage): escape every summary on the state comment; fix jq range
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 7:12 PM UTC · Completed 7:23 PM UTC

Commit: a0c1160 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.94

fullsend-ai-review[bot]

This comment was marked as outdated.

tpouyer and others added 3 commits November 18, 2026 22:48
- Atlassian documents the comment-property limit as 32768 characters,
  not bytes. The state is now measured as JSON with every non-ASCII
  character escaped (\uXXXX, a surrogate pair outside the BMP), which is
  never shorter than its character count, and kept under 30000, so it
  fits whether Jira counts the characters sent or an escaped
  serialisation. The cap is renamed TRIAGE_STATE_MAX_CHARS. The multibyte
  worst-case test now checks the escaped length, and the names are cut
  by whole characters with every cause kept.
- docs/triage.md lists the OAuth scopes the property write and the
  expand=properties read need (write:jira-work / write:comment.property:jira,
  read:jira-work / read:comment.property:jira), next to the "Edit own
  comments" permission, and the write's error message names the scope.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
…tests by characters

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
* triage-state-v1:
  test(triage): check the escaped length in the cut test; name the cap tests by characters
  fix(triage): measure the Jira state cap on escaped JSON; list the scopes
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 4:25 AM UTC · Completed 4:39 AM UTC

Commit: c29afc5 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $3.30

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot removed the requires-manual-review Review requires human judgment label Nov 19, 2026
tpouyer and others added 2 commits November 19, 2026 08:15
…rinking

agents/triage.md has the agent fold causes past the ninth into one "Other
open candidates" entry that names them in its evidence. Shrinking an
over-cap state emptied every open cause's evidence, so a large non-ASCII
state silently lost those names, against the "never drops a cause"
contract. That entry's evidence is now kept whole; the run still fails
before posting if the state cannot fit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
* triage-state-v1:
  fix(triage): never empty the "Other open candidates" evidence when shrinking
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 1:18 PM UTC · Completed 1:29 PM UTC

Commit: b961786 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.87

@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 19, 2026 13:29

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the review comment for full details.

Comment thread schemas/triage-result.schema.json Resolved
Comment thread scripts/lib/jira-triage-ops.lib.sh Resolved
@fullsend-ai-review fullsend-ai-review Bot added the requires-manual-review Review requires human judgment label Nov 19, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

requires-manual-review Review requires human judgment risk/elevated PR risk: elevated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

eval(triage): cover reviving, folding and non-GitHub paths of the carried cause lists

1 participant