From 681cf4e22aad1c8f19724361cf26ccb86a5c5f9c Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Fri, 20 Nov 2026 16:09:09 +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/build-cleanup/spec.md | 3 ++- openspec/specs/install-cleanup/spec.md | 3 ++- openspec/specs/sdist-bundling/spec.md | 3 ++- openspec/specs/sdist-include-registration/spec.md | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/openspec/specs/annotation-generation/spec.md b/openspec/specs/annotation-generation/spec.md index 11b6b92..bc20197 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 POETRY_PLUGIN_002. #### Scenario: SVC_POETRY_PLUGIN_002 -The system SHALL pass SVC_POETRY_PLUGIN_002. +- **WHEN** SVC_POETRY_PLUGIN_002 is run +- **THEN** it passes diff --git a/openspec/specs/build-cleanup/spec.md b/openspec/specs/build-cleanup/spec.md index 81e6e04..8c428d9 100644 --- a/openspec/specs/build-cleanup/spec.md +++ b/openspec/specs/build-cleanup/spec.md @@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r The system SHALL implement POETRY_PLUGIN_004. #### Scenario: SVC_POETRY_PLUGIN_004 -The system SHALL pass SVC_POETRY_PLUGIN_004. +- **WHEN** SVC_POETRY_PLUGIN_004 is run +- **THEN** it passes diff --git a/openspec/specs/install-cleanup/spec.md b/openspec/specs/install-cleanup/spec.md index fabf1da..4e7df39 100644 --- a/openspec/specs/install-cleanup/spec.md +++ b/openspec/specs/install-cleanup/spec.md @@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r The system SHALL implement POETRY_PLUGIN_005. #### Scenario: SVC_POETRY_PLUGIN_005 -The system SHALL pass SVC_POETRY_PLUGIN_005. +- **WHEN** SVC_POETRY_PLUGIN_005 is run +- **THEN** it passes diff --git a/openspec/specs/sdist-bundling/spec.md b/openspec/specs/sdist-bundling/spec.md index cb82903..10451c7 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 POETRY_PLUGIN_001. #### Scenario: SVC_POETRY_PLUGIN_001 -The system SHALL pass SVC_POETRY_PLUGIN_001. +- **WHEN** SVC_POETRY_PLUGIN_001 is run +- **THEN** it passes diff --git a/openspec/specs/sdist-include-registration/spec.md b/openspec/specs/sdist-include-registration/spec.md index ef7957a..167a67c 100644 --- a/openspec/specs/sdist-include-registration/spec.md +++ b/openspec/specs/sdist-include-registration/spec.md @@ -12,4 +12,5 @@ reqstool requirement and SVC IDs only; titles and descriptions are injected at r The system SHALL implement POETRY_PLUGIN_003. #### Scenario: SVC_POETRY_PLUGIN_003 -The system SHALL pass SVC_POETRY_PLUGIN_003. +- **WHEN** SVC_POETRY_PLUGIN_003 is run +- **THEN** it passes