Skip to content

fix(roadmap): refuse a placeholder group title in a plan - #6092

Merged
dan-petty merged 2 commits into
mainfrom
fix/3584-placeholder-group-title
Nov 17, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3584-placeholder-group-title

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The plan check and the ready mark accept a plan whose task group title is a placeholder word. A plan with no real content can reach the ready state. The check must refuse an artifact that holds a placeholder group title.

Closes #3584

Change: openspec/changes/archive/2026-11-17-3584-placeholder-group-title/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 17, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor

Pull request #6092 has merge conflicts with main at commit d71fba057e8e. GitHub cannot merge it. Rebase the branch onto the current main, resolve the conflicts and push the branch.

The plan check and the ready mark accepted a task group title that is a
placeholder word. A plan with no real content could reach the ready
state.

Now group_title_problems checks each task group title with
is_placeholder and does not apply PLAN_FIELD_MIN_CHARS. The plan
check calls it from content_problems. The ready mark reads tasks.md
at the head commit of a plan pull request, and draft_readiness
refuses a placeholder group title.

Closes #3584
…e replay test

Case 3167 has the group title x. The new group title rule refuses it,
so the test that writes real text into every placeholder of the plan
now writes the group title too.
@dan-petty
dan-petty force-pushed the fix/3584-placeholder-group-title branch from d71fba0 to c4dd4fa Compare November 17, 2026 08:33
@dan-petty

Copy link
Copy Markdown
Owner Author

Fix of the failing checks

The branch is rebased onto origin/main (new head c4dd4faf6). The merge commits of main are gone. The rebase had a conflict in stage_ready.py with #6132, which builds the draft with kind_of(item, number) and gives it to mark_ready. The fix keeps that and adds the change of the plan to the draft.

Failure Cause Fix
mypy and uv check (ty): implement_pull.py:145, 152, attribute tasks_text, archived and archive_required not on str in ChangeFacts | str The change widened Draft.change to ChangeFacts | str | None, so the implement path read attributes that a str does not have. Draft.change is ChangeFacts | None again. The stage ready row reads tasks.md at the head into ChangeFacts(archived=False, tasks_text=..., archive_required=False), as read_draft does for a plan, so a plan is never judged as an unarchived change. _judge_completeness reads draft.change.tasks_text.
test_suppressions_stay_under_their_ceilings: tests type: ignore 80 > ceiling 79 test_roadmap_stage_title.py imported group_title_problems in try/except ImportError and set it to None with # type: ignore[assignment]. A plain import with the other names from stage_change, and no is not None assert. The ceiling did not change.
test_roadmap_stage_eval_gates.py::test_a_content_gate_that_stops_refusing_a_plan_fails_the_replay Case 3167 has the group title x. The test writes real text into each placeholder of the plan but kept the title, so the new rule still refused the plan. The test writes real text into the group title too.
The two draft readiness tests gave change a str The same widened type. They give a ChangeFacts with the tasks text.

Proof: uv run devops ci --check --only typecheck,uv-check,lint,format,swallowed-failures,test-tree,startup-imports,openspec,docs,roadmap-stage-eval-commits passes. tests/invariants/test_architectural_invariants.py and the eval tests give 219 passed. uv run devops ci test on stage_change.py, implement_pull.py and stage_ready.py gives 2913 passed, 1 skipped.

@dan-petty
dan-petty marked this pull request as ready for review November 17, 2026 08:43
@dan-petty
dan-petty enabled auto-merge (squash) November 17, 2026 08:43
@dan-petty
dan-petty merged commit cfd820b into main Nov 17, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3584-placeholder-group-title branch November 17, 2026 08:45
dan-petty pushed a commit that referenced this pull request Nov 17, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.171.0](v0.170.0...v0.171.0)
(2026-11-17)


### Features

* **roadmap:** Run review scanners in the runner pod
([#6114](#6114))
([ddde85a](ddde85a))
* **service:** Roll the Service with a surge release
([#6146](#6146))
([a459b65](a459b65))


### Bug Fixes

* **k8s:** Run kube-linter on the Argo CD builds in CI
([#6112](#6112))
([dba90f1](dba90f1)),
closes [#6068](#6068)
* **k8s:** Take the k8s area of the config-read list to zero
([#6124](#6124))
([0857ee5](0857ee5)),
closes [#6119](#6119)
* **roadmap:** judge a pyproject tool setting by its diff
([#6089](#6089))
([0a787eb](0a787eb)),
closes [#3491](#3491)
* **roadmap:** Name both command registration forms
([#6148](#6148))
([0d3b1e1](0d3b1e1))
* **roadmap:** Read the files of a named pull request
([#6144](#6144))
([5a29fed](5a29fed))
* **roadmap:** refuse a placeholder group title in a plan
([#6092](#6092))
([cfd820b](cfd820b))
* **service:** the metrics row sends too many counted requests
([#6095](#6095))
([b3fc5dc](b3fc5dc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): refuse a placeholder group title in a plan

1 participant