Skip to content

fix(planning): drop a replaced recommendation's commitments from an own answer at Confirm - #11158

Merged
kyle-sexton merged 5 commits into
mainfrom
fix/11039-own-answer-commitments-repin
Oct 30, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
fix/11039-own-answer-commitments-repin

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Supersedes #11090
Closes #11039

Summary

Carries #11090's change for #11039 (an own answer on the interview page replaces the
recommendation, so it carries none of the recommendation's commitments, as an alternative already
did) and fixes its only failing check, test-bash (4). The lanes App opened #11090 and an owner
login does not push to a lanes App branch, so this branch merges #11090's head and adds the re-pin.

Fix

  • plugins/planning/tests/interview-defenses.test.sh: the phrase pin on loop.md now guards the
    sentence fix(planning): drop a replaced recommendation's commitments from an own answer at Confirm #11039 rewrote on purpose: "An alternative or an own answer replaces the
    recommendation and withdraws the parts, so they do not reach the Brief".
  • The section digest loop.md open-question register section is unchanged (it binds gaps and blockers to the gate) re-pinned with plugins/planning/tests/repin.sh:
    f90cc6c8121e2568b49ab8c7a9984112c47060c636200732e6981a64fe8ad35f ->
    3846e71a258465ee2a4848256cb6aaabc3066d0525d12b0112756025b2cd4ae0. A replaced recommendation's
    parts still never reach the Brief, and an accepted or hedged row with an unticked part still
    exports open, so the register gate still holds it. Every other assertion is unchanged.
  • Everything else is fix(planning): drop a replaced recommendation's commitments from an own answer at Confirm #11090's change as the lane wrote it; see that PR's Fix section.

Verification

  • bash plugins/planning/tests/interview-defenses.test.sh: PASS=172 FAIL=0 (PASS=170 FAIL=2 on
    fix(planning): drop a replaced recommendation's commitments from an own answer at Confirm #11090's head b9d7344a).
  • bash plugins/planning/tests/interview-surface-decision-mirror.test.sh: passes.
  • python3 -m unittest test_exporters test_round in plugins/planning/surface: 554 tests OK
    (pytest is not installed here, so unittest ran them).
  • Not run here: surface-checks.sh (ui_c, ui_journey Playwright checks); left to CI.

Related

🤖 Generated with Claude Code

melodic-automation-lanes Bot and others added 5 commits October 29, 2026 23:50
Lane-Activity: work-resolve-issue/resolve-issue
…hdrawn parts

#11039 makes an own answer withdraw a replaced recommendation's parts, as an
alternative already did, and rewrites the loop.md sentence two pins guard.

- Phrase pin re-pinned to the new sentence: "An alternative or an `own`
  answer replaces the recommendation and withdraws the parts, so they do
  not reach the Brief".
- loop.md open-question register section is unchanged (it binds gaps and
  blockers to the gate): f90cc6c8121e2568b49ab8c7a9984112c47060c636200732e6981a64fe8ad35f
  -> 3846e71a258465ee2a4848256cb6aaabc3066d0525d12b0112756025b2cd4ae0

Re-pinned for #11039: an own answer now withdraws a replaced
recommendation's parts like an alternative; an accepted or hedged row with
an unticked part still exports open, so the register gate still holds it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Conflict in interview-defenses.test.sh: the open-question register pin.
Re-pinned 3846e71a… (branch) / 1444af9f… (main) -> e562afcd…: the section
now holds main's #10703 pointer text plus this branch's #11039 own-answer
withdrawal rule; an accepted or hedged row with an unticked part still
exports open, so the register gate still holds it. Both pin comments kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 30, 2026 06:18
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 30, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

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-30T06:28:01.808179Z 4a223fa 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

Copy link
Copy Markdown
Contributor

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

No security issues found in this pull request, so nothing is held.

