Skip to content

fix(planning): make round.sh status count live answered questions, not archived ones - #9825

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-9717-40117910168-1
Oct 24, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #9717

Summary

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

round.sh status now prints per group "N of M live answered; K archived" (archived questions no longer count as closed) and adds an "accepted, to confirm" line for accepted rows with unticked commitments. status --json gains live, answered and toConfirm; closed is unchanged.

Not verified

  • Could not run scripts/run-test-file.sh for test_round.py and test_server.py, nor surface.test.sh: Bash here only allows the named wrappers. The changed tests and the new tests are unexecuted.
  • Changes are uncommitted in the working tree, as the lane instructs; no commit tool call was made.
  • scripts/check-changelog-fragments.sh --check-required origin/main left to the PR's CI

Fix

  • plugins/planning/surface/round.py: cmd_status counts live/answered/archived and names accepted rows with unconfirmed commitments; usage text updated
  • plugins/planning/surface/test_round.py: existing status assertions moved to the new wording; new TestStatusLive covers 7 live + 14 archived and an unticked commitment
  • .changes/planning/fix-round-status-live-answered-3b7d2e41.md: patch changelog fragment (written by hand, the helper refused a detached HEAD)

Verification

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

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

The run reports:

Left out: the items under Not verified.

Related

#9717

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

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental security review of plugins/planning/surface/round.py and plugins/planning/surface/test_round.py since e60cec0.

No security issues found.

  • Change: cmd_status now counts questions in the superseded state separately from archived. The count appears in the text status line and in a new superseded[] field in status --json. The usage text and one test were updated to match.
  • Inputs and sinks: The values come from the planning document's own question statuses. The change adds no new input source, file path, subprocess call, or deserialisation. The output is plain text and JSON built from internal ids.
  • Trusted paths: None of the changed files match the trusted-path globs.
  • Manifests: The change touches no plugin manifest.
  • Instruction surface: The change deletes or softens no standing instruction.
  • PR context: It holds no embedded directives. The linked issue body was omitted by the wrapper.
  • Spend: None.

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

claude-lane: claude-review

Comment thread plugins/planning/surface/round.py Resolved
@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

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

No findings in the incremental change since e60cec0 (round.py and test_round.py). I read the diffs and the surrounding code but did not run the tests.

What changed: cmd_status now reports superseded questions apart from live ones. Its live count and the text line exclude them, and status --json gains a superseded[] list.

Checks:

  • Page meter: index.html:658 already defines live as not sup and not arch. The CLI count now follows the page, which is what fix(planning): make round.sh status count live answered questions, not archived ones #9717 asks for.
  • Decided superseded rows: the state expression at round.py:1771-1777 gives a recorded decision priority over "superseded". A superseded question that has a decision therefore still counts as answered. stateOf in index.html:648-655 does the same, so the two agree.
  • New test: test_superseded_is_neither_live_nor_answered is consistent with base_doc(). Group g1 has Q1 and Q2, plus the added Q4 (superseded) and Q5 (archived). With Q1 accepted, the expected line is 1 of 2 live answered; 1 archived; 1 superseded; open: Q2 Short Q2.
  • Usage text: it now documents superseded[] in the --json shape.

Closing issue #9717: the criteria are covered by the earlier-reviewed parts of the PR. This increment does not change the 0 of 7 live answered; 14 archived wording or the to-confirm line. The test-run criteria are unverified, because this lane has no shell. The PR body also says the author could not run them.

Manifests, trusted paths, cost: none of these apply to this change, and it sets no hold.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of 3 on e08c0fb.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head e08c0fb6c5aaf2bd5f0f517913f5a23fbdc7c468.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 24, 2026
Merged via the queue into main with commit d079bec Oct 24, 2026
42 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-9717-40117910168-1 branch October 24, 2026 19:58
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): make round.sh status count live answered questions, not archived ones

0 participants