From 73946fed8c4cf23acb4b4bb17310e17c3a2c07f8 Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Fri, 20 Nov 2026 16:09:15 +0100 Subject: [PATCH] fix(openspec): use WHEN/THEN steps in spec scenarios 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 --- openspec/specs/annotation-generation/spec.md | 3 ++- openspec/specs/sdist-bundling/spec.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/openspec/specs/annotation-generation/spec.md b/openspec/specs/annotation-generation/spec.md index 424072e..ca077fa 100644 --- a/openspec/specs/annotation-generation/spec.md +++ b/openspec/specs/annotation-generation/spec.md @@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r The system SHALL implement HATCH_PLUGIN_001. #### Scenario: SVC_HATCH_PLUGIN_001 -The system SHALL pass SVC_HATCH_PLUGIN_001. +- **WHEN** SVC_HATCH_PLUGIN_001 is run +- **THEN** it passes diff --git a/openspec/specs/sdist-bundling/spec.md b/openspec/specs/sdist-bundling/spec.md index a579119..f6f5e01 100644 --- a/openspec/specs/sdist-bundling/spec.md +++ b/openspec/specs/sdist-bundling/spec.md @@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r The system SHALL implement HATCH_PLUGIN_002. #### Scenario: SVC_HATCH_PLUGIN_002 -The system SHALL pass SVC_HATCH_PLUGIN_002. +- **WHEN** SVC_HATCH_PLUGIN_002 is run +- **THEN** it passes