Skip to content

feat(planning): the interview page shows a round index and Held line, and honors single pacing - #11952

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-11858-41318459812-1
Nov 1, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-11858-41318459812-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #11858

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Part 2 of #7478: the /planning:interview page now ends a round's first question with a round index (Q, one-line recommendation, basis, main alternative; held questions left out), its round header card carries a Held: line naming each question still held for research and what it waits on, and round.sh ensure-running --pacing records question_pacing as meta.questionPacing, which the page start command now passes. Under single the session posts the round one question at a time (add-round with the first, then one add per later question), the page shows no index, and each later question carries the Held line. Topic groups already render in the page's Groups view from the round's groups, so lane-page.md now tells the session to give each topic a group; design choices (meta field set through ensure-running, like emojiMarkers; session-side one-at-a-time delivery instead of the page hiding posted questions, so accept-all and counts stay truthful; the index below the question so the title stays on the first screen) follow the existing emoji-markers precedent and the page's existing round-card placement.

Not verified

  • Python unit tests (test_round.py TestQuestionPacingValue), the Playwright page suite (surface-page.test.sh phases 21-23) and plugins/planning/tests/interview-defenses.test.sh were not run: this lane runs no interpreter or test runner; left to the PR's CI
  • cant-fail-scan has no adapter for plugins/planning/surface/tests/ui_page.js (0 files examined), so the new browser assertions were not scanned
  • tidy skipped: the change touches 15 files, over the 10-file tidy cutoff
  • Review finding left as is: the round header card and index sit on the round's lowest-id question even when it is archived or proposed; that placement predates this change
  • Untracked .bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc at the checkout root were not created by this run (sandbox artifacts) and are not part of the change
  • discussing stays terminal-only on the page (part 1 kept the page row open); not in this part's done-when

Fix

  • plugins/planning/surface/index.html: roundQs/roundHead helpers; the round header card gains the Held: line (every held question of the stage up to this round), shown alone above later questions under single pacing; a Round index table (Q, recommendation, basis first sentence, main alternative) after
  • plugins/planning/surface/round.py: ensure-running --pacing writes meta.questionPacing (single for single in any case, else round; absent flag keeps the recorded value)
  • plugins/planning/surface/schema/questions.schema.json: meta.questionPacing enum round|single
  • plugins/planning/surface/test_round.py: TestQuestionPacingValue covers every --pacing value form and the absent flag
  • plugins/planning/surface/tests/ui_page.js: phases 21-23 assert the index rows and placement, the Held line with the held question out of the index, and no index under single pacing
  • plugins/planning/surface/surface-checks.sh: group_page runs phases 21-23 with a wait op, its clear, and ensure-running --pacing single
  • plugins/planning/surface/README.md: documents --pacing and meta.questionPacing
  • plugins/planning/skills/interview/SKILL.md: lane-table config line names question_pacing and its default; the pacing paragraph says the page honors single
  • plugins/planning/skills/interview/context/lane-page.md: start command passes --pacing; new paragraph on groups, index, Held line and single pacing on the page
  • plugins/planning/skills/interview/context/loop.md: Page surface paragraph and Delivery bullet describe the split under single, the header card, the index and the Groups view
  • plugins/planning/skills/interview/context/surface.md: Start bullet names the pacing setting
  • plugins/planning/.claude-plugin/plugin.json: question_pacing description covers the page
  • plugins/planning/README.md: generated userConfig row matches the new description
  • plugins/planning/tests/interview-defenses.test.sh: re-pinned the SKILL.md Action Router and Stance digests and the loop.md relentless-mechanics digest, with the justification lines repin-digests wrote
  • .changes/planning/work-resolve-issue-issue-11858-9c4e1a7b.md: minor changelog fragment

Verification

