Skip to content

fix(roadmap): name the creating group of a forward read - #3179

Merged
dan-petty merged 6 commits into
mainfrom
fix/3017-the-stage-job-refuses-a-plan
Nov 2, 2026
Merged

dan-petty merged 6 commits into
mainfrom
fix/3017-the-stage-job-refuses-a-plan

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

The stage job refuses a plan whose group reads a path that only a later group creates, but the problem named only the reading group. Now the problem names the first later group that creates the path and tells the model to move it before the reading group. A path that no group creates keeps its old message.

Closes #3017

Change: openspec/changes/archive/2026-11-02-3017-the-stage-job-refuses-a-plan/

🤖 Generated with Claude Code

https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW

Copy link
Copy Markdown
Owner

Review of the plan for #3017.

CI: all 18 checks green or skipped (head de7f90c). Premise: partly superseded. #3010 (archived in openspec/changes/archive/2026-11-01-3010-stage-refuses-missing-paths/) already refuses a forward read: path_problems (stage_paths.py:141) reports a path that "no group up to the one that names it creates". What is left is naming the creating group. The plan says so, and its line references are correct (stage_paths.py:141, _problem at :128, stage_change.py:298, test at test_roadmap_stage_paths.py:92-99).

  1. Group 2 and the Impact list use a change folder that does not exist. The PR adds openspec/changes/3017-the-stage-job-refuses-a-plan/. The proposal Impact and every path of group 2 say openspec/changes/3017-stage-names-the-creating-group/ (marked "(new)"). That folder is not in the PR or on main. An implementer that follows the plan would create a second change folder and archive would not match. Fix: use the real folder name.

  2. Group 2 is not work. "Write the proposal, the design, the tasks and the spec delta" describes the files of this PR; they already exist and are merged as the plan. A task that rewrites the plan is a tracking task (AGENTS.md rule 8). Task 2.2 is also malformed ("openspec/changes/.../proposal.md, run uv run devops docs generate --sync-readme", no verb). Fix: delete group 2. Keep group 1, and add a real documentation task (point 4).

  3. The second new test duplicates an existing one. test_a_plan_whose_groups_create_what_they_read_has_no_problem (group 1 creates a path, group 2 reads it) is test_a_path_that_an_earlier_group_creates_passes_in_a_later_group (test_roadmap_stage_paths.py:85-89). The acceptance criterion "a plan whose groups create what they read passes" is already tested. It would also pass on base, so it is no fail-on-base step. Fix: drop it and cite the existing test in the proposal.

  4. The message text is not specified, and the template tail contradicts the new sentence. stage_problem_path (messages.py:2792-2796) ends with "Name a file that exists, or make the group that creates it list it in creates" and says "no group up to group {group} creates it". For a forward read, a later group does list the path, so the tail misleads the model. The plan adds stage_path_later_group, stage_path_no_later_group and a later field but gives no text. The spec scenario asserts "tells the model to move group 2 before group 1". Fix: write the final strings in the design (ASD-STE100), say how the tail changes for the forward case, and add a test that asserts the wording the spec promises, not only group 2. Also k8s/README.md item 15 (line 616) describes this check ("goes back to the model once with the files of the same name"); update it in the same PR and regenerate docs (devops docs generate --sync-readme).

  5. The MODIFIED delta also rewrites two scenarios that this change does not touch: it moves the AND line of "A created path" into a new scenario and splits "A name with no folder" into two. Keep the unrelated scenarios byte for byte, and add only the new scenario and the new sentence. (The requirement name matches spec.md:469, so MODIFIED is the right operation.)

  6. Title. docs(openspec): plan #3017 Name the creating group in a forward-read plan... ends in an ellipsis, so it is truncated text. Suggest docs(openspec): plan #3017 Name the creating group of a path. The body is meaningful.

  7. The second call site of path_problems (stage.py:683, after a split) shares the message, so it needs no change, but say so in the design so the reviewer does not look for it. Feasibility lists agent tool calls (search_code, read_file, read_spec); fine, but the "first checks" lines are commands, not evidence.

Related issues: #3015 and #3013 (more stage-job plan gates in the same files), #3019 (maps acceptance criteria to task groups), #3153 (model verification of the plan after the gates), #3005-era work on task kinds; expect edits in stage_change.py and messages.py that may conflict.

Verdict: hold until points 1 to 4 are fixed (folder name, drop group 2, drop the duplicate test, specify the message and update k8s/README.md).


Generated by Claude Code

@dan-petty dan-petty changed the title docs(openspec): plan #3017 Name the creating group in a forward-read plan... fix(roadmap): name the creating group of a forward read Nov 2, 2026
@dan-petty
dan-petty marked this pull request as draft November 2, 2026 13:28
@dan-petty
dan-petty marked this pull request as ready for review November 2, 2026 13:45
@dan-petty
dan-petty merged commit 64a8b00 into main Nov 2, 2026
20 checks passed
@dan-petty
dan-petty deleted the fix/3017-the-stage-job-refuses-a-plan branch November 2, 2026 13:47
dan-petty pushed a commit that referenced this pull request Nov 2, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.42.1](v0.42.0...v0.42.1)
(2026-11-02)


### Bug Fixes

* **roadmap:** name the creating group of a forward read
([#3179](#3179))
([64a8b00](64a8b00))

---
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the stage job refuses a plan whose group reads a path that a later group creates

2 participants