mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
1.5 KiB
1.5 KiB
Implementation Tasks
1. CLI Behavior and Help
- 1.1 Un-deprecate top-level
openspec list; markchange listas deprecated with warning that points toopenspec list - 1.2 Add support to list specs via
openspec list --specsand keep--changesas default - 1.3 Update command descriptions and
--helpoutput to emphasize verb–noun pattern - 1.4 Keep
openspec spec ...andopenspec change ...commands working but print deprecation notices
2. Core List Logic
- 2.1 Extend
src/core/list.tsto accept a mode:changes(default) orspecs - 2.2 Implement
specslisting: scanopenspec/specs/*/spec.md, compute requirement count via parser, format output consistently - 2.3 Share output structure for both modes; preserve current text table; ensure JSON parity in future change
3. Specs and Conventions
- 3.1 Update
openspec/specs/cli-list/spec.mdto document--specs(and default to changes) - 3.2 Update
openspec/specs/openspec-conventions/spec.mdwith a requirement for verb–noun CLI design and deprecation guidance
4. Tests and Docs
- 4.1 Update tests: ensure
openspec listworks for changes and specs; keepchange listtests but assert warning - 4.2 Update README and any usage docs to show new primary commands
- 4.3 Add migration notes in repo CHANGELOG or README
5. Follow-ups (Optional, not in this change)
- 5.1 Consider
openspec show --specs/--changesfor discovery without ids - 5.2 Consider JSON output for
openspec listwith--jsonfor both modes