-
Notifications
You must be signed in to change notification settings - Fork 985
Open
Description
This happens every time I run openspec validate my-task --strict (actually claude code runs this)
✗ [ERROR] file: Change must have at least one delta. No deltas found. Ensure your change
has a specs/ directory with capability folders (e.g. specs/http-server/spec.md)
containing .md files that use delta headers (## ADDED/MODIFIED/REMOVED/RENAMED
Requirements) and that each requirement includes at least one "#### Scenario:" block.
Tip: run "openspec change show <change-id> --json --deltas-only" to inspect parsed
deltas.
Next steps:
- Ensure change has deltas in specs/: use headers ## ADDED/MODIFIED/REMOVED/RENAMED
Requirements
- Each requirement MUST include at least one #### Scenario: block
- Debug parsed deltas: openspec change show <id> --json --deltas-only
Running openspec change show <id> --json --deltas-only actually returns 18 deltas for me, so there looks to be something broken in the validation.
ClaudeCode eventually continues with:
There appears to be a validation bug in OpenSpec. The deltas are correctly parsed by
show but not by validate. Let me try a manual workaround by directly moving the files
and creating the specs
and
Recommended next steps:
1. Report the OpenSpec CLI bug: The validation logic appears inconsistent between the show and
validate commands
2. Manual workaround (if you want to proceed):
# Move to archive
mv openspec/changes/improve-fullscreen-ui
openspec/changes/archive/2025-10-12-improve-fullscreen-ui
# Copy spec files to main specs directory
cp -r openspec/changes/archive/2025-10-12-improve-fullscreen-ui/specs/* openspec/specs/
3. Alternative: Keep the change in the active changes/ directory until the OpenSpec CLI bug is
fixed
Metadata
Metadata
Assignees
Labels
No labels