From 7a9a1b61f6b254d756e67c29242a5f43fc038010 Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Fri, 20 Nov 2026 16:08:44 +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-definitions/spec.md | 3 ++- openspec/specs/annotation-processing/spec.md | 3 ++- openspec/specs/yaml-export/spec.md | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/openspec/specs/annotation-definitions/spec.md b/openspec/specs/annotation-definitions/spec.md index 064039d..1164eb7 100644 --- a/openspec/specs/annotation-definitions/spec.md +++ b/openspec/specs/annotation-definitions/spec.md @@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r The system SHALL implement ANNOTATIONS_001. #### Scenario: SVC_ANNOTATIONS_001 -The system SHALL pass SVC_ANNOTATIONS_001. +- **WHEN** SVC_ANNOTATIONS_001 is run +- **THEN** it passes diff --git a/openspec/specs/annotation-processing/spec.md b/openspec/specs/annotation-processing/spec.md index 95bc762..ccc0647 100644 --- a/openspec/specs/annotation-processing/spec.md +++ b/openspec/specs/annotation-processing/spec.md @@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r The system SHALL implement ANNOTATIONS_002. #### Scenario: SVC_ANNOTATIONS_002 -The system SHALL pass SVC_ANNOTATIONS_002. +- **WHEN** SVC_ANNOTATIONS_002 is run +- **THEN** it passes diff --git a/openspec/specs/yaml-export/spec.md b/openspec/specs/yaml-export/spec.md index 13401ea..9b018ce 100644 --- a/openspec/specs/yaml-export/spec.md +++ b/openspec/specs/yaml-export/spec.md @@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r The system SHALL implement ANNOTATIONS_003. #### Scenario: SVC_ANNOTATIONS_003 -The system SHALL pass SVC_ANNOTATIONS_003. +- **WHEN** SVC_ANNOTATIONS_003 is run +- **THEN** it passes