diff --git a/openspec/specs/cli-artifact-workflow/spec.md b/openspec/specs/cli-artifact-workflow/spec.md index a0f75859d1..6781649d7a 100644 --- a/openspec/specs/cli-artifact-workflow/spec.md +++ b/openspec/specs/cli-artifact-workflow/spec.md @@ -188,7 +188,7 @@ The system SHALL implement artifact workflow commands in isolation for easy remo #### Scenario: Single file implementation - **WHEN** artifact workflow feature is implemented -- **THEN** all commands are in `src/commands/artifact-workflow.ts` +- **THEN** all commands are in `src/commands/workflow/status.ts` #### Scenario: Help text marking - **WHEN** user runs `--help` on any artifact workflow command diff --git a/openspec/specs/cli-config/spec.md b/openspec/specs/cli-config/spec.md index 8b87d110a1..abf50c60a6 100644 --- a/openspec/specs/cli-config/spec.md +++ b/openspec/specs/cli-config/spec.md @@ -182,7 +182,7 @@ The `openspec config profile` command SHALL provide an action-first interactive - **WHEN** user runs `openspec config profile` interactively - **THEN** the first prompt SHALL offer: - - `Change delivery + workflows` + - `Delivery and workflows` - `Change delivery only` - `Change workflows only` - `Keep current settings (exit)` diff --git a/openspec/specs/cli-init/spec.md b/openspec/specs/cli-init/spec.md index 9653180de2..f379c63b9a 100644 --- a/openspec/specs/cli-init/spec.md +++ b/openspec/specs/cli-init/spec.md @@ -106,7 +106,7 @@ The command SHALL use consistent exit codes to indicate different failure modes. - 0: Success - 1: General error (including when OpenSpec directory already exists) - 2: Insufficient permissions (reserved for future use) - - 3: User cancelled operation (reserved for future use) + - 130: User cancelled operation (reserved for future use) ### Requirement: Additional AI Tool Initialization `openspec init` SHALL allow users to add configuration files for new AI coding assistants after the initial setup. diff --git a/openspec/specs/openspec-conventions/spec.md b/openspec/specs/openspec-conventions/spec.md index 54fc0e0f3b..56b060824b 100644 --- a/openspec/specs/openspec-conventions/spec.md +++ b/openspec/specs/openspec-conventions/spec.md @@ -99,7 +99,7 @@ Requirement headers SHALL serve as unique identifiers for programmatic matching - **WHEN** processing delta changes - **THEN** use the `### Requirement: [Name]` header as the unique identifier -- **AND** match using normalized headers: `normalize(header) = trim(header)` +- **AND** match using normalized headers: `normalize(header) = remove a trailing run of `#` characters and surrounding spaces, then trim(header)` - **AND** compare headers with case-sensitive equality after normalization #### Scenario: Handling requirement renames