Repository navigation
docs(openspec): plan #3456 refuse two plan tasks that state the same work - #3471
Open
devops-cli-service[bot] wants to merge 1 commit into
Open
devops-cli-service[bot] wants to merge 1 commit into
devops-cli-service[bot] wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_proposalnow 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/