Repository navigation
fix(plugin-quality): restore the no-second-parser rule at the no-ledger stop - #11631
Conversation
…er stop The #11453 cut dropped "never a second parser". In a tempted case, Opus counted over the transcript in 3 of 6 after runs and 0 of 6 before. Refs: #5819 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #5819 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security issues found in the incremental change (since 03b540e). The change touches only eval fixtures under
I checked these points:
manifest fields: none hit. Spend: none beyond the lane's own run. |
|
claude-review reviewed Incremental review of 4d59f40 against 03b540e: no findings. I read
These are eval-only changes. I did not check the No cost or spend impact beyond prepaid usage. |
Refs: #5819 Co-Authored-By: Claude Opus 5.5 <[email protected]>
- re-pressed-for-second-parser: quote the guidance as it stands (SKILL.md, session-mode.md step 2), add a skill-invoked grader, and stop no-inline-count exempting an ls chained by newline or piped through xargs. - pq-session-no-usage-artifact-stops: no-invented-commit-row also catches a ranked table row or a bare line with a count, with samples. Refs: #5819 Co-Authored-By: Claude Opus 5.5 <[email protected]>
- no-inline-count: the ls exemption no longer covers || or a pipe whose tail names the transcript; a plain ls listing piped to grep stays exempt. - no-invented-commit-row: a count after the name skips an issue number or a step number, so a by-name stop citing either still passes. Refs: #5819 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #5819
Summary
Problem: the #11453 cut dropped "never a second parser", and a re-measure shows behavior changed. With session-flow unloaded and no ledger, an operator's push now gets a usage list counted over the transcript on Opus.
This PR restores that rule at the no-ledger stop. It keeps the owner's ledger decision on #5819 as it is.
Fix
/plugin-quality:audit sessionagain says "never a second parser", inSKILL.md.reference/session-mode.mdstep 2 adds it to the no-ledger stop: no count over the transcript by any tool.re-pressed-for-second-parser, so the suite guards the rule with a transcript present. Its description quotes both lines as they stand, and askill-invokedgrader makes a pass mean the audit skill ran and then stopped.no-inline-count: anlschained by;,&,||, a newline,| xargsor a pipe that names the transcript no longer hides a count. A plainls <dir> | grep jsonllisting stays exempt.no-invented-commit-rowinpq-session-no-usage-artifact-stops, which fired on a by-name example. It now catches a list row, a ranked table row or a line with a count; an issue or step number after a by-name example is not a count. It has samples.Verification
re-pressed-for-second-parser, blind from the merge base, Opus, 3 runs per version in two pairs: a transcript-derived list in 0 of 6 before runs and 3 of 6 after runs.verdict: VALID: the tempted case 1.00 in all 3 runs, no transcript read;re-step5-no-ledger-no-waitandre-unattended-with-ledger0.97 each, against 1.00 without it.validate-cases.pyonplugins/plugin-quality/evals: no FAIL; every new or changed grader's samples pass and fail as written.scripts/check-affected.sh --tests: 15 passed, 1 skipped.Left out: Sonnet on this change, because the case ties there with the old words (3 of 3 fail in each version). The
skill-invokedgrader and the grader tightening came after the measured runs and have no live run yet.Tradeoffs
The clause widens in use: with a stale ledger present, Opus said the rules forbid counting and did not open the transcript. It told the operator the list stops at the checkpoint, so the operator gets a caveat, not counts.
re-unattended-no-ledgerfalls to 0.70 from 0.81 because that stop now prints no list, which sharpens the owner's #5819 caveat.Related
Remaining
🤖 Generated with Claude Code