Skip to content

Commit 3d3bf96

Browse files
fsilvaortizclaudeTabishB
authored
docs: fix openspec status examples in cli.md (Fission-AI#761)
* docs: fix `openspec status` examples in cli.md to match actual CLI output The text and JSON output examples for the status command used incorrect field names, indicators, and structure. Updated to match real CLI output, validated against a test project with partial artifacts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * chore: remove spec change and changeset for docs-only fix Per reviewer feedback — docs fixes don't need a spec change or version bump. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Tabish Bidiwale <30385142+TabishB@users.noreply.github.com>
1 parent d199dfa commit 3d3bf96

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

docs/cli.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -437,29 +437,28 @@ openspec status --change add-dark-mode --json
437437
```
438438
Change: add-dark-mode
439439
Schema: spec-driven
440+
Progress: 2/4 artifacts complete
440441
441-
Artifacts:
442-
✓ proposal proposal.md exists
443-
✓ specs specs/ exists
444-
◆ design ready (requires: specs)
445-
○ tasks blocked (requires: design)
446-
447-
Next: Create design using /opsx:continue
442+
[x] proposal
443+
[ ] design
444+
[x] specs
445+
[-] tasks (blocked by: design)
448446
```
449447

450448
**Output (JSON):**
451449

452450
```json
453451
{
454-
"change": "add-dark-mode",
455-
"schema": "spec-driven",
452+
"changeName": "add-dark-mode",
453+
"schemaName": "spec-driven",
454+
"isComplete": false,
455+
"applyRequires": ["tasks"],
456456
"artifacts": [
457-
{"id": "proposal", "status": "complete", "path": "proposal.md"},
458-
{"id": "specs", "status": "complete", "path": "specs/"},
459-
{"id": "design", "status": "ready", "requires": ["specs"]},
460-
{"id": "tasks", "status": "blocked", "requires": ["design"]}
461-
],
462-
"next": "design"
457+
{"id": "proposal", "outputPath": "proposal.md", "status": "done"},
458+
{"id": "design", "outputPath": "design.md", "status": "ready"},
459+
{"id": "specs", "outputPath": "specs/**/*.md", "status": "done"},
460+
{"id": "tasks", "outputPath": "tasks.md", "status": "blocked", "missingDeps": ["design"]}
461+
]
463462
}
464463
```
465464

0 commit comments

Comments
 (0)