Repository navigation
fix(openspec): name REMOVED plus ADDED as the way to retire a scenario - #226
Merged
Merged
Conversation
A MODIFIED block that drops a scenario fails OpenSpec's strict check, and neither Mate schema said how to retire one whose rule the change reverses. The mate-full and mate-minimal specs instructions now say: REMOVE the requirement (Reason, Migration) and ADD its replacement under a new name.
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.
Summary
Names the supported way to retire a scenario whose rule a change reverses (change
name-scenario-retirement-route).OpenSpec 1.15.0's strict check refuses a
MODIFIEDblock that omits a scenario the current spec still has. Neither Mate schema said what to do instead. Both specs instructions now say it:Evidence
mate artifact submitfailed with "MODIFIED … omits scenario(s) the current spec still has". The REMOVED plus ADDED route the agent then found validates.mate-full-schema.test.ts:names REMOVED plus ADDED as the way to retire a scenariomate-minimal-schema.test.ts:names REMOVED plus ADDED as the way to retire a scenarioguidance-payload.test.tsbyte budget holds: mate-full schema stays under its 12 204-byte baseline.typecheck,format,lintclean (one existing lint warning inskill-prefix.ts, untouched).packages/mate-corefull suite: 7001 pass, 3 fail. The 3 (vault.test.ts×2,opencode-plugin/package-packaging.test.ts) are timing tests (23–93 s) that pass when run alone: 28/28 and 2/2.OpenSpec change:
name-scenario-retirement-routeFriction: 0d4a203a-7a36-4953-933c-0cb7f66849f1