Skip to content

feat(planning): open the interview description with the vague build case - #16619

Merged
kyle-sexton merged 4 commits into
mainfrom
feat/14879-option-b-listing
Nov 16, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
feat/14879-option-b-listing

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #14879

Summary

With only the planning plugin installed, a bare vague build request ("Add notifications to the app.") went straight to code without asking about the problem or scope. This PR changes one line: the interview skill's description now opens with that case. Of four options measured in one pass, the owner chose this one (option B).

How each done-when item is met:

  • Options compared, and an approach chosen by the owner. Four options were measured in one pre-registered pass (results below). On 2026-11-16 the owner was asked "Q17. feat(planning): route bare vague build prompts to the interview #14879: which approach ships? B (recommended): the one-line description change; it reaches the bar with no new mechanism". The alternatives offered were D and A. He then ran the one-line pin command for B himself, and that is his choice of B.
  • interview-bare-vague-build-asks passes at least 2 of 3, and interview-bare-vague-explore-no-extra still passes 3 of 3. The compare ran 6 runs per option per case, so the registration scaled both bars (see Verification). B passed the build case in 5 of 5 counted runs and the explore case in 6 of 6.

Fix

  • plugins/planning/skills/interview/SKILL.md: the description now opens with "First step for a build request that names no problem, users or scope, such as 'add search to the product': asks those before any code is written." The rest of the description is unchanged. The example is deliberately not the eval prompt.
  • plugins/planning/tests/interview-defenses.test.sh: re-pins the frontmatter digest for the new description.
  • A changelog fragment under .changes/planning/.

How B differs from the reverted edit: the issue's Evidence section records an earlier attempt that added a Use-when clause, "a build request that leaves its problem, users or scope open". That attempt scored 0 of 4 and was reverted under owner decision Q16 on 2026-11-09. B makes three changes. It moves the case from the trigger list to the first words of the description. It gives a concrete example. It states what the skill does, which is to ask before any code is written. In the compare, the interview skill was called in 6 of 6 of B's build-case runs. The control called it in 0 of 6.

Changes on main since the measured head: the compare measured B at 85b61a2517c4179b4666c9d33d27c5046fd7a6f2. Main has since been merged into the branch without conflicts. In the measured paths, main changed one thing. #16587 rewrote one sentence in the "Agree the terms before the first decision" paragraph, in the Stance section's Relentless mode subsection, so that every question defines inline each term it relies on. The compare did not measure that change. The description line this PR changes is the same as the measured one. The two measured eval cases are unchanged.

Verification

The compare was a local pre-registered eval. It is not committed, per this repository's rule for one-off eval harnesses. Its setup:

  • Model: sonnet, with only the planning plugin installed.
  • 6 runs per option per case.
  • A run passes when it scores at least 0.8.
  • A run with a denied tool call is excluded from the count, with at least 4 of 6 runs counted per cell.
  • The counting rule (score of at least 0.8), the exclusion rule and the floor were set in an amendment to the registration before any run.
Option Build case (counted runs passed) Excluded Skill called (build) Explore case Verdict
C, control (main) 2 of 6 none 0 of 6 6 of 6 NOT MET
A, UserPromptSubmit hook 5 of 5 1 1 of 6 6 of 6 MET
B, this PR 5 of 5 1 6 of 6 6 of 6 MET
D, SessionStart note 6 of 6 none 6 of 6 6 of 6 MET
  • How the bar was scaled. The issue writes its bar for 3 runs: 2 of 3 for the build case and 3 of 3 for the explore case. The registration kept those ratios. The build case must pass in at least ceil(4/6 x counted) counted runs: 4 of 6, 4 of 5 or 3 of 4. The explore case must pass in every counted run. B meets both, with 5 of 5 against a bar of 4, and 6 of 6.
  • The control. Here the control passed 2 of 6 at a score of at least 0.8. The issue records 0 of 3, and then 0 of 4, in earlier runs under a different counting rule. The comparison is still fair, because all four options were scored the same way in this one pass.
  • A, B and D are not distinguishable from each other at 6 runs. All three meet the bar. B was chosen because it adds no mechanism. D needs a hook process per session and an exception to the hook-observability frequency rule. A needs a hook process on every prompt and has the most moving parts.
  • Excluded runs. One run each in A and B was excluded. In both, the interview skill's own ledger-copy step (mkdir -p .work/<topic> && cp .../templates/checklist.md ...) was denied in the eval sandbox. That step is on main too, so this PR does not cause it. It is listed below under "Separate defect".
  • Smoke test. A 2-run smoke on option A passed 2 of 2 and returned GO. An earlier registration's smoke was voided by a crash in that registration's own trace checker, not by missing evidence. Nothing else ran under it.
  • Cost. At list price, this registration cost 6.5307 USD. The voided earlier smoke cost 0.3286 USD. The total is 6.8593 USD.
  • Test. After the merge of main, plugins/planning/tests/interview-defenses.test.sh passes 185 of 185, and the frontmatter pin still holds.

