Skip to content

test(eval): cover reviving, size folds, question refutations and fold-only causes - #2062

Closed
tpouyer wants to merge 100 commits into
fullsend-ai:mainfrom
tpouyer:triage-eval-carry
Closed

tpouyer wants to merge 100 commits into
fullsend-ai:mainfrom
tpouyer:triage-eval-carry

Conversation

@tpouyer

@tpouyer tpouyer commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Part of #2043. Adds triage eval cases for the carried cause-list paths that can be seeded on GitHub today, and records why the remaining paths have no case yet.

Stacked on #2044. Review only the commits after fcf1107. The last commit is an ours merge that only records this branch's pre-rebase history so the push stayed a fast-forward; it changes no files.

This PR does not close #2043. The new cases and cases 007 and 013-017 still need live runs, and cause_lists gets a min_pass_rate only after those runs.

Changes

  • 018-retriage-revives-ruled-out: an earlier analysis wrongly rules out apostrophes. A comment cites the local-part class [a-zA-Z0-9._%+-] (it has no ') and the uncaught ValueError, which is evidence the code backs, so the cause must move back to Open causes. The same comment claims, with no evidence, that the '+' ruling is wrong. That ruling must stay, and a revival fails whether it is quoted, unquoted, bracketed, or named by another plus address. A cause that only contrasts plus addresses passes.
  • 019-retriage-folds-long-ruled-out: run 2 is about 3,800 characters and rules out fifteen causes. It already folds run 1's three into one line of names. The next analysis has to shorten or fold more entries, and all fifteen names must stay under Ruled out. Each of the fifteen also fails the case if it comes back in Open causes.
  • 020-retriage-refutation-in-question: an unmarked triage question rules out run 1's authgw cause, based on the reporter's via=direct log lines. The next full analysis must list authgw under Ruled out. No Open causes name may name authgw in any wording, 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-fold-only-cause: the only marked analysis holds a Previous run fold in the shape BuildUpdatedBody in fullsend's internal/sticky/sticky.go writes at the pinned c74c65fd47ff. The fold calls the authgw cause "confirmed", and nothing else on the issue names it. All comments come from the eval account, so there is no trusted baseline. Step 2e's rebuild (as of fcf1107) puts every cause an earlier analysis names, fold copies included, in Open causes ending (unverified) until the agent verifies it. So the next analysis must carry authgw in Open causes with the literal (unverified) marker. It fails if it drops authgw, lists it without the marker, or rules it out: nothing on the issue or in the code refutes it, and step 2e rules a cause out only on evidence that holds now.
  • cause_lists judge (eval/triage/eval.yaml):
    • Reads the size fold's line, now pinned in agents/triage.md as Also ruled out (see earlier analysis): a; b; c, as an item or a plain line, with a bold label or not, after a colon or a spaced dash. Each ;-separated name on it counts, cut at its evidence like a list item's, so a note after a dash cannot stand in for a dropped name. Any other prose under Ruled out counts for nothing, and Open causes still reads list items only.
    • forbidden_open cuts regex character classes (no spaces, with a range or an escape) from a name before matching, along with any quantifier after one (+, *, ?, {2,}), so a cause that quotes [a-zA-Z0-9._%+-]+@ or the fixture's whole pattern does not match a + phrase. [+] and markdown link text (a bracket followed by () are kept.
    • An unknown cause_lists key fails the check, so a typo cannot silently drop one. Every group list accepts a bare string as one phrase.
    • New forbidden_ruled_out key: AND-groups no Ruled out name may match. Case 021 uses it for authgw.
    • New unverified_open key: an Open causes item naming one of its groups passes only with the literal (unverified) marker, in its name or at its end (emphasis around it is ignored).
    • New seeded_folds key: a list of how many Previous run folds each seeded comment holds, in order. A seeded comment counts as this run's in-place edit only when it holds more than its own count. Without this, case 021's seeded text could be graded as the run's output.
  • eval/scripts/cause-lists-test.sh: each new case, and now cases 014 and 015, has tests showing a correct answer passes and the regression fails. Prose under Ruled out is tested not to satisfy a ruling. The in-place edit tests build sibling folds (Previous run, Previous run (2)) the way BuildUpdatedBody does. Every case's seeded_folds is checked against its fixture, alongside seeded_comments. Each new case has a drift guard that reads that case's own input.yaml, annotations.yaml and repo/ copy. Tests run each guard on a drifted copy and expect it to fail. For example, 018 checks the fixture's real pattern rejects o'brien@example.com and accepts a+b@example.com. 019 checks run 2 stays between 3,700 and 4,000 characters, that each ruled_out group matches exactly one seeded name, and that all fifteen rulings still hold in its code. 021 checks the fold matches sticky.go's history regex and that authgw appears only inside it.
  • Prompt (agents/triage.md): the size fold's line is pinned to one shape. (The fold-copy marker wording and the (unverified) ending on the rebuild path come from fix(triage): carry open and ruled-out causes across re-triage runs #2044.)
  • Docs: eval/README.md gets the new cause_lists keys and a "Re-triage coverage" section. docs/triage.md notes that cases 013-021 are GitHub-only. The eval.yaml threshold comment now names cases 007 and 013-021.

Trade-offs

  • No trusted baseline, planted comment, or edit-time case. setup-fixture.sh posts every seeded comment with GH_TOKEN, and the eval workflows (functional-tests.yml, functional-tests-nightly.yml) pass only EVAL_GH_TOKEN, a user token. No App credentials are available, so every case takes the no-trusted-baseline rebuild. Covering these paths would need:

    • a GitHub App named <EVAL_ORG>-triage (a name step 2e trusts), installed on EVAL_ORG, with its key as a secret;
    • a per-comment identity field on fixture.comments;
    • edits after creation, for the edit-time rules.

    The run's own post would still come from the eval account. This is recorded in eval/README.md.

  • No case requires recovering a cause the newest trusted analysis dropped. That depends on triage: pick the trusted prior analysis with a script, not a multi-API prompt procedure #2053's script. Case 021 takes the no-trusted-baseline rebuild, which must carry the fold's cause with the (unverified) marker. A hedged cause without the literal marker fails the judge, since step 2e writes that marker. The judge checks only items whose cause name mentions authgw or a gateway stripping the parameter; an assertion inside another cause's evidence is left to the rubric.

  • No GitLab or Jira cases. setup-fixture.sh creates GitHub repositories and fixtures only, with no GitLab or Jira fixture code to extend. Step 2e's read side on those trackers is not exercised. The posting side is covered by the mocked scripts/post-triage-test.sh.

  • Case 020 overlaps with re-checking issue data. The question's evidence is the reporter's log lines, so a run that re-checks issue data can reach the ruling without reading the question. The case still catches a run that reads only marked analyses and carries run 1's open list.

  • Case 019 does not enforce the length limit. The judge checks that every name survives the fold, not that the comment is under 4000 characters, because the captured body includes the post-script's footer. The rubric grades length.

  • The phrase lists are substring checks. A paraphrase that avoids every listed phrase (for example "an additive sign" for +) passes the judge. A correct cause that contrasts with a ruled-out one in the same name can also match a forbidden_open group and fail. The rubric grades meaning in both directions.

  • cause_lists stays report-only. These cases have not run live. eval/run-functional.sh has no dry or local mode, and a run creates real fixture repos and spends model budget. The threshold stays off until cases 007 and 013-021 have three live runs, matching the nightly vote.

Testing

  • bash eval/scripts/cause-lists-test.sh: 118 tests, 0 failures
  • 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 fcf1107 --to-ref HEAD: passed, including gitlint and the DCO check on each commit message
  • make script-test (bash 5): eval/scripts/cause-lists-test.sh and setup-fixture-test.sh pass. On my machine, 14 Jira cases in scripts/post-code-test.sh fail for local-environment reasons that are unrelated to this change. Two scribe redaction tests also fail locally (pre-scribe-test.sh, post-scribe-test.sh). This change touches no file under scripts/.
  • No live eval run, for the reasons under Trade-offs.

tpouyer and others added 30 commits November 14, 2026 16:31
The GitLab triage and prioritize doors found the bot's earlier note that
starts with the marker and edited it in place, folding the previous body
into a "Previous run" block. The newest result then sat above the
requests that asked for it. fullsend-ai/fullsend#9399 (still open) makes
the doors in that repo append a new comment per run; these two doors
live here.

tracker_post_sticky_comment (gitlab-triage-ops) and
forge_post_sticky_comment (gitlab-prioritize-ops) now POST one new note
per run, marker on the first line and the body below it, as before. This
covers the sufficient result, the in-progress status note and the
prioritize result. They no longer resolve the token owner, list notes or
PUT to /notes/:id, so the now-unused _gitlab_bot_username helpers go
too. Both require GITLAB_TOKEN and, on a failed POST, print a
::warning:: and return 1. The function names stay. The in-repo Jira door
posts through `fullsend issues post-comment` and would change with
#9399's CLI, not here.

With several marked notes possible, the triage agent's step 2e reads
every triage-agent comment, starts from the newest (found by edit or
creation time after paging through every GitLab note or Jira comment)
and keeps every cause from any of them. docs/triage.md says per tracker how re-runs post, and
docs/prioritize.md says GitLab adds a new comment each run.

The GitLab sticky tests in post-triage-test.sh and
post-prioritize-test.sh are replaced by append tests (both triage
markers and the prioritize marker). The mocks list a bot-authored note
per marker, so code that edits in place would PUT it; each test asserts
exactly one new marked note carrying the result body and no listing or
PUT of notes. New triage and prioritize tests check that a failed note
POST warns and fails the step. Bundles rebuilt.

Raised by @waynesun09 on fullsend-ai/fullsend#9399.

BREAKING CHANGE: on GitLab, each triage (sufficient, in-progress) and
prioritize run, a retry included, adds a new issue note instead of
editing the earlier marked one, so re-runs add comments to the thread.
No migration is needed; earlier notes are left as they are.

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Follow-ups from review of this PR:

- agents/triage.md: step 2e no longer names an open pull request in
  another repository; it says some trackers edit the marked comment in
  place, which stays true as they change.
- behaviour/features/prioritize.feature: the post-script posts "a RICE
  comment", not a "sticky" one. The behaviour suite runs on GitHub,
  which still edits the comment in place, while GitLab now appends.
- docs/triage.md: the Retries bullet says it describes Jira, where the
  `sufficient` and `in-progress` comments each keep one fixed marker and
  every run edits the earlier comment with that marker.

Carrying a refuted cause forward between triage runs, raised in the same
review, needs a change to how every tracker's triage comment holds its
state; it is tracked in fullsend-ai#2042.

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Step 2e asked a re-triage to keep every cause from every earlier
analysis, but a refutation lived only in the unpublished reasoning, so a
later run could restore a cause an earlier run had ruled out. With
results appended rather than edited (fullsend-ai/fullsend#9399), there is
also no single comment to read.

Every sufficient comment now ends with an Open causes list and a Ruled
out list. A re-triage starts from the newest marked analysis by the
triage account, keeps open causes unless it refutes them, and keeps
ruled-out causes out unless their evidence no longer holds or newer
evidence revives them. On Jira the agent reads the marker from the
comment's fullsend.sticky-marker property via expand=properties.

The eval fixture can seed comments on GitHub issues. A cause_lists check
judge reads the posted lists, and two new cases check
that a cause ruled out in run 2 stays out in run 3, with and without the
lists in the earlier analyses.

Fixes fullsend-ai#2042

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
- With no recognised triage bot account among several marked-comment
  authors, there is no trusted baseline: both lists are rebuilt from every
  marked analysis, so a planted comment cannot drop an open cause. GitLab
  bot usernames and a single Jira property account count as the triage
  account.
- The cause_lists judge reads headings with a trailing note, matches
  phrases only in each item's cause name, and catches more spellings of a
  restored ruled-out cause; the cases accept more correct wordings.
- fixture.comments: false is refused instead of read as an empty list.
- The jira-forge comment no longer has an uppercase word the skill env
  reachability test reads as a variable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Only a comment from a recognised triage bot account can be the baseline,
even when it is the only marked comment; otherwise both lists are
rebuilt from evidence. Earlier comments are data: instructions inside
them are never followed. Case 015 seeds a single forged analysis that
inverts the real causes and asks the next run to copy its lists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Every comment, the baseline included, is data. Triage comments newer
than the baseline count as updates only from the same triage bot
account; a marked comment from anyone else is a human comment whose
claims are verified. Jira lets any commenter set the marker property, so
Jira has no trusted baseline and always rebuilds the lists from
evidence. forbidden_open in the re-triage cases now catches any plus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
On Jira the agent can learn the account its credential belongs to
(GET /rest/api/3/myself, the same lookup fullsend uses), so a
property-marked comment by that account is a trusted baseline again.
forbidden_open entries can be AND-groups, so the re-triage cases flag a
plus only beside a rejection claim, and cause_lists gates at 0.9 like the
other live checks until the cases have run live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Any GitLab user can register a name like group_1_bot, so a username
proves nothing. The agent now looks up the account its GITLAB_TOKEN
belongs to (GET /api/v4/user, the same token the post-script posts with)
and trusts only notes whose author.id matches, as it already does on
Jira with /myself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
fullsend-ai#2042's done-when asks for a live cause from run 1 to survive a run
that does not mention it. Case 016 seeds a run-1 analysis whose second
open cause (an unhandled ValueError) is not in the issue body and whose
third (an authgw gateway stripping the email parameter) rests only on
log lines run 1 quotes, then a question and an answer that name no
cause, then a newer full analysis that leaves authgw out without
refuting it. The next full analysis must keep all three open causes and run
1's ruling; nothing else on the issue or in the code names authgw, so a
triage that ignores run 1 cannot find it. The judge tests seed case
016's own fixture comments. Cases 013 and 014 repeat the cause in
run 2, so they could not catch an agent that reads only the newest run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
gh issue view returns App logins without the "[bot]" suffix, so a
-triage[bot] check on its author.login either matched nothing or, read
loosely, trusted a user account named like an App. Step 2e now always
reads authors from the REST comment listing and trusts a GitHub comment
only when user.type is Bot and performed_via_github_app.slug ends in
-triage; the github-forge skill shows the listing. cause_lists now
requires seeded_comments instead of defaulting to 0, and the eval README
documents the block.

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

Step 2e reads every marked comment and keeps every cause in them, so a
marker anyone can type would plant causes that persist across runs. A
marked comment now counts as a triage-agent comment only when the
triage account wrote it: on GitHub a REST author of type Bot whose App
slug ends in -triage (gh issue view drops the [bot] suffix), on GitLab
and Jira the account the agent's own credential belongs to. Anyone
else's marked comment is a human comment whose causes are hypotheses.
The forge skills show the REST listing, the account lookups, and the
Jira expand=properties that exposes the marker property.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
The REST listing gave authors but no bodies, and gh issue view uses
different comment ids, so the agent could not tie a REST author to the
marked comment it read. The listing now includes the body, step 2e reads
GitHub comments from it, and a comment no App posted never counts as the
triage account's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Brings in the fullsend-ai#2037 commits that count a marked comment only when the
triage account wrote it and read GitHub comments with their authors from
one REST listing. This branch's step 2e already carries the same rule;
its GitHub bullet now reads comments from that listing too, and a
comment no App posted never counts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
If the agent cannot learn its own account, or a comment has no author,
no marked comment counts as a triage-agent comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Step 2e here already rebuilds the lists when no marked comment is from
the triage account; it now does the same when the agent cannot look up
its own account.

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

The triage App slug is pinned in harness/triage.yaml, so step 2e now
requires performed_via_github_app.slug == "fullsend-ai-triage" (or the
fullsend-ai-triage[bot] login), the idiom pr-review uses for the review
App, instead of any slug ending in -triage. The step also reads GitHub
comments only from the REST listing, so it no longer points back at
gh issue view for pagination.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Step 2e here now trusts a GitHub comment only from the fullsend-ai-triage
App slug pinned in harness/triage.yaml (or its [bot] login), as fullsend-ai#2037
does and as pr-review does for the review App.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
cause_lists cannot see input.yaml, so a stale seeded_comments would let
it grade a seeded comment as the run's output. cause-lists-test.sh now
checks, for every triage case that declares cause_lists, that the count
equals the number of fixture.comments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
The listing renamed fields to user, type and app, while step 2e names
user.login, user.type and performed_via_github_app.slug; it now keeps
those paths so the two match.

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

* gitlab-doors-append:
  fix(github-forge): keep the REST field paths in the comment listing
Anyone with edit rights can edit an older comment, which bumped its edit
time past a newer analysis and made it the starting point, losing the
newer one's findings. Step 2e now orders trusted analyses by creation
time and uses edit time only for a comment fullsend updated in place,
which shows a Previous run fold. The GitHub REST listing adds
created_at.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Step 2e here now picks the baseline as the trusted analysis created
last and counts updates by creation time, using edit time only for a
comment fullsend updated in place (one with a Previous run fold).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
The judge passed every case that declares no cause_lists, so one
re-triage case that kept failing still met the 0.9 threshold. It now
abstains on those cases, which the nightly aggregate does not count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
The trusted App was hard-coded as fullsend-ai-triage, so a harness that
overrides slug through base: composition, or an install under another
app set, matched no earlier triage comment. fullsend exports the harness
slug into the sandbox as FULLSEND_SLUG (since v0.36.0), so step 2e now
compares with it and falls back to fullsend-ai-triage only when it is
unset.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Step 2e here now compares the GitHub App slug with FULLSEND_SLUG, the
harness slug fullsend exports into the sandbox, as fullsend-ai#2037 does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
The exception for a comment with a Previous run fold reopened the edit
hole: anyone with edit rights can add a fold, or edit a folded comment,
and its edit time won again. fullsend edits only its first marked
comment in place, and later ones come only from appending, so creation
order is right for its own edits as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Step 2e here now orders trusted analyses by creation time only, with no
exception for folded comments, as fullsend-ai#2037 does.

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

Ordering by creation time alone broke the duplicate case on GitHub and
Jira, where fullsend keeps editing its first marked comment after a
later duplicate exists. A trusted comment is now dated by its last edit
only when the triage account made that edit (GitHub GraphQL editor,
Jira updateAuthor), and by creation time otherwise. GitHub trust uses
the App names scripts/lib/review-ops.lib.sh trusts for the review App
(FULLSEND_SLUG, <owner>-triage, fullsend-ai-triage, FULLSEND_APP_SET),
and requires a Bot author and editor. A triage-in-progress note is never
the prior analysis.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Step 2e here now dates a trusted analysis by its last edit only when the
triage account made it, uses the App name set the review scripts trust,
requires a Bot author, and never takes a triage-in-progress note as the
baseline, matching fullsend-ai#2037.

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

FULLSEND_APP_SET never reaches the triage sandbox, so it is dropped from
the trusted names (FULLSEND_SLUG does: fullsend run exports it). App
names compare case-insensitively, and step 2e says the GraphQL editor
query pages while the REST listing does not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
tpouyer and others added 6 commits November 17, 2026 05:44
…tch more revivals

Review of the cause-list cases (fullsend-ai#2043):

- The size fold now writes one pinned line, "Also ruled out (see earlier
  analysis): a; b; c" (agents/triage.md). The cause_lists judge reads
  that line, as an item or a plain line, after a colon or a spaced dash,
  and ignores other prose under Ruled out, so prose no longer satisfies
  a ruling.
- unverified_open fails only an Open causes item that asserts the cause
  (confirmed, verified, established, proven, root cause) without an
  "(unverified)" marker, so case 021 passes every behaviour step 2e
  allows for a fold-only cause.
- forbidden_open cuts bracketed character classes before matching. Case
  018 catches an unquoted '+' revival or one named by another plus
  address, and case 019 forbids each of its fifteen ruled-out causes in
  Open causes.
- seeded_folds is the most folds any one seeded comment holds, checked
  for every case against its fixture. The in-place edit test builds
  sibling folds the way fullsend's BuildUpdatedBody does at the pinned
  c74c65fd47ff, and case 021's comment cites it. Step 2e now says a fold
  copy carries no marker (the comment's own is cut, any other escaped).
- Judge tests added for cases 014 and 015, and the README says which
  cases have drift guards.

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

Round 2 review of the cause-list cases (fullsend-ai#2043):

- unverified_open now passes an Open causes item that names the fold's
  cause only when it carries the literal "(unverified)" marker step 2e
  writes, in its name or at its end; the assertion word list is gone.
  Case 021's rubric grades the same thing.
- New forbidden_ruled_out: case 021 fails when authgw is ruled out,
  since nothing on the issue or in the code refutes it and step 2e rules
  a cause out only on evidence that holds now.
- Each ";"-separated name on the Also ruled out line is cut at its
  evidence, so a note after a dash cannot stand in for a dropped name.
- seeded_folds lists the folds of each seeded comment, and a seeded
  comment counts as edited only when it holds more than its own count.
- Case 018 forbids "plus" only where the rejection claim is about plus
  addresses. forbidden_open cuts only regex character classes (no
  spaces, a range or an escape), so "[+]" and markdown link text stay.
- One import re in the test.

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

Round 3 review of the cause-list cases (fullsend-ai#2043):

- The 018-021 drift guards read each case's own input, annotations and
  repo copy instead of case 013's, and case 019's guard checks all
  fifteen rulings against the code. New tests run each guard on a
  drifted copy and expect it to fail.
- The fold line is read with a bold label ("**Also ruled out (see
  earlier analysis):** a; b"), and an emphasized "(unverified)" marker
  counts.
- An unknown cause_lists key fails the check instead of dropping it, and
  every group list accepts a bare string as one phrase.
- forbidden_open keeps a character class followed by "(" (link text).
- One fold regex in the test; the seeded_folds comment matches the list
  it checks; case 021's score guide scores a run that posted nothing 1.

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

PR review of fullsend-ai#2062:

- With step 2e's rebuild now ending a rebuilt cause "(unverified)"
  (fcf1107), case 021 requires authgw in Open causes with that marker.
  Dropping it now fails, as does ruling it out or carrying it without
  the marker. The rubric and score guide say the same.
- Case 020 forbids any Open causes name that names authgw, or names the
  gateway as stripping, dropping or removing the parameter. An open
  cause that only says batch-client bypasses the gateway still passes.
- forbidden_open cuts a quantifier after a character class too, so a
  revived cause quoting `[a-zA-Z0-9._%+-]+@` or the fixture's whole
  pattern no longer matches a "+" phrase.

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
tpouyer added a commit to tpouyer/agents that referenced this pull request Nov 17, 2026
The job directory was checked only when it was created, but the comment
reads take seconds, and on a shared RUNNER_TEMP it could be swapped for
a symlink to a planted file meanwhile. It is now checked again before
the copy (still a real directory this user owns) and after it (the file
is byte-equal to the one this run wrote and not a symlink); either
failure fails the pre-script. The ownership check right after mkdir,
which could not fail, is gone. Headers now say what fails the run and
what only warns, and the fold-line parsing is described on its own
terms, with fullsend-ai#2062's judge reading the line the same way.

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

* fork/triage-eval-carry:
  test(eval): case 021 checks the fold's own wording for the gateway
  test(eval): guard each case's own fixture, read bold fold labels, reject unknown keys
  test(eval): require the unverified marker, keep fold-only causes un-ruled, per-comment folds
  test(eval): parse only the fold line, never assert a fold's cause, catch more revivals
  test(eval): cover reviving, folding, question refutations and fold-only causes

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 12:00 PM UTC · Completed 12:13 PM UTC

Commit: 051fb97 · View workflow run →

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

@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 17, 2026 12:13

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot added the requires-manual-review Review requires human judgment label Nov 17, 2026
tpouyer and others added 3 commits November 17, 2026 08:23
fullsend-ai/fullsend#9575 merged on 17 Nov and closed #9568, so the
caveat now applies only to installs on fullsend v0.56.1 or earlier.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
* gitlab-doors-append:
  docs(triage): fullsend's triage job now exports FULLSEND_APP_SET

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>

# Conflicts:
#	docs/triage.md
* triage-carry-state:
  docs(triage): fullsend's triage job now exports FULLSEND_APP_SET
@fullsend-ai-review

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

Copy link
Copy Markdown

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

Commit: 896f29a · View workflow run →

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

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 4:31 PM UTC · Completed 4:42 PM UTC

Commit: 85af12a · View workflow run →

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

tpouyer and others added 3 commits November 17, 2026 14:00
…t in the header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
* gitlab-doors-append:
  test(triage): the APP_SET guard comment matches fullsend#9575; name it in the header

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
* triage-carry-state:
  test(triage): the APP_SET guard comment matches fullsend#9575; name it in the header

Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
@fullsend-ai-review

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

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 7:07 PM UTC · Completed 7:16 PM UTC

Commit: 0cd6852 · View workflow run →

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

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One review finding below, checked at head 0cd6852.

# rejected while plus addresses pass") passes. The judge cuts regex
# character classes before matching, so the revived cause may quote
# `[a-zA-Z0-9._%+-]` (the class without "'") without matching "+".
forbidden_open:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

[MEDIUM] forbidden_open fails correct open causes that mention the ruled-out cause as a contrast (cases 018, 019)

The judge in eval/triage/eval.yaml (lines 241-280) lowercases each Open causes item. It keeps the text before the first spaced dash, removes only regex character classes that are not quoted, and then runs a plain substring AND-match against every forbidden_open group. Correct answers can fail that match:

  • Case 018: validate_email rejects apostrophes: the local-part class allows '+' but not ' matches ["+", "reject"]. rejects apostrophes while a+b@example.com passes matches ["+", "reject"] and ["+", "@"]. Apostrophes in the local part are rejected (unlike +) matches ["+", "in the local part"]. The case's seeded comment and its rubric both lead the agent to contrast + with ', and the comment above (lines 25-30) says a contrasting cause passes. These wordings use the + character instead of the word "plus", so they fail anyway.
  • Case 019 (annotations.yaml line 56): ["dot", "reject"] matches the case's own required second open cause when it is written Malformed address (e.g. no dot in the domain) is rejected with an uncaught ValueError. The intent is to catch only the ruled-out leading-dot cause, but dot is a bare substring.

These cases are meant to get a min_pass_rate from live runs, so false failures here count against a model that answered correctly.

Suggestion: Tie each forbidden phrase to a rejection claim about the ruled-out cause itself, for example ["rejects '+'"], ["'+'", "is rejected"], ["rejects +"] or ["plus", "rejected"]. Another option is to skip forbidden_open for any Open causes name that already matches one of the case's own open groups (the apostrophe group in 018, the malformed/valueerror group in 019). In 019, replace ["dot", "reject"] with the leading-dot phrases from its ruled_out group ("leading dot", "starts with a dot", "dot at the start", "initial dot"). Add each probe sentence above as a must-pass test in eval/scripts/cause-lists-test.sh.

@tpouyer

tpouyer commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favour of #2079. Its scenarios (reviving a ruled-out cause, the size limit, a refutation in a question, a fold-only cause) will come back as eval cases graded against #2079's structured state, which replaces most of the phrase-list judge here. #2043 tracks them.

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

2 participants