mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
87cb206e88
Add three OpenSpec change proposals for enhancing the CLI: - add-spec-commands: Resource-based spec commands with JSON output - add-change-commands: Resource-based change commands with JSON output - add-zod-validation: Runtime validation with detailed error reporting These proposals enable programmatic access to specs and changes, improving integration with CI/CD pipelines and external tooling.
12 lines
355 B
Markdown
12 lines
355 B
Markdown
## MODIFIED Requirements
|
|
|
|
### Requirement: Diff Command Enhancement
|
|
|
|
The diff command SHALL validate change structure before displaying differences.
|
|
|
|
#### Scenario: Validate before diff
|
|
|
|
- **WHEN** executing `openspec diff change-name`
|
|
- **THEN** validate change structure
|
|
- **AND** show validation warnings if present
|
|
- **AND** continue with diff display |