Skip to content

Commit a9b1108

Browse files
authored
fix(openspec): use WHEN/THEN steps in spec scenarios (#225)
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>
1 parent 3468a37 commit a9b1108

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎openspec/specs/annotation-combination/spec.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r
1212
The system SHALL implement MAVEN_PLUGIN_001.
1313

1414
#### Scenario: SVC_MAVEN_PLUGIN_001
15-
The system SHALL pass SVC_MAVEN_PLUGIN_001.
15+
- **WHEN** SVC_MAVEN_PLUGIN_001 is run
16+
- **THEN** it passes

‎openspec/specs/artifact-attachment/spec.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r
1212
The system SHALL implement MAVEN_PLUGIN_003.
1313

1414
#### Scenario: SVC_MAVEN_PLUGIN_003
15-
The system SHALL pass SVC_MAVEN_PLUGIN_003.
15+
- **WHEN** SVC_MAVEN_PLUGIN_003 is run
16+
- **THEN** it passes

‎openspec/specs/skip-flags/spec.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r
1212
The system SHALL implement MAVEN_PLUGIN_004.
1313

1414
#### Scenario: SVC_MAVEN_PLUGIN_004
15-
The system SHALL pass SVC_MAVEN_PLUGIN_004.
15+
- **WHEN** SVC_MAVEN_PLUGIN_004 is run
16+
- **THEN** it passes

‎openspec/specs/zip-assembly/spec.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r
1212
The system SHALL implement MAVEN_PLUGIN_002.
1313

1414
#### Scenario: SVC_MAVEN_PLUGIN_002
15-
The system SHALL pass SVC_MAVEN_PLUGIN_002.
15+
- **WHEN** SVC_MAVEN_PLUGIN_002 is run
16+
- **THEN** it passes

0 commit comments

Comments
 (0)