47 lines
1.7 KiB
Markdown
47 lines
1.7 KiB
Markdown
# Spec format — OKF/specs/NNN-<slug>.md
|
|
|
|
```markdown
|
|
---
|
|
status: draft | locked | implemented | superseded-by-NNN
|
|
traces-to: ROADMAP.md phase N | ferry-<topic>/D-<n> | user request <date>
|
|
---
|
|
|
|
# NNN — <imperative title, completes "this change will…">
|
|
|
|
## Justification
|
|
<Why this exists. References (not restatements) of the roadmap phase,
|
|
ferry decision, or user need. If sieve-relevant: which Real need this
|
|
answers.>
|
|
|
|
## Spec
|
|
<Observable behaviour, exact semantics. What the change does — inputs,
|
|
outputs, states, error modes. Canonical vocabulary from OKF/CONTEXT.md
|
|
only. No implementation prescriptions unless they ARE the requirement.>
|
|
|
|
## Seams touched
|
|
<The interfaces tests will run against — module + entry point each.
|
|
bdd's pre-agreed seam list; review-blueprint checks nothing leaked past
|
|
them.>
|
|
|
|
## Verify
|
|
<ONE runnable command or observable check that proves the spec is met.
|
|
implement pastes its output before flipping status. "Tests pass" is not
|
|
a Verify; `just test` on a named suite is.>
|
|
|
|
## Out of scope
|
|
<Explicit non-goals — review-blueprint flags anything here that shows
|
|
up in the diff.>
|
|
```
|
|
|
|
## Rules
|
|
|
|
- Title is imperative — a spec names a change, not a state.
|
|
- `traces-to` is mandatory; a spec that traces to nothing fails
|
|
[sieve](../../engineering/sieve/SKILL.md)'s Real test by definition.
|
|
- Locked spec's Spec/Verify sections are immutable — supersede, don't
|
|
edit. Justification may gain references; status may advance.
|
|
- A spec grows into `NNN-<slug>/` (spec.md + notes) when one file won't
|
|
hold it — the format above moves to `spec.md` unchanged.
|
|
- Issue-local vocabulary lives here until it recurs; then promote to
|
|
`OKF/CONTEXT.md` (domain-modeling's recurrence rule).
|