The change is confined to the planning plugin's interview page and its exporters. An own answer now withdraws the replaced recommendation's commitments, as an alternative already did. round.sh status also lists hedged questions' unticked commitments.

  • Trust controls: nothing in the diff touches the trusted-actor list, token requests, the kill switch, the merge-hold scripts, pr-pipeline.yaml, workflows or .github/actions/. No manifest, userConfig key or hook changed, so there are no manifest <field> lines.
  • Merge gate: the change does not weaken the register gate. loop.md still says an accepted or hedged row with an unticked part exports open. An own answer's register row did not hold the gate for unticked parts before this change either, so the gate's behavior does not change.
  • New code paths:
    • plugins/planning/surface/exporters.py adds a constant and drops commitments for own answers.
    • plugins/planning/surface/round.py widens the status filter to include hedged questions. Commitment text there still goes through json.dumps.
    • plugins/planning/surface/index.html adds only literal strings and a changed condition. It adds no new interpolated user data, and the existing lineHtml and esc calls are untouched.
  • Spend: none. The diff contains no billing, plan or model changes.
  • Other lenses: the loop.md and surface.md edits are product-behavior prose, not guardrail removals that a hook or permission rule enforced. I did not read docs/conventions/instruction-exception-register/README.md, so that check is by consequence: the removed own-carries-commitments rule stops a Brief from naming risks, and does not stop any action.
  • Possible mismatch (not security): the PR description says the loop.md section digest was re-pinned to 3846e71a…. The diff pins e562afcd… in plugins/planning/tests/interview-defenses.test.sh. The description may be stale, or the pin may have changed after it was written. The author should confirm the digest, because CI is the one that would catch a wrong pin.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 4a223fa4ce02c93c5068d81be0228256c206b76b: 1 finding(s), 0 as inline comments.

Review of #11158 (planning: an own answer withdraws a replaced recommendation's commitments). It closes #11039.

Verdict: the change meets #11039's three acceptance criteria. I found one small, non-blocking inconsistency, below. I could not run any code or tests in this lane, so the PR's pass counts are author-claimed and unverified.

Acceptance criteria

  • "A question answered with an own answer offers no commitment from the replaced recommendation at Confirm, or offers it marked as replaced."
    • Met in index.html: accepted() and tickRows() no longer include own, and the pane header reads "replaced by your own answer".
    • No UI test (ui_c.js or ui_journey.js) pins the new header text or the absence of an own answer from #uTick. The ui_c.js change only edits a helper that mirrors the logic. The author says the Playwright checks were not run and are left to CI.
  • "The Brief never shows a confirmed commitment from a recommendation the own answer replaced."
    • Met in exporters.py: the register() rows empty confirmed, unconfirmed and briefed for an own decision.
    • The new test_an_own_answer_drops_a_ticked_commitment_of_the_recommendation_it_replaced covers it. The ledger row keeps the tick, which that test also asserts.
  • "The page and round.sh status agree on which commitments are still to confirm."
    • Met: round.py cmd_status now uses exporters.CARRIES, so hedged questions are listed and own answers are not.
    • test_a_hedged_row_is_named_and_an_own_answer_is_not covers both cases.

Other checks

  • Manifest items: the diff touches no plugin.json or marketplace.json. The changelog fragment .changes/planning/fix-11039-own-answer-commitments-5c1d9e27.md has bump: patch, which fits a bug fix.
  • Pin digest: the PR description says the loop.md section digest changed from f90cc6c8… to 3846e71a…. The diff shows 1444af9f… to e562afcd…. The description is probably stale after the merge from main. I could not hash the section here, so I did not check which digest is right. test-bash in CI will show whether the pin matches.
  • Settled threads: no settled-threads file was supplied.
  • Paved paths and path-scoped rules: I did not resolve the standards index or the .claude/rules/ files in this run, so I report nothing on either.
  • Spend: no cost hold applies. The change has no billing effect.

Security: the trusted-path globs list nothing that this PR changes.

critical-findings: 1

Findings not posted inline (their path, line or side is malformed):

  • plugins/planning/tests/interview-defenses.test.sh:538: This comment, right above the re-pinned digest, still says "accept and own keep unticked parts as Brief risks". After fix(planning): drop a replaced recommendation's commitments from an own answer at Confirm #11039 that is false: an own answer now withdraws the parts, as the rewritten loop.md sentence says. The PR rewrote the sibling # Re-pinned for #11039 note but left this justification comment as it was. Anyone reading it to judge whether the section's pinned meaning changed is told the opposite of what the code now does. Suggest: "(accept and hedged keep unticked parts as Brief risks; an alternative or an own answer withdraws them; a defer's open row covers them)".

Merged via the queue into main with commit 37cc004 Oct 30, 2026
83 checks passed
@kyle-sexton
kyle-sexton deleted the fix/11039-own-answer-commitments-repin branch October 30, 2026 06:25
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): drop a replaced recommendation's commitments from an own answer at Confirm

1 participant