Skip to content

outside-review-result: "no actionable regressions" is read as an untagged (unverified) review #3294

Closed

Description

@SchizasNik

What happened

First, thanks for the outside-review gate. Refusing to treat untagged prose as a pass is a good call, and it caught real problems for us elsewhere.

One small vocabulary gap, though. In /ship Step 11, the Codex structured review (codex review --uncommitted, codex-cli 0.156.1, model gpt-6-sol) often concludes in plain prose like this:

I found no actionable regressions in the staged, unstaged, or untracked changes.

lib/outside-review-result.ts then returns VERDICT: unverified / REASON: untagged_review, so the run records the structured gate as missing coverage, even though the review completed cleanly. The NO_FINDINGS pattern (line 139 on main) accepts bugs|issues|findings|problems but not regressions.

On one branch, 3 of 4 structured runs came back as "no actionable regressions" and were marked unverified. The 4th said "no actionable bugs" and passed. All four were clean reviews.

Steps to reproduce

  1. Write the text I found no actionable regressions in the staged, unstaged, or untracked changes. to /tmp/r.txt, and create an empty /tmp/e.txt.
  2. bun ~/.claude/skills/gstack/lib/outside-review-result.ts --label probe --exit 0 --stderr /tmp/e.txt structured /tmp/r.txt
  3. Observed: VERDICT: unverified, REASON: untagged_review. Expected: VERDICT: clean, the same as for "no actionable bugs".

Suggested fix

Add regressions? to both alternations, and maybe defects? as well:

const NO_FINDINGS = /\bNO_FINDINGS\b|\bno (?:actionable |significant |new |concrete )?(?:bugs?|issues?|findings?|problems?|regressions?|defects?)\b|\b(?:did not|didn't|cannot|can't|could not|couldn't) (?:find|identify) any (?:actionable |new |concrete )?(?:bugs|issues|findings|problems|regressions|defects)\b/i;

I applied this locally. "no actionable regressions" now reads clean, and unrelated prose still reads unverified, so the gate stays as strict as before.

Another option is to ask Codex for an explicit NO_FINDINGS line. As far as I can tell, though, codex review --base / --uncommitted accepts no custom prompt, so widening the vocabulary seems like the practical route. Happy to open a PR with a test if that helps.

Readiness report

gstack doctor 1.91.144.0
ok              install root    ~/.claude/skills/gstack: claude global current (1.91.144.0), codex global current (1.91.144.0)
ok              rescue refs     none in ~/.claude/skills/gstack
ok              state root      ~/.gstack durable=yes (selected by default)
warn            bun             1.3.11 at /opt/homebrew/bin/bun is below the tested 1.4.2
                                fix: bun upgrade (https://github.com/garrytan/gstack/blob/main/docs/troubleshooting.md#bun-too-old)
ok              hooks           9 hook(s) parse
ok              codex           codex-cli 0.156.1; self-locate ok; model gpt-6-sol (source: GSTACK_CODEX_MODEL)
ok              codex probe     cached MODEL_OK, 2d ago (not re-run; --live probes now)
not configured  artifacts sync  off; cross-machine artifacts sync is unavailable
                                fix: ~/.claude/skills/gstack/bin/gstack-artifacts-init
ok              browse bundle   browse/dist built
ok              binaries        find-browse, design, pdf, gstack-global-discover launch (4 of 4)
ok              cso             native helper 1.91.144.0 (3766edac8d94)
ok              claude code     2.1.220 (Claude Code) at <nvm>/bin/claude
ok              session journal no session journals for this project
ok              guard log       no guard decisions logged
ok              CLAUDE.md       no gstack section lists skills (~/.claude/CLAUDE.md, <project>)
13 ok, 1 warn, 1 not configured, 0 fail

Environment

  • Host: Claude Code 2.1.220 (inside Conductor)
  • OS: macOS 27.0.1
  • gstack 1.91.144.0, codex-cli 0.156.1

Activity

  1. xg-gh-25 commented on Oct 19, 2026

    @xg-gh-25

    +1 on regressions? — but widening the alternation also widens a hole that already exists, so it may be worth fixing both in the same PR.

    NO_FINDINGS is tested against the whole reply (NO_FINDINGS.test(input.text)), and it is only consulted when findings.highest is null. So any review whose real findings are written as untagged prose — exactly the case this gate exists to catch — reads clean as long as one "no X" phrase appears anywhere in it. Checked against the current regex:

    # NO_FINDINGS ported verbatim from lib/outside-review-result.ts (main)
    "The parser change has no new issues. However, db/002_drop_idx.sql drops users_email_idx, which will regress login latency under load."
    #   -> match ("no new issues")  => VERDICT: clean
    "Renaming the flag is no problem for callers, but the fallback path now swallows ENOENT and returns an empty config."
    #   -> match ("no problem")      => VERDICT: clean
    "I found no actionable regressions in the staged, unstaged, or untracked changes."
    #   -> no match                  => VERDICT: unverified   (this issue)

    Adding regressions? makes "no regressions in the existing tests, but …" pass too.

    Suggestion: treat the no-findings phrase as a conclusion, not a substring — only accept it in the last non-empty paragraph (after withoutCode/plainReview), and reject if that paragraph also contains a contrast marker (but|however|although|except). Codex's clean reviews put the "I found no actionable …" sentence last, so the false-unverified fix still works, while a scoped "no issues in X" followed by a prose finding stays unverified. A couple of regression fixtures with the two strings above would pin it.

    We run a similar fail-closed verdict parser over AI reviewer output; the lesson that stuck for us was that every vocabulary widening needs a paired negative fixture, or the gate quietly drifts from strict to permissive one synonym at a time.


    From building an adversarial multi-reviewer gate for AI-generated code in SwarmAI. Discussion: Multi-Specialist Adversarial Review

  2. capy-ai commented on Oct 19, 2026

    @capy-ai
    Contributor

    Thanks @SchizasNik for the clear report and the exact repro, and @xg-gh-25 for spotting that widening the vocabulary alone would widen the false-pass hole.

    Fix is up in #3304. Both halves are addressed:

    • A no-findings statement now counts only as the review's conclusion (the last sentence or ", and" clause, or a review's Recommendation because-clause), with no "but / however / except / other than", and, when other prose precedes it, scoped to the whole change. "The parser change has no new issues. However, … drops users_email_idx" and "no problem for callers, but …" now read unverified.
    • regressions and defects are in the vocabulary, so your reply I found no actionable regressions in the staged, unstaged, or untracked changes. reads VERDICT: clean through the exact CLI invocation from your report (it's a regression test now).

    Both strings from this thread are pinned as negative controls.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions