Repository navigation
fix(planning): accept every basis source the interview skill lists in the basis-and-flip grader - #16247
Conversation
The interview skill allows tool output as a recommendation's basis, but the checkable-basis-and-flip grader listed only a file path with a line, a URL, or a user-stated fact. Add tool output the reply names with what it showed, mirror it in expected_outcome, and add labeled samples: a named working-directory survey passes; a basis citing only the interview's own scope rule, and a bare "I checked", fail. Refs: #16092 Co-Authored-By: Claude Fable 5.2 <[email protected]>
Refs: #16092 Co-Authored-By: Claude Fable 5.2 <[email protected]>
Item 1 of the checkable-basis-and-flip grader now lists each source the interview skill allows: tool output or a check run this session, named with what it showed, and a session-transcript finding, beside a file path with a line, a URL, and a user-stated fact. expected_outcome lists the same kinds. Two labeled samples: a named session-transcript finding passes; a named check with a vague result fails. Refs: #16092 Co-Authored-By: Claude Fable 5.2 <[email protected]>
…ue to check
A session-transcript finding is now something the user said or a tool
returned earlier in the session, named, and never the reply's own
earlier claim. A result too vague to check ("nothing relevant", "I
checked") does not count. expected_outcome mirrors the bound. The Redis
sample is relabeled as a user-stated fact. Two samples are added: a
named Glob result passes, and a basis citing the reply's own Q2 fails.
Refs: #16092
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Codex Review Summary: ✅ CompletedThis 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. I read every hunk of all 4 changed files. The pull request only touches the
The pull request changes no trusted path, plugin manifest, workflow, token scope, kill switch or merge hold. Nothing new reaches a lane that holds credentials, and nothing here can cost money. The pull request description has no embedded directives aimed at this lane. critical-findings: 0 |
|
claude-review reviewed Code review: no findingsI read all four changed files in full: the changelog fragment, the grader, the
The PR's verification steps ( No closing issue: the PR only Spend: the PR's measurement plan uses 8 Sonnet eval runs plus Opus judge calls, paid from prepaid API credit, so it is not a hold. Verifier dropped 0 of 0 candidates. |
Refs: #16092
RUN RECORD 2 (VALID; one launch under a plan written first, no rerun): a second 8-run record of
interview-recommendation-basis-and-flipon Sonnet, judge claude-opus-5-5,--ablation none, at this head12fb66e77150c9d4141496716410a434a505d6fa, with the same plugin copy and launch flags as the first record. The owner authorized it after the first record read INVALID (decision Q154 (b): one new 8-run record read under a run-level rule for denied tool calls; release on a VALID file or a denial-free reading with at least 6 counted runs).run-validity.py --runs 8reads it VALID (warnings: skill fired, judge votes) with no denied tool call in 8 traces, so no run is excluded and both readings are the same.4f2dcaaff35echeckable-basis-and-flipstates-flip-conditioncheckable-basis-and-flip(run 3 on a split vote PASS FAIL FAIL, runs 4, 6, 7 and 8 unanimous). Read against the grader: each backs its terms-agreement recommendation with "judgment" or "ours" for terms the reply coined, which the grader rightly fails. That is the reply-side gap fix(planning): interview replies end after the round, cite the scope rule as a basis, and source coined definitions #16252 records.is not a valid shim,Shell command permission check failed for patternandcommand not found: 0 hits. Not partial, no run errored, no usage-limit line. Cost 3.56 USD, 357 s.FIRST RECORD (planned before the launch, no reruns): 8 Sonnet runs of
interview-recommendation-basis-and-flipwith the plugin on head12fb66e77150c9d4141496716410a434a505d6fa(--ablation none, judge claude-opus-5-5, the same launch flags as the host check). The result file is INVALID:run-validity.py --runs 8reports one denied tool call (run 6, a compoundmkdir -p ... && cp ... && wc -l ...Bash call the sandbox refused). No score is claimed from it and it is not rerun. This change is not shown to move the case toward its target of 1.00 in at least 7 of 8, and it was not expected to reach it alone.Read for diagnosis only, beside main
4f2dcaaff35e:checkable-basis-and-flipstates-flip-conditionis not a valid shim,Shell command permission check failed for patternandcommand not found: 0 hits. Not partial, no run errored. Cost 4.06 USD.checkable-basis-and-flip, each with a split judge vote. Read against the grader as changed here, all three are reply misses, not grader misses: two give "definitions only" as the basis for terms the reply coined, and one names an open fact with no condition that would change the recommendation. Those are the skill-text gaps fix(planning): interview replies end after the round, cite the scope rule as a basis, and source coined definitions #16252 records.allowed_toolslists read-only tools, and the launch grants Bash, Write and Edit, as the host check on main did, so both sides were measured with the same grant. All 8 runs used Bash and 6 wrote the interview's ledger files.Summary
The
checkable-basis-and-flipgrader of the planning caseinterview-recommendation-basis-and-flipaccepted only a file path with a line, a URL, or a fact the user stated as a checkable basis. The interview skill lists more sources (plugins/planning/skills/interview/SKILL.md:228: "afile:line, a URL fetched this session, a session-transcript finding, or tool output"). In the host check, run 4 drew a split judge vote (FAIL PASS FAIL). Its Q7 rests on "Basis: verified, survey of the working directory (no commits, no application code)". The judges' reasons were not recorded, so which question drew the FAIL votes is not known.Fix
graders/checkable-basis-and-flip.md: item 1 now lists every source the skill names:A transcript finding in this single-turn case can only be a user statement or a tool result. A new sentence adds that a result too vague to check ("nothing relevant", "I checked") does not count. The examples and the bare-judgment sentence are unchanged, and so is the rest of the criteria.
prompt.md:expected_outcomelists the same basis kinds.samples/checkable-basis-and-flip.json: seven hand-labeled samples.**/*rate*this session returned no files")..changes/planning/: abump: nonefragment (eval-only change).No file under
plugins/planning/skills/changes.Remaining
The other candidates for the runs under 1.00 trace to skill text, which is outside this issue's fence:
last_messagejudge read only that note.judgmentwith no source.These need skill-text changes that belong to a separate issue.
Verification
validate-cases.py plugins/planning/evals: no FAIL. This case reports only the WARN that its sample answers need judge calibration.scripts/check-affected.sh --no-fetch: pass.scripts/check-changelog-fragments.sh --check-required origin/main: pass.git diff --check origin/main...HEAD: clean.typoson the changed files: clean.claude plugin evalon this head, caseinterview-recommendation-basis-and-flipalone, 8 Sonnet runs, judge claude-opus-5-5. Record here the per-run scores and thecheckable-basis-and-flipvote counts. Before this change: 5 of 8 at 1.00 (main at4f2dcaaff35e8f9fccc6a9f4d82a5830ab17a5c5). Expected: the run-4 shape may stop splitting. Reaching the target needs the skill-text work under Remaining.Related
session: GitHub Support
🤖 Generated with Claude Code