Skip to content

fix(openspec): use WHEN/THEN steps in spec scenarios - #124

Merged
jimisola merged 1 commit into
mainfrom
fix/openspec-when-then-scenario-steps
Nov 20, 2026
Merged

jimisola merged 1 commit into
mainfrom
fix/openspec-when-then-scenario-steps

Conversation

@jimisola

Copy link
Copy Markdown
Member

OpenSpec CLI 1.16+ requires a WHEN/GIVEN step and a THEN step in every scenario. openspec validate --specs --strict therefore fails on the one-line stub The system SHALL pass <SVC_ID>., which blocks the validate-openspec check on the reusable-workflow bump PR.

Each stub is replaced with the placeholder pair from reqstool/reqstool-ai#142:

- **WHEN** <SVC_ID> is run
- **THEN** it passes

Content stays owned by reqstool; reqstool enrich drops the pair (reqstool-client#484).

Verification: openspec validate --specs --strict with OpenSpec 2.1.0 passes on all specs.

OpenSpec CLI 1.16+ requires a WHEN/GIVEN and a THEN step in every scenario, so 'openspec validate --specs --strict' rejected the one-line stub. Replaced with the placeholder steps from reqstool-ai#142; the real content stays in reqstool.

Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
@jimisola jimisola self-assigned this Nov 20, 2026
@jimisola
jimisola merged commit dccfeaf into main Nov 20, 2026
10 checks passed
@jimisola
jimisola deleted the fix/openspec-when-then-scenario-steps branch November 20, 2026 20:48
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