Files
Tabish Bidiwale 87cb206e88 feat: add JSON output and Zod validation change proposals
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.
2025-08-15 17:40:06 +10:00

355 B

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