Separate defect: the interview ledger copy is denied in the eval sandbox

When the interview skill copies its checklist template into .work/ (its "Emit checklist" step), that call is denied in the claude plugin eval sandbox, on main as well. This cost one counted run each in options A and B here. It needs its own issue: either the skill step or the eval's tool allowances should change. This PR does not fix it.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 3 commits November 16, 2026 11:13
Option B of the #14879 comparison: the interview skill's description
starts with its use for a build request that names no problem, users or
scope, with an example, so the skill listing shows that case first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…description

The description now opens with the build request that names no
problem, users or scope. The owner chose this option and applied the
pinned digest by hand.

Refs: #14879

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MWmASMXyUAaNx5GqGM3h6c
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 16, 2026 19:49
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T19:50:55.491329Z 8c7c9d8 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.

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #16619 (incremental since 8c7c9d87)

I found no security issues. I read the whole incremental diff: one hunk in its only listed file.

  • plugins/planning/tests/interview-defenses.test.sh: adds one comment line (# #14879: ...). It explains why the existing frontmatter digest pin still keeps the auto-guard and lock STOP-on-gap defenses. The pin_frontmatter call and its digest are unchanged, and nothing that executes changes.

The file matches no TRUSTED PATHS glob. No trust control, token scope, kill switch, merge hold, plugin manifest or userConfig key changes, and no standing instruction is deleted or weakened. This lane already reviewed an earlier head, so this review was blocking only and reports only CRITICAL or IMPORTANT findings. There were none.

Spend: none. A comment-only test change has no spend.

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 8c7c9d8763630aab86913c531432ba0dfa1889bf; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: PR #16619 (incremental, blocking only)

This is an incremental review covering the change since 8c7c9d87. Only blocking findings are reported, because this lane already reviewed an earlier head. I read the one file in scope in full: plugins/planning/tests/interview-defenses.test.sh.

What changed: one line was added above pin_frontmatter. It is a # #14879: … comment giving the reason for the re-pin, in the same form as the earlier re-pin comments in this file. This fixes the one finding from the last review, the missing reason comment for the re-pin, which the owner has since resolved.

Is the comment accurate? Yes, as far as the diff shows. Across the full PR diff, the only frontmatter change in plugins/planning/skills/interview/SKILL.md is the description line, which now opens with the vague-build sentence. argument-hint, user-invocable and disable-model-invocation are unchanged, and nothing about auto or lock was added. So the claim "every other key byte-identical, no qualifier added" matches the diff. The pinned digest did not change in this push. I could not check that it matches the new frontmatter because this lane has no shell. The author says the test passes 185 of 185; that is unverified here.

No new findings. Nothing here costs money.

Verifier dropped 0 of 0 candidates.

… defenses

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MWmASMXyUAaNx5GqGM3h6c
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 16, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit 9e75246 Nov 16, 2026
49 checks passed
@kyle-sexton
kyle-sexton deleted the feat/14879-option-b-listing branch November 16, 2026 20:44
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 16, 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.

feat(planning): route bare vague build prompts to the interview

1 participant