Repository navigation
fix(planning): say where the interview round ends, what its basis lines cite, and how coined terms are agreed - #16290
Conversation
…lines cite The interview skill's text stated three requirements without saying what to write when a case broke them, and Sonnet runs of the interview-recommendation-basis-and-flip eval missed on each: - The round is the turn's last message and the closing probe its last line; checks and register rows run before it is sent. A correction that changes a shown question resends the whole round with the note in its header; any other note waits for the next round. - The mechanism question's Context names the question that named the mechanism, and its Basis cites the user-stated fact behind it, never the interview's own rule. - A definition with no source stays out of the terminology matrix and is defined inline in each question that uses it. The loop spoke and the checklist template now say the same. Refs: #16252 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #16252 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…is-and-flip case The case listed only read-only tools, but the interview skill's round-1 steps run Bash (the git context calls, the surface resolver and check-round-codes.sh), Write (the checklist ledger and round-<N>.md) and Edit (fixing the round file when the code check names a bare code). Every one of the 8 recorded Sonnet runs called Bash and Write, and 3 called Edit. The list now names those tools, so the preflight's grant list matches what the case runs. Refs: #16252 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tion the fragment The mechanism tripwire's Basis example now names a generic cache instead of a specific product, and the changelog fragment carries the ### Changed section the fragment check requires. Refs: #16252 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ld line The round-end rule pointed late notes about held questions at the Held: line, which covers only questions waiting on an in-flight lookup. A note about questions waiting on answers already waits for the next round under the same rule, so the clause is dropped. Refs: #16252 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nism basis The round-end rule now covers an inline terminal round only, so the page lane's watcher, cards and later out-of-band turns keep their own rules; under single pacing each row is registered in the message that asks it and a correction resends only that question; the any-order note goes before the probe. The matrix rule reads "one row per sourced term", and a qualified name that cites its clash stays in the matrix. The mechanism question's basis may be any fact form Recommended answers allows, and is asked withheld when none exists. Refs: #16252 Co-Authored-By: Claude Opus 5.5 <[email protected]>
… the basis-and-flip case" This reverts commit ef4f931.
The terminology matrix keeps one row per sourced term. A definition the session coins has nothing to cite, so it gets no row and no Basis claim: it is recorded in the shorthand glossary and agreed in a second, withheld question beside the matrix question that says the definitions are the session's own. No term the user may not share goes unagreed. Refs: #16252 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ound-basis-source
…view text A later round adds a matrix row only for a sourced term and asks a coined definition withheld; the withheld question can stand in for the matrix question, its Withheld line and judgment-labeled Context are named, and its resolution and corrections are recorded in loop.md. The assumption sweep asks an unmatched coined term withheld instead of recommending it. Under single pacing a correction puts its note above the one question. The mechanism-basis example uses another domain, and the changelog fragment describes what ships. Refs: #16252 Co-Authored-By: Claude Opus 5.5 <[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 Security review (incremental, blocking only): no security issues foundcritical-findings: 0 Scope. This review covers only what changed since What changed. The push re-pins four SHA-256 section digests in the interview-defenses test and adds one explanatory comment above each pin. The four sections are:
These digests follow the prose edits this lane already reviewed at Trusted paths and trust controls. The changed file matches no TRUSTED PATHS glob. The push does not touch:
Instruction surface. No standing instruction is deleted, narrowed or softened. The change is to a test file's comments and expected digests only. Prior findings. The prior-findings file says this lane already reviewed an earlier head, so this review reports only CRITICAL and IMPORTANT findings. The earlier summary reported no findings, so nothing is restated. |
|
claude-review reviewed Code review: PR #16290, incremental since
|
…nd, basis and coined-terms wording
|
PR body contract — issue linkage This PR body does not yet satisfy the issue-linkage contract:
Edit the body and this comment updates itself on the next run. |
Refs: #16252
EVAL RECORD: recorded below ("Result: before/after eval for #16252"). Main case MET:
interview-recommendation-basis-and-flipscores 1.00 in 7 of 8 Sonnet runs after the change and 5 of 8 before. The do-not-merge label comes off on that record. This pull request links withRefsand does not close #16252: the issue's clause that the other cases run paired is not met (see Remaining).Summary
On main's grader after #16247,
interview-recommendation-basis-and-flipscores 1.00 in 3 of 8 Sonnet runs (target 7 of 8; the issue's 5 of 8 is the earlier grader). Most misses trace to the interview skill's text, which states three requirements without saying what to write when a case breaks them. This change says it.Fix
Observed stumbles, from that record's 8 runs (runs 2, 3, 5, 6 and 7 fail
checkable-basis-and-flip):Basis: verifiedline: "the other three are our definitions, labeled judgment" (run 3), "the other two definitions are ours" (run 5), "The other three are standard vocabulary I'm defining" (run 6).SKILL.md"Agree the terms before the first decision" now holds one row per sourced term (a qualified name citing its clash included). A definition the session coins gets no row and noBasis:claim: it is recorded in the shorthand glossary and agreed in a withheld question beside the matrix question (or in its place when the matrix readsnone), whoseWithheld:line says the definitions are the session's own and whose Context lines are labeledjudgment, so no term the user may not share goes unagreed. A later round adds a matrix row only for a sourced term and asks a newly coined definition withheld.context/assumption-sweep.md's coined-term item now asks an unmatched coined term withheld instead of recommending it.context/loop.md"Terminology matrix" (its opening line and its coinage line) and the checklist template's matrix line now say the same. The issue's third done-when item is amended by the owner's decision: coined terms are still agreed, as a withheld question.judgment. "What, not how: the mechanism tripwire" now says the question's Context names the question that named the mechanism, itsBasis:cites the fact behind that mechanism in any form "Recommended answers" allows, neither cites the rule or the skill, and with no such fact it is asked withheld.singlepacing, only that question, the note above it), and any other note waits for the top of the next round.No grader, sample or prompt body of the case changes, and the
Flips if:/Checked against:layout rule is untouched.Verification
scripts/check-affected.sh --no-fetch,scripts/check-changelog-fragments.sh --check-required origin/main,validate-cases.py plugins/planning/evals(0 FAIL) andgit diff --checkpass.plugins/planning/tests/interview-defenses.test.shpasses at the current head after the four digest re-pins ("SKILL.md Stance section is unchanged", "SKILL.md Step 2 section is unchanged", "loop.md relentless mechanics section is unchanged", "context/assumption-sweep.md is unchanged").claude plugin evalofinterview-recommendation-basis-and-flipon Sonnet, 8 runs per side, with the term cases queued paired beside it under a 40 USD cost stop. Registered pass: the after side scores 1.00 in at least 7 of 8, with the before count beside it. Result: 7 of 8 after, 5 of 8 before. The full record follows.Result: before/after eval for #16252
Pre-registered in
eval-16252-prereg.mdbefore any launch. All numbers below are copied fromr/result-data.txt, the output of the registeredresult.py. No run was rerun or rescored.Versions and launch
fa38117221b6e2b6684bca6c47d0bbac02b5055e(merge base withorigin/main).72c1f0ec79f4f92954d3868f6ea585c8e7773521.ba981fb45e, one commit after the measured head.git diff --stat 72c1f0ec79 ba981fb45elists one file,plugins/planning/tests/interview-defenses.test.sh(8 insertions, 4 deletions: the four digest re-pins). No skill, eval or grader file differs between the measured head and the current head.git diff --stat BEFORE AFTERlists five files: one changelog fragment and four skill files (skills/interview/SKILL.md,context/loop.md,context/assumption-sweep.md,templates/checklist.md). No file underevals/differs, so graders, prompts and samples are the same on both sides.--model sonnet --judge-model claude-opus-5-5 --ablation none -j 2 --trust-plugin --keep-temp --threshold 0.8 --no-publish, one exact case name per command.--max-cost-usdper batchinterview-recommendation-basis-and-flip(main)--scaffold --allow-tools Bash Write Edit--scaffoldedinterview-coded-terms-round-answerable--scaffold --allow-tools Bash Write--scaffoldedinterview-context-unfamiliar-term-upstream--scaffold --allow-tools Bash Write--scaffoldedinterview-term-clash-qualified-name--scaffold(registered)--scaffoldedStated mismatch (main case), from the registration: the main case keeps the flags its earlier records on main were measured with,
--scaffold --allow-tools Bash Write Edit, on both sides. Its ownallowed_toolsis[Read, Glob, Grep, Skill]and it has no scaffold script. So--scaffolddoes nothing, and the grant adds three gated tools the case does not list. The grant is the same on both sides.Results per case and side
"Fired" means the run shows load evidence: a Skill call for interview, or a tool call on a path under
skills/interview/. Rules are judged on the fired-only reading.Main case:
interview-recommendation-basis-and-flipcheckable-basis-and-flipstates-flip-conditioninterview-coded-terms-round-answerableanswerable-without-sessionno-bare-ledger-codeinterview-context-unfamiliar-term-upstreamanswerable-without-follow-upcontext-claims-referencedNo number in
progress.mddisagrees withresult-data.txt. The per-batch costs inprogress.mdsum to the per-side totals inresult-data.txt. Its running "spent so far" column differs from a sum of the rounded batch costs by 0.001 in places, which is rounding.Excluded runs, runs with no load evidence, and opened-unmarked runs
progress.md, batches 1 to 8). The only gate warning wasskill fired, which the registration expects for these cases.opened-unmarked, listed, not voiding; a Read with offset and limit can cause it): batch 4 run 3 openedcontext/loop.mdwithout the BEFORE marker; batch 7 run 6 openedcontext/loop.mdwithout the AFTER marker.progress.md: the loaded AFTER runs touchedskills/interview/but opened no changed file and showed no AFTER marker.Hand read of the failing rows
r/failing-replies.txtholds 34 rows: every failing grader on a fired counted run. Unfired runs are not in it. Each row carries the first 600 characters of the judged reply (its last message). Regex graders show no excerpt; where the same run has a judge row, that excerpt is the same last message. Quotes below are cut to 300 characters; " / " marks a line break in the file. Most replies open with the same line, "surface: terminal (default). Also available: page, shared session. Ask for one by name to switch."; the quotes skip it where it is present.Three of the six graders are regex graders:
states-flip-condition,no-bare-ledger-codeandcontext-claims-referenced. The registration's "Graders and scoring" section calls all six llm graders; the grader files and the "pattern not found" rows show otherwise.Main case (5 rows)
checkable-basis-and-flip, votes FAIL FAIL FAIL. Quote: "What I see in the repo: nothing to ground against. The repo has no commits, and the only files are untracked dotfiles. So every fact below comes from your message. I'm treating this as an engineering task: the output will be a Brief, not code. Pacing isround(default)..." Grader right? Cannot tell from the excerpt: the questions and their recommendations come after it.checkable-basis-and-flip, votes FAIL FAIL FAIL. Quote: "The working directory has no commits and no project code, so I couldn't ground anything in a codebase. Every fact below comes from your message. I read this as engineering work at the production bar, pending your answer to Q3. I saved the ledger and this round under.work/rate-limiting/." Grader right? Cannot tell from the excerpt.checkable-basis-and-flip, votes FAIL FAIL PASS. Quote: "What I see: The repo has no commits and no project files, so there's no code, schema or config to check against. Everything below rests on the four facts you gave. I recorded them as constraints, but I couldn't verify them against files." Grader right? Cannot tell from the excerpt; the judges split.checkable-basis-and-flip, votes FAIL FAIL FAIL. Quote (the whole last message): "Round 1 is above (Q1 to Q3), and I'm waiting for your answers. Nothing is locked yet." Grader right? Right on what it sees: this message asks no question with a recommendation. The questions were in an earlier message, which the grader never sees. Confirmed.states-flip-condition, regex, pattern not found. Same last message as row 4. Grader right? Right on what it sees: the message states no flip condition. Same cause as row 4. Confirmed.interview-coded-terms-round-answerable(6 rows)answerable-without-session, votes FAIL FAIL FAIL. Quote: "I added Q6 to Q8 to the ledger's register asopen, plus a terminology matrix and the "same-tree force-push" shorthand. I didn't run the fresh-context contradiction pass on this draft. I checked the new questions against Q1 to Q4 and the three constraints by hand, and found no conflict." Grader right? Cannot tell from the excerpt; it uses ledger codes in prose, but the questions come after it.no-bare-ledger-code, regex, pattern not found. Same message as row 1. Grader right? Consistent with the excerpt: "Q1 to Q4" is a ledger code with no name beside it, which the pattern rejects.no-bare-ledger-code, regex, pattern not found. No excerpt and no judge row for this run. Grader right? Cannot tell from the excerpt.answerable-without-session, votes PASS FAIL FAIL. Quote: "## Round 3: running the AI reviews again on new commits / / Where this stands. The work: when a pull request (PR) gets a new commit, the pr-merge lane (the stage of the PR pipeline that merges) runs both AI reviews again. Already decided: the pr-merge lane does the rerun..." Grader right? Cannot tell from the excerpt; the opening defines the rerun and the lane, and the questions come after it.no-bare-ledger-code, regex, pattern not found. No excerpt and no judge row for this run. Grader right? Cannot tell from the excerpt.answerable-without-session, votes FAIL FAIL FAIL. Quote: "## Round 3: running the AI reviews again on a PR / / What's being decided. When a PR gets new pushes, the pr-merge lane re-runs the AI reviews. Rounds 1 and 2 settled these points: / - Only a new head SHA triggers a re-run. / - Re-runs are advisory and never block the merge..." Grader right? Cannot tell from the excerpt; the settled points are in plain words, and the excerpt ends at "Held: question Q8, does".interview-context-unfamiliar-term-upstream(23 rows)answerable-without-follow-up(llm) fails a question whose needed context "sits only in another question or in an earlier summary". Every excerpt below opens with a summary of the repo and the upstream README; the questions come after the excerpt. So whether each question repeats that context cannot be told from the excerpt.context-claims-referenced(regex) checks the lines labelledContext:: each must carry a file and line, a URL, "judgment" or "user, round N". It also fails a question that reaches its recommendation with noContext:line before it. The file and line ranges in the excerpts below sit in the opening summary, not on aContext:line, so they do not show the grader wrong. Whether theContext:lines lack a citation cannot be told from the excerpt. This corrects the known read that the grader "fails even where the reply cites file and line ranges": the cited ranges visible here are outside the lines it checks.BEFORE, batch 8:
answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "Pacing isround(default), so the whole first round comes as one set. The ledger is at.work/triage-cluster-step/interview-checklist.md, and Q1–Q4 are registered as open. / / What I see in the repo.triage/intake.py:11-13opens one issue per report and doesn't group repeats." Grader right? Cannot tell from the excerpt.context-claims-referenced, regex, pattern not found. Same message as row 1. Grader right? Cannot tell from the excerpt.answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "What I see in the repo: / -triage/intake.pyturns every crash report into its own tracker issue. A comment says nothing groups repeats (intake.py:11). / - The tracker only appends to an in-memory list and has no lookup or update (tracker.py:5-7)." Grader right? Cannot tell from the excerpt.context-claims-referenced, regex, pattern not found. Same message as row 3. Grader right? Cannot tell from the excerpt.answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "## Round 1 / / What I see in the repo: / -Intake.receiveopens one tracker issue per report and never groups repeats (triage/intake.py:10-13). / -Trackeronly appends an issue and returns an id. It can't look one up or attach to one (triage/tracker.py:5-7)." Grader right? Cannot tell from the excerpt.context-claims-referenced, regex, pattern not found. Same message as row 5. Grader right? Cannot tell from the excerpt.answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "Round 1. Nothing is decided yet. I readvendor/upstream-triage/README.md,triage/intake.pyandtriage/tracker.py. You're weighing whetherIntake.receiveshould group repeat crash reports the way upstream's cluster step does." Grader right? Cannot tell from the excerpt.context-claims-referenced, regex, pattern not found. Same message as row 7. Grader right? Cannot tell from the excerpt.answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "What I see in the repo.triage/intake.pyopens one tracker issue per crash report, and nothing groups repeats (triage/intake.py:11-13).triage/tracker.pyis an in-memory stub that can only open issues (triage/tracker.py:3-7)." Grader right? Cannot tell from the excerpt.context-claims-referenced, regex, pattern not found. Same message as row 9. Grader right? Cannot tell from the excerpt.answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "What I see in the repo. Our intake (triage/intake.py:11) turns every report into its own issue and groups nothing. Our tracker (triage/tracker.py:5-7) can only append an issue and return its id. It cannot look up an existing one." Grader right? Cannot tell from the excerpt.context-claims-referenced, regex, pattern not found. Same message as row 11. Grader right? Cannot tell from the excerpt.AFTER, batch 7:
answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "What I see in the repo.triage/intake.pyopens one tracker issue per crash report and does no grouping (triage/intake.py:11).Trackeris an in-memory list with onlyopen_issue(triage/tracker.py:5-7). It can't look up or attach to an existing issue." Grader right? Cannot tell from the excerpt.context-claims-referenced, regex, pattern not found. Same message as row 13. Grader right? Cannot tell from the excerpt.answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "Round 1: should the triage intake gain a cluster step? / / What I see in the repo.triage/intake.pyis one class with one method.receive()opens one tracker issue per report, titled with the raw first error line, and its own comment says nothing groups repeats..." Grader right? Cannot tell from the excerpt.context-claims-referenced, regex, pattern not found. Same message as row 15. Grader right? Cannot tell from the excerpt.answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "What I see in the repo. / -triage/intake.py:11-13opens one tracker issue per report, titled by the first error line. A code comment says nothing groups repeats. / -triage/tracker.py:2-7is an in-memory list that only appends." Grader right? Cannot tell from the excerpt. (This run passedcontext-claims-referencedand scored 0.50.)answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "Round 1. What I see:triage/intake.pyopens one tracker issue per crash report and groups nothing (triage/intake.py:11). The upstream tool adds a cluster step that attaches repeats to one open issue (vendor/upstream-triage/README.md:6-8)." Grader right? Cannot tell from the excerpt; it ends at Q1's "Context:" label.context-claims-referenced, regex, pattern not found. Same message as row 18. Grader right? Cannot tell from the excerpt: the text after Q1's "Context:" is cut off.answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "## Round 1: should our intake gain a cluster step? / / Survey.Intake.receiveopens one tracker issue per crash report and nothing groups repeats (triage/intake.py:11). The upstream tool's cluster step attaches a repeat to the open issue with the same fingerprint" Grader right? Cannot tell from the excerpt.context-claims-referenced, regex, pattern not found. Same message as row 20. Grader right? Cannot tell from the excerpt.answerable-without-follow-up, votes FAIL FAIL FAIL. Quote: "Here is what I see in the repo.triage/intake.py:11-13turns every report into its own tracker issue, and its comment says "nothing groups repeats".triage/tracker.pyis an in-memory list whose only method isopen_issue. It can't find an existing issue or attach a report to one." Grader right? Cannot tell from the excerpt.context-claims-referenced, regex, pattern not found. Same message as row 22. Grader right? Cannot tell from the excerpt.Cost
Run
costUsdonly; it already includes the judge's cost, so the judge is counted once.The batch rows are rounded to three places, so they sum to 19.566; the unrounded total is 19.567.
Per case and side (
result-data.txt): main BEFORE 3.921, AFTER 3.777; coded-terms BEFORE 3.024, AFTER 2.987; context-unfamiliar BEFORE 2.875, AFTER 2.982.Verdicts
interview-recommendation-basis-and-flip): MET. Fired reading: AFTER 7 of 8 at 1.00 (the rule needs a rate of at least 7/8), BEFORE 5 of 8. The all-runs reading is the same: MET. Both sides decided (8 fired counted runs each), and no stop fired. Both grader rows were read:checkable-basis-and-flip5/8 to 7/8;states-flip-condition8/8 to 7/8.states-flip-condition8 of 8 BEFORE to 7 of 8 AFTER. The one AFTER failure is batch 3 run 4, whose last message only says the round is above. No other grader of any case has a lower AFTER count.interview-coded-terms-round-answerable: NOT DECIDED. BEFORE fired in 3 of 6 runs, under the 4-of-6 minimum; AFTER fired in 4 of 6. As read, the rule would be met: no grader falls by more than 1/6, and the fired mean goes from 0.333 BEFORE to 0.750 AFTER (all runs: 0.333 to 0.667). These numbers feed no verdict. The fire-rate difference (0.50 against 0.67) is reported, not a verdict.interview-context-unfamiliar-term-upstream: MET, on a floor.answerable-without-follow-up0/6 on both sides;context-claims-referenced0/6 BEFORE and 1/6 AFTER; mean 0.000 BEFORE and 0.083 AFTER. Both sides score near zero, so the result shows nothing about the change.interview-term-clash-qualified-name(batches 9 and 10) and the rest of the 162-case queue. The stop line inprogress.mdreads: "COST STOP at batch 9 (check.py 8): spent 19.567 + worst 21.65 = 41.22 > 40. Nothing after batch 8 launches; the queue is not reordered. The stop falls between pairs, so no batch is unpaired."What this does not show
interview-coded-terms-round-answerablegives no usable signal: BEFORE fired in only 3 of 6 runs, and the loaded AFTER runs opened none of the three changed files a trace can show (loop, sweep, checklist). SKILL.md reaches a run through the prompt's slash expansion, which leaves no trace line.interview-context-unfamiliar-term-upstreamgives no usable signal: both sides sit at or near zero, so a gain or a loss from the change could not show.Remaining
Not delivered here, so #16252 stays open:
interview-term-clash-qualified-nameand the rest of the queue were not run.Related
session: GitHub Support
🤖 Generated with Claude Code