The runner ran each check from the base copy against cb5a97e:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • check-changelog-fragments: all 132 fragments valid
  • check-affected: 13 passed, 5 skipped (typos not installed; validate-plugins sub-checks and changed-skills run checked-tree code), over 15 changed files
  • repin-digests: Action Router 2227f544… -> 45562174…, Stance 44d22bfc… -> bede4c77…, loop.md relentless mechanics 4de3ea84… -> 31df48a3… (re-read: each change is page delivery/display or a setting read; no row resolves, lock, STOP-on-gap, no-silent-resolve and late-commitment lines untouched
  • cant-fail-scan --file plugins/planning/surface/test_round.py: no can't-fail tests (370 blocks)
  • fresh-context review subagent over the whole diff: no correctness bug; five spec/doc gaps, four fixed (Held line across rounds and under single, held questions out of the index, basis cell keeps inline markdown and cuts to one sentence, stale loop.md Delivery bullet and surface README)
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41318459812

Left out: the items under Not verified.

Related

#11858

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental, cb5a97e → 786aa92): no security issues found.

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

  • plugins/planning/surface/surface-checks.sh: raises the page check count from 122 to 125 and gphases from 23 to 24. It also adds a phase-24 setup step. That step writes a fixed, hardcoded JSON op file (adding Q21) under the test's temporary $pg/ops/ directory and runs it through round.sh apply and the existing rapply helper, using fixed wait ops on Q12 and Q20. No outside input reaches these commands, the shell gets no new interpolation, and no credentials, tokens or network calls are involved.
  • plugins/planning/surface/tests/ui_page.js: adds browser assertions for phase 24. They reload the local test page, pick Q21 and read #roundHeld, #roundRestate and #roundIndex. This is read-only test code that runs against a local test server.

Neither file matches a trusted path or a trust control: no trusted-actor check, token scope, kill switch, merge hold or plugin manifest is touched. The change is test harness only and has no security-relevant surface, so it passes skip gate 2. The PR context file contained no embedded instructions aimed at the review lane.

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

claude-lane: claude-review

Comment thread plugins/planning/surface/index.html Resolved
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental review (cb5a97e → 786aa92): no findings

I read every hunk of the two files in scope: plugins/planning/surface/surface-checks.sh and plugins/planning/surface/tests/ui_page.js. Together they add browser phase 24 to group_page. It checks the case in #11858 that had no test: under single pacing, a later question in a round should carry the Held line on its own.

What I confirmed by reading the code (I did not run the suite):

  • Check count. Phase 24 adds two ok checks plus the per-phase "zero console errors" check. That makes 3, so CHECKS[page] going from 122 to 125 matches. gphases going from 23 to 24 matches the new grun 24, so the grade loop includes the new output.
  • Fixture state.
    • Q12 was added in round 3 earlier (surface-checks.sh:592), with short "Rollout gate". Q20 is in sweep round 4 with short "Freeze conflict" (:622).
    • Phase 13 answers Q12. The hold still shows, because stateOf checks the hold before any recorded decision (index.html:741).
    • op_wait has no precondition that would refuse a hold on an answered question.
  • Placement logic. roundQs includes held questions, so Q20 stays the round's first question and Q21 is a later one (index.html:644-645). Under single, roundRestateCard renders the Held line in a section with no id="roundRestate". roundIndex returns nothing when the question has no round header. So both assertions in the new phase (!card.head && !card.idx) test real behavior.
  • Held line content. heldLine takes held questions with round <= q.round, sorted by id. That gives Q12 then Q20, which is the order the regex expects. The Q20\s*Freeze conflict format is the same as in phase 22's existing assertion.
  • Test helpers. text and pick already exist in ui_page.js:8-9.

Closing issue #11858, criterion "The page surface renders groups, the index and the held line, and honors single": phases 21-24 now cover the index, the Held line across rounds and on a later question under single pacing, and the absence of the index under single pacing. The groups part was reviewed in the earlier pass, and this increment does not change it.

Spend: phase 24 adds one more Playwright phase to the page suite's CI run. That is more CI time on the existing runner and no new billing.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 786aa92346e5c6f9e7807366c6e09303c89f836a. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate holds it on its risk score (evidence-unbound:claude-review: not bound: no-run;
  evidence-unbound:claude-security-review: not bound: no-run)

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6ybshY
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 786aa92.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 786aa92346e5c6f9e7807366c6e09303c89f836a.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 1, 2026
@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit db6afba Nov 1, 2026
52 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-11858-41318459812-1 branch November 1, 2026 16:31
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit db6afbaf050dccc0c59c338be7d82f1483b33db9; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

0 participants