Skip to content

docs(openspec): plan #3295 reject living-spec paths in stage task groups - #3316

Merged
dan-petty merged 1 commit into
mainfrom
fix/3295-stage-allows-task-groups-that-edit
Nov 3, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/3295-stage-allows-task-groups-that-edit

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3295

The stage planner can put a living spec such as openspec/specs/config-commands/spec.md in the changes or creates list of a task group. That asks the implement step to hand edit a file that only openspec archive writes, and the edit then conflicts with the archive. This change adds a StageGroup model validator in src/devops_cli/roadmap/stage_change.py that refuses any changes or creates path under openspec/specs/, with a message that names the path. reads stays open, so a step may still read a living spec, and openspec/changes/ stays writable. The stage prompt src/devops_cli/ai/tasks/roadmap_stage_change.md now states the rule, and the existing path and prompt test modules cover it.

Change: openspec/changes/3295-stage-allows-task-groups-that-edit/

@dan-petty
dan-petty force-pushed the fix/3295-stage-allows-task-groups-that-edit branch from e64ebe0 to edf1c4a Compare November 3, 2026 16:46
@dan-petty
dan-petty merged commit 59eeded into main Nov 3, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/3295-stage-allows-task-groups-that-edit branch November 3, 2026 16:51
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.

1 participant