OpenSpec archive layout and task-parsing shapes a tool must handle
FactVerified 2 Oct 2026Holds anywhere
Fact. A statement and the evidence for it.
Statement#
OpenSpec archives a change into a flat openspec/changes/archive/YYYY-MM-DD-<id> folder and adds the date prefix when the id has none, so a tool must resolve --change foo to archive/foo or archive/<date>-foo and never search nested folders. OpenSpec task parsing also accepts -, *, + and 1. bullets and tasks with no number, so a parser that reads only - [ ] 1.1 lets a gate pass while skipping tasks.
Evidence#
Read from OpenSpec's source while building ralibi's parser.
Also found by searching
- openspec archive folder YYYY-MM-DD-<id> flat
- openspec task parsing accepts - * + and 1. bullets
- resolve --change foo to archive/foo or archive/<date>-foo
- parser that reads only "- [ ] 1.1" skips tasks