Skip to content

docs(openspec): plan #3456 refuse two plan tasks that state the same work - #3471

Merged
dan-petty merged 1 commit into
mainfrom
fix/3456-the-plan-check-refuses-two-tasks
Nov 5, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/3456-the-plan-check-refuses-two-tasks

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3456

The plan check accepts two tasks that state the same work. A step runs one task group, so a duplicate can make the model repeat an edit, spend the group budget, or stop when the second edit writes no file. check_proposal now compares the normalized work text of the tasks of a group and of the whole plan. It refuses two tasks whose work text is the same and names both task numbers and the group or groups. The work text is the test, the implementation and the documentation of a task; a verification command, a manual process and the fixed docs command stay out, so two tasks may share a command. The text comes from the message catalog. Tests cover a duplicate in one group, one across two groups and two tasks that share a command.

Change: openspec/changes/3456-the-plan-check-refuses-two-tasks/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 4, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 4, 2026 15:51
@dan-petty
dan-petty merged commit 03551e9 into main Nov 5, 2026
18 checks passed
@dan-petty
dan-petty deleted the fix/3456-the-plan-check-refuses-two-tasks branch November 5, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant