Repository navigation
Description
Problem Description
The stale-command check of devops roadmap stage (#3287) reads an ADDED requirement as the removal of a command when the text holds MUST NOT or SHALL NOT anywhere. It then counts every code span that starts with devops or -- in that text as removed. A requirement that keeps a command and forbids one thing that the command does becomes a removal of the command.
The plan of #2530 added this requirement:
The command
devops pr check-readinessSHALL read the changed files of a pull request from the compare endpoint of the base branch's tip and the head commit, and MUST NOT request the pulls files list for them.
The check read it as "devops pr check-readiness must not exist" and refused the plan with two stale-command problems: one for each base requirement of pr-merge-readiness that names the command. The stage job refused #2530 again on 2026-11-12 at 06:34Z (stage gate returns: ... item=#2530 returns=3 result=refused version=0.116.2).
Cause: src/devops_cli/roadmap/stage/stage_change.py, _removed_names (about line 768) tests any(words in text for words in _REMOVAL_WORDS) on the full text and returns every devops /-- code span.
Reproduction Steps
- Build a
StageProposalwhose spec delta adds the fix(github): Fix check-readiness base and monitor merged state #2530 requirement above to the capabilitypr-merge-readiness. - Call
check_proposalwithrequirement_textsthat hold a base requirement ofpr-merge-readinessthat namesdevops pr check-readiness. - See the stale-command problem for
devops pr check-readiness.
Expected vs Actual Behavior
Expected: the check counts a command or an option as removed only when MUST NOT or SHALL NOT governs it: the code span is the subject of the clause, and the clause says that it must not exist or be available (for example "The devops roadmap intake-eval command MUST NOT exist."). The #2530 requirement gives no problem.
Actual: the check returns ('devops pr check-readiness',) as removed and refuses the plan.
Environment Diagnostics
devops-cli 0.116.2 (Service), origin/main 6c8e1bd (0.117.0) still has the same code.
Logs, Traces, or Terminal Output
stage gate returns: ... item=#2530 returns=3 result=refused version=0.116.2 (2026-11-12 06:34Z). A replay of the #2530 reply on main gives _removed_names(text) == ('devops pr check-readiness',).
Pre-Submission Checklist
- I have verified that no sensitive credentials, private keys, or internal tokens are contained in this issue report.
- I have checked existing issues and pull requests to ensure this is not a duplicate.
Activity
devops-cli-service commentedon Nov 12, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
(roadmap)scope of the title gives the scope.The defect refuses valid plans in the stage job, but it occurs only when the text holds 'MUST NOT' or 'SHALL NOT'.The fix stops false stale-command refusals and lets valid plans pass the stage gate.The change is local to '_removed_names' in 'stage_change.py' and needs new unit tests.Both items touch the stale-command check of 'stage_change.py', but #3287 adds the detection and this item narrows when a command counts as removed.dan-petty commentedon Nov 12, 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 bug actively refuses valid plans at the stage gate, blocking roadmap progress.It removes a false refusal that blocks legitimate spec deltas from being accepted.The fix targets one function to scope MUST NOT to the clause subject rather than the full text.Both items work on the stale-command check in stage_change.py; #3287 added the check, this candidate fixes its false-positive logic.fix(roadmap): read the subject and the object of a removal as whole p…
docs(openspec): state the fail-to-pass counts of the #4954 review fix
fix(roadmap): count a command as removed only when MUST NOT governs it
docs(openspec): state the fail-to-pass count of #4954
fix(roadmap): read the subject and the object of a removal as whole p…
docs(openspec): state the fail-to-pass counts of the #4954 review fix
docs(openspec): put the #4954 delta in the nested capability roadmap-…
devops-cli-service commentedon Nov 12, 2026
Released in v0.119.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.119.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 15:46 UTC