# OpenSpec Adapter

Use this adapter when the project uses OpenSpec for design-first development.

Detection hints:

- `openspec/specs/**/spec.md`
- `openspec/changes/**/proposal.md`
- `openspec/changes/**/design.md`
- `openspec/changes/**/tasks.md`
- `openspec/changes/**/specs/**/spec.md`

Validation hints:

- Prefer project-declared OpenSpec commands.
- If an `openspec` executable is available, `openspec validate --strict` is a likely validation candidate.
- Missing `openspec` is environment evidence, not design failure.

Consistency checks:

- active change requirements map to implementation
- scenarios map to tests or payload evidence
- tasks are completed or terminally classified
- archived specs do not override active specs
