Skip to content

fix(planning): state the condition that would flip each recommendation - #11225

Merged
kyle-sexton merged 5 commits into
mainfrom
fix/planning-flip-condition-11190
Oct 30, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
fix/planning-flip-condition-11190

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #11190

Summary

This replaces #11206, a lanes App PR now held with do-not-merge. The branch merges #11206's head 4cfcc897e5 onto main. That head already carries both digest re-pins the lanes made: one in c3808b17d1 and one in 4cfcc897e5. #11206 is blocked by a review thread marked Blocking that only asks for the re-pin. The pr-unblock lane could not settle that thread itself, so it escalated with needs-human.

Each /planning:interview recommendation now carries a Flips if: line after Inference:. The line names the condition that would change the recommendation, checkable against a fact the user can confirm.

Fix

  • plugins/planning/skills/interview/context/loop.md: "Frontier rounds" step 4 now requires one Flips if: line per recommendation. It names eval case interview-recommendation-basis-and-flip as its evidence.
  • plugins/planning/skills/interview/SKILL.md: adds a Flips if: slot to the per-question template. "Recommended answers" now says that on a card or the page, the line rides in the basis text and counts toward the 3-sentence basis budget (context/surface.md R12).
  • plugins/planning/skills/interview/context/question-shape.md: the terminal-lane mapping now lists Flips if:.
  • .changes/planning/work-resolve-issue-issue-11190-5b1e7c3d.md: patch fragment.
  • plugins/planning/tests/interview-defenses.test.sh: re-pins the "SKILL.md Stance section" and "loop.md Step 2 section" digests. Each re-pin has a justification comment.

The re-pins do not weaken a check, and #11190's "Done when" requires them: "scripts/check-affected.sh --tests passes on the committed head, including plugins/planning/tests/interview-defenses.test.sh with any digest it pins re-pinned." The changes add a prose line inside each pinned section and resolve no ledger row. The no-silent-resolve, auto-guard and unattended-path defenses still pass as byte-identical pins.

Verification

Left for a person, per #11190: a host rerun of eval case interview-recommendation-basis-and-flip (3 runs, opus judge). That rerun checks for a with-arm score of 0.8 or more in a VALID run. It is not this PR's gate.

Related

🤖 Generated with Claude Code

melodic-automation-lanes Bot and others added 5 commits October 30, 2026 08:09
Lane-Activity: work-resolve-issue/resolve-issue
Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6x5A-h
@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 ⚠️ Failed 2026-10-30T10:29:49.144568Z
We couldn’t complete this review. Comment @codex review to try again.
55e7ec9 PR opened
ℹ️ 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

Copy link
Copy Markdown
Contributor

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

No security findings.

The PR adds a Flips if: line to the /planning:interview recommendation template. It edits three skill docs (SKILL.md, loop.md, question-shape.md), adds a changelog fragment, and re-pins two digests in plugins/planning/tests/interview-defenses.test.sh.

  • I read the whole diff under the instruction-surface lens. It only adds a line and its mentions. It deletes, narrows or softens no standing rule, so no protected class is affected. The register README was not consulted; I judged by consequence.
  • The two re-pinned digests cover sections the diff actually changes. The test is a doc-regression check, not a trust control. I could not recompute the hashes without a shell. The PR text says the no-silent-resolve and auto-guard pins are unchanged, and the diff touches neither.
  • SKILL.md and loop.md match the trusted-path globs. Nothing in them widens a trusted actor, token scope, kill switch, merge hold or untrusted-text path.
  • No plugin manifests, workflows, scripts or userConfig keys are changed, so there are no manifest <field> lines.
  • The change spends no credits and can bill nothing.
  • The PR description contains no embedded directives.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

No findings. The change is prose only: it adds a Flips if: line to the /planning:interview recommendation template and updates the two digest pins to match.

What I read. I read the whole diff (5 files) and the PR context. No changed file is on the trusted-path list. I checked these things by reading and searching the repository.

  • loop.md "Frontier rounds" step 4 requires one Flips if: line per recommendation. It names plugins/planning/evals/interview-recommendation-basis-and-flip/, which exists in the repository.
  • The SKILL.md template, the "Recommended answers" paragraph, the withheld-question paragraph and the question-shape.md terminal row all name the new line consistently. The template's "three parts above" became "four parts above" to match.
  • surface.md R12 exists and caps basis prose at 3 sentences. Inference: plus Flips if: is two sentences, so the budget holds.
  • No other planning file restates the Inference: template shape and was missed. The only other hits are the two test comments and the CHANGELOG.md.
  • Both pinned sections (SKILL.md Stance, loop.md Step 2) enclose the edited lines. Each re-pin carries a justification comment.

Closing issue #11190 criteria.

  • Rule in the named spoke, stated once, with the case named as evidence: met.
  • Changelog fragment: present, with bump: patch. That fits a prose-only fix.
  • PR body asks for the host rerun of the eval case (3 runs, opus judge): present. The with-arm score of 0.8 or more is that rerun's check, not this PR's gate.
  • scripts/check-affected.sh --tests passing, with the digests re-pinned: I did not run it. I have no shell here, so I could not recompute the two sha256 pins or run interview-defenses.test.sh. The PR's "PASS=174 FAIL=0" and "all 4 fragments valid" are author-claimed and unverified by me.

The pull request context file's text was treated as data. It contains no embedded instructions to the lane.

Spend. This change spends nothing beyond the existing review lanes' subscription usage. It has no billing effect, so no hold.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit 5e163a1 Oct 30, 2026
40 checks passed
@kyle-sexton
kyle-sexton deleted the fix/planning-flip-condition-11190 branch October 30, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(planning): state the condition that would flip each recommendation

1 participant