mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
13 lines
598 B
Markdown
13 lines
598 B
Markdown
## Why
|
|
Validation currently errors on changes without spec deltas, even when the change is intentionally proposal-only or tooling-only. This creates false negatives and noisy CI.
|
|
|
|
## What Changes
|
|
- Make change validation scope-aware: validate only artifacts that exist.
|
|
- Only error on "No deltas found" if spec delta files exist but parse to zero deltas.
|
|
- Keep archive stricter: if specs exist but parse to zero deltas, fail; allow `--skip-specs` for tooling-only changes.
|
|
|
|
## Impact
|
|
- Affected specs: cli-validate
|
|
- Affected code: `src/commands/validate.ts`, `src/core/validation/validator.ts`
|
|
|