Skip to content

feat(planning): interview domain_docs setting, scenario comparison and trimmed question layout - #14953

Merged
kyle-sexton merged 6 commits into
mainfrom
feat/interview-domain-docs
Nov 10, 2026
Merged

kyle-sexton merged 6 commits into
mainfrom
feat/interview-domain-docs

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

No related issue: implements owner decisions Q70-Q72 and Q74-Q76 from a domain-language design interview; no tracker item was filed for them.

Summary

Four owner decisions about /planning:interview: whether it writes the glossary and ADRs becomes a setting, candidate terms get compared over concrete scenarios, the per-question layout gets shorter, and the skill's own text stops saying "grilling".

Fix

  • domain_docs convention-home key (auto default, ask, off; no userConfig layer): auto keeps today's behavior, ask asks before each glossary write or ADR proposal, off writes neither and records them in the register. Schema, config reference and the Domain-aware behaviors block updated. Q71 (glossary and ADR skills stay model-invocable) needs no change: both already are.
  • Scenario comparison (new context/scenario-comparison.md, one line in SKILL.md): offered when two or more candidate terms or models compete, or on request; scenarios as rows, candidates as columns, then where each helps, makes no difference, and costs.
  • Question layout: the Inference: line folds into the recommendation's reason; Checked against: and Flips if: show only when they carry something. Context, Source, Origin, Basis, Commits you to and Alternatives stay. loop.md, question-shape.md, product.md and audit-answers updated to match.
  • "Grilling" wording becomes interview wording in the skill text; the "grill me" trigger phrase stays in the description.

Verification

  • plugins/planning/tests/interview-defenses.test.sh: PASS after re-pinning the Stance and loop Step 2 sections (justification recorded in the test).
  • plan-size-keys.test.sh and plan-stress-test.test.sh (schema readers): pass; check-skill.sh plugins/planning/skills: 12 passed.
  • Left out: the page lane (surface/round.py) still accepts an inference field; Q74 was decided for the terminal layout and the page needs no change to render the shorter shape.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG

kyle-sexton and others added 4 commits November 9, 2026 21:35
…guage

The skill now owns every glossary operation through five actions: locate,
lookup (the one read path for other skills), seed, curate and audit. The
contract gains a header sentence for Avoid, states listed under their
entity, and an optional "Shown to users as" line; the map file is called
the glossary index. testing:write reads the glossary as an explicit
prerequisite step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG
Every skill that reads the glossary before naming something now invokes
/domain-driven-design:ubiquitous-language lookup, with a repository search
fallback when that plugin is absent: architecture:improve, planning
interview, prd and plan, work-items triage and decompose, discipline
wait-what, discovery explore, naming name-it-better and the review
code-reviewer agent. Writers call the curate action. Eval case
descriptions cite sections instead of stale line numbers, generated docs
are regenerated, interview digests are re-pinned, and every touched
plugin carries a changelog fragment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG
Action files are read verbatim, so the settings steps that need the
harness-filled values move from actions/locate.md into SKILL.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG
…rimmed question layout

Owner decisions Q70, Q72, Q74, Q75 and Q76: a domain_docs setting
(auto, ask, off) gates the glossary and ADR writes; a scenario comparison
is offered when candidate terms or models compete; the Inference line
folds into the recommendation reason and Checked against and Flips if
show only when they carry something; "grilling" wording becomes
interview wording. Interview digests are re-pinned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG
Base automatically changed from feat/ubiquitous-language to main November 10, 2026 03:20
…-docs

# Conflicts:
#	plugins/architecture/skills/improve/actions/deepening.md
#	plugins/domain-driven-design/skills/ubiquitous-language/actions/locate.md
#	plugins/naming/skills/name-it-better/SKILL.md
#	plugins/planning/skills/interview/SKILL.md
#	plugins/planning/skills/interview/context/loop.md
#	plugins/planning/skills/prd/SKILL.md
#	plugins/planning/tests/interview-defenses.test.sh
#	plugins/review/agents/code-reviewer.md
#	plugins/testing/skills/write/SKILL.md
#	plugins/work-items/skills/decompose/SKILL.md
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 10, 2026 03:21
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-10T03:22:02.117497Z
We couldn’t complete this review. Comment @codex review to try again.
96488bc Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 270be093711d474a35e8b8cc2cfe99211ad77a5f: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #14953, incremental since 96488bcc

This review covered only what changed since the last one, so it was blocking only: SUGGESTION findings would have been dropped. I read every hunk of both files listed in .claude-lane/incremental-files.txt. Neither file matches a TRUSTED PATHS: glob.

No security issues found.

  • plugins/planning/skills/interview/context/loop.md, step 7 (Domain check): the step now says the glossary write depends on domain_docs: ask asks first, and off records the term instead of writing it.
    • This only narrows what the step allows. auto keeps the earlier behavior, and the other two values add a question or remove the write.
    • It brings the loop in line with SKILL.md "Domain-aware behaviors". That was the point of a thread on this line, which the owner resolved with this fix (settled, lines changed since resolution: no).
    • It adds no new tool use, write path, command or external call.
  • plugins/planning/tests/interview-defenses.test.sh: the one pin_section hash for loop.md Step 2 is re-pinned, with a comment explaining why. The text inside that section changed only by the step 7 edit above, and the pin mechanism itself is unchanged.

Instruction-surface lens: the change adds a condition to an existing write and removes no rule.

Untouched: no trust control, token scope, kill switch, merge hold, workflow, .github/actions/ file or plugin manifest is changed.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 96488bcc593c89eb59f3697d3d772938586ed2ff; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 270be093711d474a35e8b8cc2cfe99211ad77a5f: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #14953, incremental (96488bc → 270be09)

Blocking only: this lane already reviewed an earlier head, so I report only blocking findings.

I read every hunk of both files in the incremental scope:

  • plugins/planning/skills/interview/context/loop.md
  • plugins/planning/tests/interview-defenses.test.sh

Earlier finding is fixed. The earlier finding was that loop.md step 7 (Domain check) ignored domain_docs (thread). That thread is resolved, and the change fixes it. Step 7 now says the curate write in engineering sessions happens "per domain_docs (ask asks first; off records instead of writing)". That matches SKILL.md "Domain-aware behaviors" and the domain_docs row in reference/config.md. Under off, the term still lands in the resolution field of its register row, which is the same fallback as the general-session branch.

Test re-pin: step 7 sits inside the pinned "Step 2. Drive the decision tree" section, so the loop.md section digest had to be re-pinned. The PR re-pins it and records why in a new comment line, as the file does for earlier re-pins. The old digest appears nowhere else under plugins/planning. Without a shell, I couldn't recompute the new SHA-256 or run interview-defenses.test.sh, so whether the new digest is correct is unverified.

Findings: none.

Manifests: this push changes no plugin manifest.

Closing issues: the PR names none, so there are no acceptance criteria to check.

Spend: none. The change only edits skill documentation and a test digest.

Review finding on #14953: loop.md step 7 now follows domain_docs the way
SKILL.md Domain-aware behaviors does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit f6297ed Nov 10, 2026
82 of 84 checks passed
@kyle-sexton
kyle-sexton deleted the feat/interview-domain-docs branch November 10, 2026 03:55
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant