Skip to content

test(planning): route a person-deferred interview item to questionnaire and re-pin digests - #11258

Merged
kyle-sexton merged 4 commits into
mainfrom
host-run/9793-person-deferred-questionnaire
Oct 30, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
host-run/9793-person-deferred-questionnaire

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Closes #9793

Summary

A deferred person item in the /planning:interview assumption sweep now points at the Step 5 handoff, which recommends /planning:questionnaire so the question becomes a document that person fills in.

Fix

  • context/assumption-sweep.md: unchanged. The issue asked for a sentence naming the Step 5 /planning:questionnaire recommendation, but the new case scores 1.00 on the current text, so the model already follows SKILL.md Step 5 unaided. Under instruction economy a standing line stays only if removing it would cause a mistake, so the sentence is left out and the eval case stays as the guard.
  • evals/evals.json: rubric case 38 person-deferred-routes-to-questionnaire (the issue's "case 30"; the roster has grown since).
  • New plugin-eval case interview-person-deferred-questionnaire with four deterministic graders, each with pass samples and contradictory, partial or wrong-scope fail samples, plus one LLM grader.
  • Both digests re-pinned with plugins/planning/tests/repin.sh, each with a justification comment.

Verification

  • Done-when item 1 (git grep prints a new planning:questionnaire line in assumption-sweep.md) is deliberately not met: the eval shows the line is redundant (see Fix). Its intent, routing a person-deferred item to /planning:questionnaire, is graded by the new case, 3/3 on both texts.
  • jq '[.evals[].name] | index("person-deferred-routes-to-questionnaire")' prints 37.
  • scripts/run-test-file.sh plugins/planning/tests/interview-defenses.test.sh: PASS=174 FAIL=0.
  • scripts/check-changelog-fragments.sh --check: all fragments valid.
  • validate-cases.py plugins/planning/evals: no FAIL and no warning for the new case; every deterministic grader rejects its fail samples.
  • scripts/check-affected.sh --tests on the merged head: 14 passed, 2 skipped.
  • claude plugin eval, before (base) and after (this branch), with/without ablation, 3 runs per arm, opus judge, threshold 0.8: no regression.
Case Before: with / without After: with / without
interview-owner-deferred-questionnaire 1.00 / 0.00 (3/3 pass) 1.00 / 0.00 (3/3 pass)
interview-person-deferred-questionnaire (new) 1.00 / 0.40 (3/3 pass) 1.00 / 0.40 (3/3 pass)
interview-final-confirm-active-reply 1.00 / 0.78 (3/3 pass) 1.00 / 0.78 (3/3 pass)
interview-final-brief-changes-only 0.42 / 0.50 (0/3 pass) 0.50 / 0.50 (0/3 pass)
  • The new case already scores 1.00 on the base text, so it validates the case but does not show the new assumption-sweep.md sentence changes behavior; SKILL.md Step 5 already states the rule.
  • interview-final-brief-changes-only fails equally before and after (changes-only-restatement and omits-unchanged-items fail in every run). This PR does not touch the final-confirm text, so that failure lies outside this change.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 3 commits October 30, 2026 07:14
…re and re-pin digests

assumption-sweep.md now says a deferred person item makes the Step 5
handoff recommend /planning:questionnaire. Adds rubric case 38
person-deferred-routes-to-questionnaire and a plugin-eval case with
fail samples for each deterministic grader.

Re-pinned with plugins/planning/tests/repin.sh:
- context/assumption-sweep.md: 39b818b0...5145c2 -> 588e17ec...cba1b
  (adds a Step 5 recommendation; resolves no row)
- eval-case roster: 26993288...db5873 -> 73b718c3...c943c2
  (case 38 agrees with cases 15 and 16)

Refs: #9793

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed fd7871ae38696d05bb0f03a5b0bd3f4f96c04f74: 0 finding(s), 0 as inline comments.

No security findings in the incremental change.

The change is two files:

  • A changelog fragment, .changes/planning/test-9793-person-deferred-questionnaire-7c2e9a41.md. It is prose only, and it now says the change adds an eval case with no instruction change.
  • plugins/planning/tests/interview-defenses.test.sh. It swaps the context/assumption-sweep.md digest pin back to 39b818b0… and drops the #9793 comment. The full PR diff doesn't touch assumption-sweep.md, so this restores the pin to the unchanged file. That is consistent with the fragment's statement that no SKILL.md or sweep text was added.

Neither file is on the trusted-path list or a trust control. The change removes no standing instruction, because the sweep text is unchanged. It also adds no token scope, actor, or hold, and nothing in it can cost money. I did not re-review the other 11 files, which were unchanged since the last review.

critical-findings: 0

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed fd7871ae38696d05bb0f03a5b0bd3f4f96c04f74: 0 finding(s), 0 as inline comments.

Incremental review of fd7871a since 1dcbd8f: no findings.

This change drops the sentence the earlier head added to context/assumption-sweep.md. It then moves the $SWEEP pin back from 588e17ec… to 39b818b0… and rewrites the changelog fragment to match.

  • Pin and file agree, by inference only: The full PR diff (.claude-lane/pr.diff) has no hunk for assumption-sweep.md and no $SWEEP pin change, so 39b818b0… should be the base pin for the base file. I had no shell, so I did not recompute the sha256 myself. The PR body reports interview-defenses.test.sh at PASS=174 FAIL=0, but that run was not re-run here and predates this commit's re-pin, so treat it as author-claimed.
  • Routing text already exists: SKILL.md Step 5 names /planning:questionnaire for person-held deferrals (SKILL.md:340, context/surface.md:284, context/composition.md:24). The fragment's claim that no instruction was added holds.
  • Closing issue test(planning): route a person-deferred interview item to questionnaire in assumption-sweep and re-pin the digests #9793: Done-when item 1 (a planning:questionnaire line in assumption-sweep.md) is deliberately unmet, and the PR body explains why: the new case scores 1.00 on the base text. The other three done-when items (the eval case, the defenses test, the changelog check) are covered by rubric case 38 and the roster re-pin. Because the case is graded, it would fail if the Step 5 routing broke.
  • Fragment: bump: patch fits an eval-only change. The rewritten text matches what the diff does.
  • Spend: the eval case adds a plugin-eval run on prepaid or subscription credit, not a billed resource, so there is no hold.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1dcbd8f3cb

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T13:35:17.918778Z 1dcbd8f 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.

@kyle-sexton
kyle-sexton enabled auto-merge October 30, 2026 13:45
…ep sentence

The new case scores 1.00 on the unchanged text, so the added sentence is a
standing instruction the model already follows (instruction economy).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head fd7871ae38696d05bb0f03a5b0bd3f4f96c04f74. What it wrote, as data:

What it wrote (26 lines)
Summary: The PR doesn't fully deliver issue #9793. The issue's first done-when item asks for a new
  sentence in `plugins/planning/skills/interview/context/assumption-sweep.md` routing a deferred
  `person` item to the Step 5 `/planning:questionnaire` recommendation, so that `git grep -n
  'planning:questionnaire'` prints it. The PR leaves that file unchanged on purpose and says so in
  its body. The PR author's review comment agreeing to drop the sentence is context, not spec. The
  trusted issue body still requires the line, and it has no `person_checks` excusing it. The rest is
  delivered: eval case 38, the roster re-pin with its justification comment, and the changelog
  fragment.
- plugins/planning/skills/interview/context/assumption-sweep.md: required change is missing. After
  "`### Deferred questions` with its arbiter tag." add "A deferred `person` item is also named in
  the Step 5 recommendation of `/planning:questionnaire`, which sends it to that person." Then
  re-pin its `pin_file` digest in `plugins/planning/tests/interview-defenses.test.sh` with
  `plugins/planning/tests/repin.sh`. The other way to close this gap is for a trusted human to edit
  issue #9793 and remove done-when item 1 and that Change bullet. A PR review comment or the PR body
  cannot waive a done-when item.
- plugins/planning/tests/interview-defenses.test.sh:773: the roster re-pin and the case-38
  justification comment match the spec. Using case 38 instead of the issue's "case 30" is reasonable
  because the roster has grown since the issue was written.
- plugins/planning/evals/interview-person-deferred-questionnaire/: the new plugin-eval case adds
  four deterministic graders, one LLM grader and sample files. The issue doesn't ask for this. It's
  harmless extra work, but a human should be aware of it.
- .changes/planning/test-9793-person-deferred-questionnaire-7c2e9a41.md: the fragment says no
  instruction was added. If the assumption-sweep sentence is restored, update the fragment to match.
- plugins/planning/evals/interview-person-deferred-questionnaire/prompt.md: sets runs: 3, max_turns:
  12 and timeout_seconds: 600. These are eval spend settings within the subscription, not a real
  charge.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass at a new commit removes the label.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Oct 30, 2026
Merged via the queue into main with commit eb1ac00 Oct 30, 2026
43 checks passed
@kyle-sexton
kyle-sexton deleted the host-run/9793-person-deferred-questionnaire branch October 30, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(planning): route a person-deferred interview item to questionnaire in assumption-sweep and re-pin the digests

1 participant