Repository navigation
Description
Problem
/planning:interview starts most human-in-the-loop sessions, and its rounds had drifted: question
ids jumped or were renumbered (#7541), a contradicted answer had no way back except a new question,
round 1 put recommended answers in the user's mouth before the problem was known, every round
printed every evidence line, and several rules were stated two ways across the skill's files.
Owner decisions this work implements
- Remove the per-round contradiction pass and its legacy eval case 36; the end sweep and the new case
interview-sweep-reports-contradictioncarry the check:
https://github.com/melodic-software/architecture/blob/b668e15b1993eb4df14ae8c0c60a31c43fa4adc7/docs/owner-decisions.md#L297
verbatim: "I approve this plan." and "go w/ recommendations" - A gap in question ids passes the register gate only where a
- gap |line declares it, and
export-ledger/sync-ledgerwrite- gap | Q<a>-Q<b> | never assignedfor ids no ledger row and
no page question ever held; an id the ledger held is never declared:
https://github.com/melodic-software/architecture/blob/b668e15b1993eb4df14ae8c0c60a31c43fa4adc7/docs/owner-decisions.md#L298
verbatim: "go w/ recommendations" - The owner's ruling on fix(planning): interview page sync-ledger renumbers register ids and breaks cross-file references #7541: "Keep ids (do not refuse)".
Acceptance
- Question ids come from
round.sh next-idand are never reused or renumbered; a contradicted
answer reopens under its own id with every dependent flagged for recheck. - Rounds print at a
question_detaillevel (defaultstandard); the saved round file keeps the
full block; the round-file check fails a question with no recommendation-type line and a header
with noScope check:line. - Round 1 of a request with unknowns asks only open discovery questions; a question a running
lookup could change is held; one blind recommender drafts recommendations. - Person check: The eval gate: every results file VALID and not partial; no kept or out-of-tag case regresses
(fails on the new skill while passing on the old one); every rewritten case fails on the old skill
and passes on the new one; every new case passes on the new skill;CI Statusgreen. Amended
by the owner on 2026-11-22 ("Amend the gate", "Add it to the known gaps", "Known gaps, then
merge"): the known gaps tracked in planning: close the three interview eval gaps left after the redesign (single pacing, basis, terms) #18216 do not block, and a case failing on both skills whose
grader passes its own PASS sample is pre-existing. The eval runs and their results files live in
the repository's gitignored.work/(AGENTS.md). The owner confirmed the gate on 2026-11-22,
verbatim: "Known gaps, then merge (Recommended)".
Eval check changes in scope
Each check below accepts more than before, and is in scope for these reasons. The owner's
standing rule for graders (2026-11-22, verbatim): "make sure that our evals ... is accurate and up
to date and applied, targeted towards the skill": a grader that fails a reply the redesigned skill
is required to give is wrong, and every LLM-rubric edit is checked on the real judge with a PASS
and a FAIL sample. Regex edits are checked by the validator's samples and a regrade of the saved
replies.
interview-handoff-unsure-midflownames-workflow-navigator: a negation inside a quoted user
phrase no longer negates the navigator; a quoted span is skipped whole, so a negation before a
quoted navigator still fails (FAIL samples for both quote styles).interview-intent-asked-recordedasks-second-variantandregisters-intent-row,
interview-intent-prototype-one-lineasks-a-roundandone-line-intent,
interview-lock-restates-problemconfirmation forms: aligned with the redesigned round layout
(the❓ Q<N>marker, round 2 opening at Q3, a yes/no question naming its provider, the
restatement-confirm forms). Owner, 2026-11-21, verbatim: "Approve the edits (Recommended)" and
"Approve both (Recommended)".asks-a-roundcounts a numbered list item only when its own line
asks the question.no-networktag on the interview run set: the eval plugin's documented tag for a case whose
graders need no network (plugins/evals/skills/plugin-eval/SKILL.md); the rule, set before any
counted batch, tags a case only when its prompt or scaffold supplies every fact its graders
check, so a with-arm network denial cannot change a score.- The six
interview-pacing-*cases are retired;interview-single-pacing-one-questionchecks
single pacing at the new layout (a known gap in planning: close the three interview eval gaps left after the redesign (single pacing, basis, terms) #18216). Owner, 2026-11-21, verbatim: "go w/
recommendations" (keep the six pacing cases retired with the new coverage case). timeout_seconds600 to 900 andmax_turnsraised on the interview cases: the redesign spends
more tool calls per round (next-id, the round check, the recommender); measured new-skill runs
used 20-23 turns. Both arms run on the same caps.interview-recommendation-basis-and-flipstates-flip-conditionremoved: the skill states a
Flips if:line "ONLY when such a condition exists" (SKILL.md), and that criterion now lives in
checkable-basis-and-flip. Owner, 2026-11-21: split basis-and-flip into single-criterion
graders ("Just go with recommendations ... ensure the evals ... are also valid"). The case is a
known gap in planning: close the three interview eval gaps left after the redesign (single pacing, basis, terms) #18216.interview-reported-problem-instance-questionone-instance-question: the rubric failed its own
PASS sample on the real judge; amended and checked both ways. Its dropped clause (e) is checked
by theno-plan-write/no-plan-edittool graders, which now fail a write to any Brief file.interview-round1-unknowns-offers-wayfindround-one-offer-and-questions: round 1 is an intake
round of open discovery questions (acceptance above), so the wayfind offer is the one-line
Suggested next:route and the unknowns may sit on theLater:line.interview-round-topic-groupstopic-groupsandinterview-single-pacing-one-question
one-question-full-layout: a withheld question carries aWithheld:line naming the settling
evidence in place of a recommendation (SKILL.md "A withheld question carries no recommendation
marker"). Owner, 2026-11-21, verbatim: "Approve the edits (Recommended)".wayfind-chart-seeds-from-interview-ledgeropen-questions-are-itemsand
interview-wayfind-size-suggestionsuggestion-is-a-pointer: a ledger question the interview
asks as a ready question is not lost to the chart, and the count may include the question asked
in the same message. Owner, 2026-11-22, verbatim: "Align all three (Recommended)".- Realigned to the default
question_detail: standardlayout, which prints the evidence label and
source in the recommendation's reason instead of aBasis:line (acceptance above); each keeps
its evidence requirement and gains a FAIL sample for a reason with no evidence label:
interview-coded-terms-round-answerableanswerable-without-session,
interview-discuss-sets-discussingdiscussion-not-answer,interview-owner-deferred-document
document-beside-next-step, the Context-block end markers ininterview-context-unfamiliar-term-upstream
context-claims-referenced, and "basis" read as "printed reason" in theinterview-option-*
criteria. Owner, 2026-11-21, verbatim: "Approve the edits (Recommended)". interview-prescribed-solution-rethink: theevidence-ratedgrader is removed and its criterion
inverted, because the intake round's problem question states no inferred problem or rating.
Owner, 2026-11-22, verbatim: "Rules give: ask open (Recommended)" (a discovery-only intake round
asks the problem without stating an inferred one).check-open-questions.sh: the## Reopened answerssection's- Q<N> | round <n> | was: … | fact: …lines are not register rows; they record the reopen in the first acceptance item. A full
register row under that heading still fails.scripts/org-repo-tokens-allow.tsv: one counted entry forplugins/planning/offers/offerable.json,
whose glossary offer installsdomain-driven-designfrom this marketplace. The locked Brief puts
the glossary install offer in scope: when the glossary plugin is not installed, the opening
offers its install once.
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 21, 2026
Size: Large
Complexity: High
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: the planning plugin's interview skill files, surface/round.sh and its tests, the interview evals and the plugin CHANGELOG; everyone who runs /planning:interview.
Reversible: yes; revert the change, though ledger files already written with
- gap |lines would keep them.Open questions: none
Understood: redesign /planning:interview so ids are stable and never reused, a contradicted answer reopens under its own id, rounds print at a
question_detaillevel, the round-file check is stricter, round 1 asks only discovery questions when unknowns exist, and each rule lives in one file. The body records the owner decisions and gives an exact done-when, so there is no intent question. The work is Large and could be split into the id/ledger scripts, the print level and round-file check, and the round-1 rules plus evals. Related open issues: #17736 (may touch the same skill files), #14878 and #16626 (interview evals already failing on main, which affects the eval gate baseline). No duplicate and no merged fix found.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 21, 2026
Not admitted to the issue lane: Size large: every sub-issue is closed, but it is still open, so an item no sub-issue covers or a sub-issue's close keeps it from closing as a finished split (owner Q93). Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).melodic-automation-lanes commentedon Nov 21, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Redesign /planning:interview so question ids come from round.sh next-id and are never reused, a contradicted answer reopens under its own id, rounds print at a question_detail level, the round-file check is stricter, round 1 is discovery-only when unknowns exist, and each rule has one home.
Acceptance criteria
next-idsubcommand, and a test in surface/test_round.py shows it never returns an id a ledger row or page question already heldquestion_detailsetting exists with defaultstandardand is documented once in context/session-config.md; a printed round atstandardomits evidence lines, while the saved round file keeps the full blockScope check:line, each covered by a test that fails before the change- gap |line declares it; export-ledger and sync-ledger write- gap | Q<a>-Q<b> | never assignedonly for ids no ledger row and no page question ever held, and a test shows an id the ledger held is never declaredinterview-sweep-reports-contradictionexists and the end sweep carries the contradiction checkCI Statusis green on the pull request, and plugins/planning/CHANGELOG.md records the changeExternal state: none
Dependencies
Related work
Sources read
reopendecision exists on the surface and clears an answer while keeping the notenext-idsubcommand exists yetquestion_detailorScope check:text exists yetAutomated refinement by the lanes App. Intake triages the issue again with it.
melodic-automation-lanes commentedon Nov 21, 2026
Split at intake (owner Q93). This issue is Size Large, so its done-when is split into 6 sub-issues, each holding its task-list lines as written.
Automated split by the lanes App. Admission waits on this issue while a sub-issue is open; work-unblock closes it as completed once every sub-issue is closed as completed by a merge or a listed human and its done-when is covered.
kyle-sexton commentedon Nov 21, 2026
This issue is delivered as one change: PR #17965 (branch feat/interview-redesign) builds every acceptance item and closes it; the merge is gated on the eval comparison in that PR. The six intake parts (#17971-#17976) are closed as duplicates so no lane rebuilds the same files in parallel. The split was triggered by Size Large at intake; the filing session should have marked the issue as session-owned and the repository has no such label.
kyle-sexton commentedon Nov 23, 2026
Published plan for the merged PR #17965, at standard depth (the full plan stays local):
Published plan (standard depth)
Standard: these constraints and the order of work; the details are yours.
Brief
TLDR
Problem
Intent
"The primary thread or thing across all of these skills, especially in the human loop, as understanding what the intent, vision, and goals are, and what the problem we're solving is upfront. If the user doesn't know, then it's getting that and helping the user understand and figure out what they want. Once that's captured, everything across all phases should be driven by data, facts, metrics, truth, plus the latest consensus-based research from official, authoritative, and trusted sources."
Goal
An interview that captures intent, vision, goals and the problem first (helping a user who does not know yet), then grounds every recommendation in facts and current authoritative research, asks each question once with no rework from late lookups, shows rounds in a readable, configurable layout, keeps question numbers stable, guards against bias in both directions, and says accurately when work should move to /planning:wayfind.
Work size
Constraints
Acceptance criteria
/evals:validateruns on the interview suite and every one of the 68 cases is classified keep, rewrite or retire with a one-line reason, in a table in the PR bodyquestion_detailsetting offers full, standard and minimal, defaulting to standard; the saved round file holds the full block at every level---rule between questions; no level hides the recommendation and its reason, a reused literal, commitment parts, Withheld or Flips ifCaptured assumptions
Out-of-scope
ADR verdicts
Deferred questions
Design
Early exit, tier B (
design/design-resolution.mdin the topic's memory slice): the owner assigned the mechanics to/planning:plan(ledger row Q49), the Brief locks the behavior, and no module boundary changes. [EXEC-SHAPE D1]Contracts
Register row: the column count is unchanged. Five new tags form a tail at the end of the resolution cell, after the answer (plain text or the exporter's named fields) and before
stale::. Each tag's value is a fixed token shape with no free text, so the tail is peeled from the right by one anchored pattern, the way the stale tail is today (plugins/planning/surface/exporters.py:174-177,plugins/planning/scripts/check-open-questions.sh:747). The tags are not added to the exporter's ordered field list (plugins/planning/surface/exporters.py:164), whose parser refuses unknown and out-of-order fields.kind::is written only on a discovery question; a row without it is a decision question.problem::names one row of the ledger's new## Problemssection:- P<n> | <one-line problem> | <proposed|agreed>.depends::lists the earlier questions this one rests on.reopened::is written by the reopen command, which sets the row back toopen. The old answer and the contradicting fact are free text, so they go in the ledger's new## Reopened answerssection, never in the row:- Q<N> | round <N> | was: <old answer> | fact: <the fact and its source>.recheck::is written on every row that depends, directly or through other rows, on a reopened one, naming the reopened ids; the gate blocks on it as it blocks onstale::, andround.sh reopen --rechecked Q<N>removes it once the user has reconfirmed or changed that row.- gap |line declares ids that intentionally have no row; the gate refuses any other gap. It is written by hand where a gap is intended (a legacy ledger, a shared session whose ids ran ahead), andsync-ledgerkeeps it because it replaces only question rows (plugins/planning/surface/exporters.py:943-951). Amended 2026-11-21 (owner, "go w/ recommendations", new D2):export-ledgerandsync-ledgeralso write- gap | Q<a>-Q<b> | never assignedfor ids no ledger row and no page question ever held, only where no gap line already covers them; an id the ledger held is never declared.meta.seededFrombeside the round cells the exporter already carries (plugins/planning/surface/exporters.py:43-46), and an export writes it back unchanged, so a page session never drops a tag. The page's own one-hop stale marking is untouched.Commands added to
plugins/planning/surface/round.py, run throughround.sh, each reading the ledger alone unless--diris given:Setting:
question_detail, valuesfull,standard,minimal, defaultstandard, declared besidequestion_pacingand resolved through the same four layers (plugins/planning/reference/config.md:143-149), with a request in the session overriding it.What each level prints, from the same full block:
Context:block, short named linksSource:quoteMy recommendation:with its reason, including any reused literal valueWithheld:orDiscovery:lineSecond view:andDeparts from:lines (the recommender's)Flips if:Commits you to:partsOrigin:,Basis:,Checked against:Alternatives:say "more Q<N>"Alternatives:;---between questionsRound file: each question block carries exactly one of
My recommendation:,Withheld:,Discovery:or, in the product action,Strong answer:(plugins/planning/skills/interview/context/product.md:57-61); the round header carries oneScope check:line.Agent:
plugins/planning/agents/interview-recommender.md, read-only tools, no conversation context, and nomodelfield, so it runs on the session's model and the file names none. Input: facts, constraints and settled decisions. Output per decision question: one recommendation with a short basis, plus a one-sentenceDeparts from:line where it departs from a settled decision.Behavior
question_detaillevel (standardunless set), no level hides what the user accepts, and the saved round file always holds the full block. (AC5, AC6)Flips if:carries aSecond view:fact, a reason's unsourced fact is researched or withheld, and single pacing names no open branch. (AC6, AC7)A fresh-context reviewer reads each rounddropped (Phase 11 scope change); the AC10 recommender is unchanged. (AC10)Process criteria: AC1, AC2, AC3, AC15
Phase outline