Skip to content

fix(openspec): name REMOVED plus ADDED as the way to retire a scenario - #226

Merged
TornquistK merged 1 commit into
mainfrom
workset/name-scenario-retirement-route
Dec 2, 2026
Merged

TornquistK merged 1 commit into
mainfrom
workset/name-scenario-retirement-route

Conversation

@TornquistK

Copy link
Copy Markdown
Collaborator

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 MODIFIED block that omits a scenario the current spec still has. Neither Mate schema said what to do instead. Both specs instructions now say it:

 mate-full specs instruction (after "Common pitfall: …use ADDED instead.")
+To retire a scenario whose rule the change reverses, REMOVE the requirement (with **Reason** and **Migration**) and ADD its replacement under a new name: a MODIFIED block cannot drop a scenario.

 mate-minimal specs instruction (after the MODIFIED story bullet)
+- To retire a scenario whose rule the change reverses, REMOVE the requirement (with
+  **Reason** and **Migration**) and ADD its replacement under a new name: a MODIFIED
+  story cannot drop a scenario.

Evidence

  • Before: on 2026-12-01 an agent's MODIFIED block replaced a scenario; mate artifact submit failed with "MODIFIED … omits scenario(s) the current spec still has". The REMOVED plus ADDED route the agent then found validates.
  • New tests, red on ff9315f, green now:
    • mate-full-schema.test.ts: names REMOVED plus ADDED as the way to retire a scenario
    • mate-minimal-schema.test.ts: names REMOVED plus ADDED as the way to retire a scenario
  • guidance-payload.test.ts byte budget holds: mate-full schema stays under its 12 204-byte baseline.
  • typecheck, format, lint clean (one existing lint warning in skill-prefix.ts, untouched).
  • packages/mate-core full 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-route

Friction: 0d4a203a-7a36-4953-933c-0cb7f66849f1

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.
@TornquistK
TornquistK merged commit fce802a into main Dec 2, 2026
1 check passed
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