Skip to content

fix(planning): pluralize the stale-summary warning for one question - #9235

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-9229-39866696066-1
Oct 23, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-9229-39866696066-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #9229

Summary

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

The stale-summary warning in round.py now says "predates 1 question" for a single added question and "predates N questions" for any other count. The existing test that pinned the wrong text is updated, and a patch changelog fragment is added.

Not verified

  • The plugins/planning/surface Python suites were not run here (Bash allows only the named wrappers); the edited test was checked by reading only. Left to the PR's CI.
  • scripts/new-changelog-fragment.sh refused to run because HEAD is detached, so I wrote the fragment by hand in the same format; the validator accepts it. The name is not from the real branch slug.
  • The one-subagent diff review was not run; the change is a two-line pluralization plus a test assertion, and no review-venue.txt was present. Changes are left uncommitted as the run instructs.

Fix

  • plugins/planning/surface/round.py: the warning noun agrees with the count
  • plugins/planning/surface/test_round.py: the test now expects "predates 1 question;" and rejects "1 questions"
  • .changes/planning/fix-9229-question-plural-3f9a1c2e.md: patch fragment, Fixed

Verification

The runner ran each check from the base copy against 3cf126e:

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

The run reports:

Left out: the items under Not verified.

Related

#9229

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

Copy link
Copy Markdown
Contributor

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

No security issues found in PR #9235 at head 3cf126e.

The diff changes one stderr warning string in plugins/planning/surface/round.py so it pluralizes "question" correctly. It also updates the matching test and adds a changelog fragment.

  • The only interpolated values are len(added), an integer, and gid. Both were already interpolated before this change. No new input, trust boundary, command, path, or credential handling is added.
  • No plugin.json or marketplace.json is touched, so there are no manifest <field> lines.
  • No standing instruction, hook, or rules file is deleted, narrowed, or softened. The instruction-exception register was not consulted because no instruction surface changed.

@github-actions

Copy link
Copy Markdown
Contributor

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

No findings.

Closing issue #9229 criteria

  • The warning reads "predates 1 question" for one added question and "predates N questions" otherwise. The change at plugins/planning/surface/round.py:655 does this. I read the code and did not run it.
  • The only other change is one patch changelog fragment, .changes/planning/fix-9229-question-plural-3f9a1c2e.md. Its bump: patch fits a text fix.
  • The test at plugins/planning/surface/test_round.py:2798 now asserts "predates 1 question;" and assertNotIn("1 questions"), so it fails if the old wording comes back.
  • The other predates sites (round.py:1078 and the test at test_round.py:865) use different wording and are unaffected.
  • Not confirmed here: the checks the issue lists (check-changelog-fragments.sh --check, check-affected.sh --uncommitted, the CI Python suites). The PR's Verification section reports the first two as passing, but that is the author's claim and I did not run them. I did not run the CI Python suites either.

Other checks

  • No plugin manifest changes, so there are no manifest <field> lines.
  • No .claude/rules/ file matched the changed files beyond the project's own conventions.
  • The PR context contained no embedded instructions.
  • No line-length rule turned up in ruff.toml, so the long f-string line is not a finding.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 23, 2026
Merged via the queue into main with commit e265f73 Oct 23, 2026
47 of 48 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-9229-39866696066-1 branch October 23, 2026 01:01
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: risk MED at head 3cf126ea5a2d13888dd04cd3ec640220f5e16aad. Only LOW merges without a human. This pull request waits for one.

MED evidence-unbound:claude-review: not bound: no-run
MED evidence-unbound:claude-security-review: not bound: no-run

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): stale-summary warning says "predates 1 questions"

1 participant