Repository navigation
Description
Problem or Motivation
A plan pull request holds the change folder only. plan_check reads the Changes: line of tasks.md and marks a path as created only when it carries the (new) mark. When a plan names a new file without the mark, path_problems returns "Name a file that exists, or make the group that creates it list it in creates." That advice fits the stage reply, which has a creates list. It does not fit the change folder, which has no creates list: the reader must add the (new) mark to the Changes: line.
The plan of PR #3436 for #3411 is the case. Its group 3 adds four new case files. The first revision named them in Changes: without the mark, and devops roadmap plan-check refused all four. The fix was the (new) mark, and the message named neither the mark nor the change folder.
Proposed Solution & Architectural Design
Use one message that names both forms: "Name a file that exists, or list it in creates in the reply, or mark it (new) in the Changes: line." A plan folder reader then knows the mark, and a reply reader still knows the list.
Target Subsystem
src/devops_cli/lang/en/messages.py, src/devops_cli/roadmap/stage_paths.py
Existing Tool Considered
No tool. The change edits one message string and deletes no product code. The cost is about 300 tokens to build, keep and fix, and 10 minutes.
Source: #3436
Proposed design
Problem statement
A plan pull request holds the change folder only, and that folder has no creates list. When a plan names a new file with no (new) mark on its Changes: line, path_problems tells the reader to list the file in creates. That advice fits the stage reply only. One message must name both forms, so that each reader knows the fix.
Acceptance criteria
Requirement: The missing-path message names both forms
The message of a path that the staged tree lacks SHALL name the creates list of a stage reply and the (new) mark of the Changes: line.
Scenario: A group names a missing file
- WHEN
path_problemsjudges a group that namessrc/devops_cli/new_module.pyand no group creates it - THEN the problem holds
creates,(new)andChanges:
Requirement: The message keeps its hint
The missing-path message SHALL keep the hint that names the tracked files of the same name, or states that no file has the name.
Scenario: A tracked file has the same name
- WHEN the tree holds
src/devops_cli/roadmap/stage.pyand a group namessrc/devops_cli/new/stage.py - THEN the problem ends with the text of
stage_path_same_nameforstage.py
Requirement: The plan check gives the same message
The plan check SHALL report the same message for a change folder whose Changes: line names a new file with no (new) mark.
Scenario: A plan omits the mark
- WHEN the plan check reads a change folder whose group 3
Changes:line names four new case files with no(new)mark - THEN each of the four problems holds
(new)andChanges:
Requirement: A later creator keeps its own message
The message of a path that a later group creates SHALL stay unchanged.
Scenario: A later group creates the path
- WHEN group 1 names
src/devops_cli/new_module.pyand group 3 lists it increates - THEN the problem names group 3 and holds neither
createsnor(new)
Requirement: The module docstring names both readers
The module docstring of stage_paths.py SHALL state that path_problems judges the stage reply and the change folder.
Scenario: A reader opens the module
- WHEN a test reads the module docstring of
src/devops_cli/roadmap/stage_paths.py - THEN the docstring holds
change folderandreply
Existing Tool Considered
No alternatives check has run. No open, maintained tool or library covers this need: the change edits one message string and deletes no product code. The written cost to build, keep and fix that text is about 300 tokens and 10 minutes.
Key questions
- Where does the text of a missing path come from?:
MESSAGES.roadmap.stage_problem_pathinsrc/devops_cli/lang/en/messages.pyholds the text._probleminsrc/devops_cli/roadmap/stage_paths.pyformats it with the group, the path, the place and the hint. [sources: src/devops_cli/lang/en/messages.py, src/devops_cli/roadmap/stage_paths.py] - Which text does the missing-path message give?: The message reads
Name a file that exists, or list it increatesin the reply, or mark it(new)in theChanges:line.It keeps the placeholders{group},{path},{place}and{hint}. (best practice) [sources: src/devops_cli/lang/en/messages.py, src/devops_cli/roadmap/stage_paths.py]- Chosen: One message that names
createsand the(new)mark.path_problemsserves the stage reply and the change folder from one rule set, and each reader follows the form that its own file allows. - Rejected: A message that a parameter of
path_problemsselects. It adds a parameter that each caller must set, and the two forms are alternatives that either reader can use.
- Chosen: One message that names
- Which forms mark a new file in each reader?: A stage reply lists the file in
creates. TheChanges:line oftasks.mdcarries the(new)mark, andstage_group_newholds that mark with its leading space. [sources: src/devops_cli/lang/en/messages.py, src/devops_cli/roadmap/stage_paths.py] - Does the hint stay in the message?: The hint stays. The new forms join it, and no text leaves it. (best practice) [sources: src/devops_cli/lang/en/messages.py, src/devops_cli/roadmap/stage_paths.py]
- Chosen: Keep the same-name hint and add the two forms. The hint names the tracked file of the same name, which is the fastest fix, so the new forms join it.
- Rejected: Replace the hint with the two forms. The reader loses the list of the tracked files that have the same name.
- Which tests cover the message?:
tests/roadmap/test_roadmap_stage_paths.pyasserts the problems ofpath_problems.tests/roadmap/test_roadmap_plan_check.pyasserts the problems that the plan check reports for a change folder. [sources: tests/roadmap/test_roadmap_stage_paths.py, tests/roadmap/test_roadmap_plan_check.py]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 4, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.The error message misleads the reader but does not block delivery; a person can still find the fix.It removes one source of confusion for a plan-folder reader, but the user can work around it.The body states the change edits one message string and costs about 10 minutes.Both fix a message in the roadmap plan/stage check, but #3405 names the message file while this candidate names the (new) mark.devops-cli-service commentedon Nov 4, 2026
Status set to Ready at 46cf288 (see proposed design in issue body).
devops-cli-service commentedon Nov 4, 2026
Staged: branch
fix/3449-the-path-problem-names-the-new, draft pull request #3475. The pull request plans the item and closes no issue.The task groups, with the tokens of the inputs of each step, for a budget of 40000 tokens:
A model review of the plan found these open findings. The stage keeps this pull request a draft with the label
plan/needs-fixuntil a later round clears them:spec_delta_wrongat specs, requirement "The missing-path message keeps its hint", scenario "A later group creates the path": The scenario says the later-creator problem holds nocreates. That message says "group 3 creates it", so it holdscreatesand no test can assert the scenario. The scenario also sits under the hint requirement. The issue's separate requirement "A later creator keeps its own message" is missing from the delta. Evidence: "assert "group 3 creates it after group 1" in problem"A model review of the plan found these points. They stop no draft, and a person judges them:
otherat group 1: The new message drops the text "make the group that creates it list it increates". An existing test asserts that text, and the plan does not say to update it. The test then fails, and the verify command fails with it. Evidence: "assert "make the group that creates it list it increates" in problem"The plan run made 2 model request(s), and used 153572 input tokens and 6091 output tokens. The model made no tool call.
The stage job read the open pull requests and their files in 1 GraphQL request(s).
3 remaining items
fix(roadmap): Assert the message through the plan check (#3449)
docs(openspec): archive the change (#3449)
devops-cli-service commentedon Nov 5, 2026
Pull request #3475 is ready for review. The checks passed.
Spend: 92 model requests, 6720005 input tokens, 23010 output tokens.
devops-cli-service commentedon Nov 5, 2026
The runner Job devops-cli-runner-20261105-042901-008e ended: succeeded.
Image digest: sha256:3e20abf5974c5e90a219f2770e6d312b0b2c1fa67d920df7822d8be80b86c1d7
The last lines of its log:
docs(openspec): plan #3449 Name both forms in the missing-path message
fix(roadmap): Name both forms in the missing-path message (#3449)
fix(roadmap): Assert the message through the plan check (#3449)
docs(openspec): archive the change (#3449)
devops-cli-service commentedon Nov 5, 2026
Released in v0.62.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.62.1
devops-cli-service commentedon Nov 5, 2026
Live since 2026-11-05 13:27 UTC