Repository navigation
feat(planning): interview scenario walk and closing summary - #15142
Conversation
When the user calls something unclear, or a question rests on a term the glossary lacks or uses two ways, the interview offers a scenario walk: numbered concrete scenarios inside one question, each with its own recommendation and the term or rule it forces, answered per scenario. Resolutions go on that question's register row; S ids get no row. Before the recap, the confirmation restatement groups what was agreed: decisions changed since read-back, glossary changes, out-of-scope items with where each goes, and an ADR verdict line for every decision. The user can overrule a verdict, which hands the decision to record-decision. The changes-only eval's grader allows the verdict section, which names each decision without its answer. Re-pinned interview-defenses digests: - SKILL.md Stance section: 9c3088b036bb705964f43e66afd4d8d411726487a0253f4c050893bf6f087ee2 -> a00dda2efde22f6c23df82cb71aaf4b074ddb24acab2d8c816d410daaf9f8906. It gains only the scenario-walk bullet, which offers scenarios and never resolves a question itself, so no-silent-resolve still holds. - SKILL.md Step 3 section: 4d5330fb98ba5f5f5b8d5b37e1f79e40063fc02a5cd9b9523990cd2dc27a03b5 -> e0a8172fa2e889baaa3a91276882b446674bb28284cb3e7893f351ac59896f36. It gains the closing summary before the recap; the confirmation gate, register gate and procedure check are unchanged, so the restatement still waits for an explicit confirm. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- A user who asks for scenarios gets the walk without the offer. - A reply answering only some scenarios leaves the row open. - ADR verdict lines name the passing part of a recorded decision; the Decision record step asks record-decision to name it. A handoff the user declined under domain_docs ask reads "ADR candidate, not checked", and under ask the overrule is the answer. - The walk eval's id regex requires S<N>: as the rule does; the shape grader asks for a person and an amount, day or date. - Drop a duplicated pin comment. Re-pinned interview-defenses digests: - SKILL.md Step 3 section: e0a8172fa2e889baaa3a91276882b446674bb28284cb3e7893f351ac59896f36 -> 2a1a5e1658fa6930bedc9758144e08ceb6584f4367cea47ed403adc46a25658a. Only the ADR verdict and overrule sentences changed; the confirmation gate, register gate and procedure check are unchanged. - loop.md Step 2 section: 4424620c88cccedd541264f95fef1338f443479e171149a07ae6418f1faf8bbf -> 4edcf7128d4e13f95205a36e07716753540ed8a4b9f8a3fde0a10115e1c203b6. Item 8 adds the request to name the passing part; no constraint-ledger row or process-change definition changed. 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): PR #15142,
|
|
claude-review reviewed Code review (incremental, blocking only): scenario ids qualified once the sweep has rowsI read every hunk of the 4 files changed since
This lane already reviewed an earlier head, so this review reports blocking findings only. It found none. Earlier finding addressed. The earlier advisory finding (thread) said walk scenario ids collide with the sweep's
The overlap case I described before ( What I checked by reading the code (no shell, so I ran none of it):
The test results, and Closing issue: none. The PR says it comes from owner decisions in an interview round. Changelog: the fragment now describes the qualified ids and the new gate rule. |
A scenario walk's S<N> shared one namespace with the sweep's S<N> rows, so a round could show S1 meaning both. Once the ledger holds sweep rows, scenarios are written Q17.S1 in the round, the answers and the register resolution. check-round-codes.sh now skips a question-qualified scenario id, and fails a scenario opened with a bare S<N>: that is also a sweep id. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Post-merge mutation testingKilled 2, survived 1, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
No related issue: owner decisions from an interview round
Summary
/planning:interviewgains a scenario walk for unsettled terms and a closing summary before the confirmation recap.S1,S2, ... inside one question. Each names people, amounts and dates, states what it tests, and ends with its own recommendation and the term or rule it forces. The user answers per scenario ("S3: a"). Resolutions go in that question's register row; agreed terms go to the glossary through the existing vocabulary path. An opt-in diagram through/visualization:visualizeis offered when available./architecture:record-decision.Fix
skills/interview/context/scenario-comparison.md: new "Scenario walk" section (when to offer, shape, recording).skills/interview/SKILL.md: one scenario-walk bullet beside scenario comparison; a "Closing summary" paragraph in Step 3 before "Recap and procedure check".domain_docs: offor noarchitectureplugin, the line readsADR candidate, not checked.interview-final-brief-changes-onlyrule stands. Glossary changes, out-of-scope items and the ADR verdict lines are listed in full. Every decision therefore appears once, on its verdict line, where it can be overruled. That case's grader now allows an ADR-verdict section that names each decision without its answer, and gains a pass sample showing it. It is not weakened otherwise.check-open-questions.shis unchanged.check-round-codes.shalready reads an assumption sweep's- S<N> |rows as codes. A scenario that opens withS<N>:passes, and a bare one fails. Two tests now cover this with a sweep-row ledger.actions/restate.mdis unchanged. It is a one-paragraph Goal, Problem and Done restate with no Q-by-Q recap, and its yes is not the Step 3 gate.restateop has fixed fields (decisions,outOfScopeand others), so for now the grouped summary and ADR verdict lines appear in the terminal lane's restatement only.interview-defensesdigests re-pinned for the Stance, Step 3 and loop.md Step 2 sections. The commit message gives old -> new for each pin and why each defense still holds.Verification
New eval cases:
interview-scenario-walk-two-purchase-kindsandinterview-adr-verdict-overruled.validate-cases.pyreports no FAIL on the planning suite. The LLM-grader samples are uncalibrated and need a paid judge run.check-round-codes.test.sh,check-open-questions.test.sh,interview-defenses.test.sh,repin.test.sh,repin-digests.test.sh,eval-scaffold.test.sh,decision-levels.test.sh,artifact-exception.test.sh,standards-binding.test.shandinterview-surface-decision-mirror.test.shall pass.A ledger row resolved
S1: a, reschedule; S2: b, cancelpassescheck-open-questions.shboth by default and with--procedure.scripts/check-changed-skills.sh origin/mainpasses with warnings that were already there; the body grew from 419 to 429 lines.The CI review lanes were failing, so local reviews in fresh-context subagents stood in for them. The code review raised two important findings and five suggestions, all fixed in the second commit:
domain_docs: askis covered.The security review found nothing. Re-pinned the SKILL.md Step 3 and loop.md Step 2 digests, with old -> new in the second commit.
scripts/check-affected.shpasses (15 passed, 1 skipped), as do the vocabulary, em-dash and fixture-isolation scanners.Related
/architecture:record-decision"Admission test" (the single statement of the test).Actions:line, admission): #15140.🤖 Generated with Claude Code