You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(roadmap): stage writes RENAMED and REMOVED spec deltas #5340
The stage job cannot write a RENAMED or REMOVED spec delta. StageSpec in src/devops_cli/roadmap/stage/stage_change.py (lines 427-433 at 2026-11-13) holds only the fields added and modified. A plan that must rename a requirement keeps the old name above new text. #5336 merged such a spec (the requirement name says the opposite of its text), and the planner wrote a false reason ("a delta refuses a modified name"). OpenSpec 1.17.0 and openspec/config.yaml support RENAMED and REMOVED.
Proposed solution
Add renamed (FROM/TO pairs) and removed (names with a reason) to StageSpec, render them as ## RENAMED Requirements and ## REMOVED Requirements, teach the planner prompt when to use them, and make the stage gates check that a MODIFIED requirement whose meaning changes gets a fitting name.
Acceptance
A test plan that renames a requirement renders a RENAMED block that openspec validate accepts.
A test plan that removes a requirement renders a REMOVED block with its reason.
Activity
dan-petty commentedon Nov 13, 2026
Both add RENAMED and REMOVED spec delta support, but the candidate modifies the stage writer (StageSpec) while 5256 modifies the plan reader (plan_read.py).docs(openspec): archive the change (#5340)
devops-cli-service commentedon Nov 13, 2026
Released in v0.127.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.127.1
devops-cli-service commentedon Nov 13, 2026
Live since 2026-11-13 12:38 UTC