Skip to content

Commit 0894ccd

Browse files
committed
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 <jimisola@jimisola.com>
1 parent b95ce4a commit 0894ccd

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎openspec/specs/decorator-definitions/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 DECORATORS_001.
1313

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

‎openspec/specs/decorator-processing/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 DECORATORS_002.
1313

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

‎openspec/specs/yaml-export/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 DECORATORS_003.
1313

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

0 commit comments

Comments
 (0)