Skip to content

Commit 736346b

Browse files
authored
fix(openspec): use WHEN/THEN steps in spec scenarios (#170)
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 37d7dcb commit 736346b

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

‎openspec/specs/annotation-generation/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 POETRY_PLUGIN_002.
1313

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

‎openspec/specs/build-cleanup/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 POETRY_PLUGIN_004.
1313

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

‎openspec/specs/install-cleanup/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 POETRY_PLUGIN_005.
1313

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

‎openspec/specs/sdist-bundling/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 POETRY_PLUGIN_001.
1313

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

‎openspec/specs/sdist-include-registration/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 POETRY_PLUGIN_003.
1313

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

0 commit comments

Comments
 (0)