octobot/skills/loop/ferry/decision-format.md

50 lines
1.3 KiB
Markdown

# Ferry decision format
## MAP.md — `OKF/specs/ferry-<topic>/MAP.md`
```markdown
# ferry — <topic>
Destination: <one sentence — what "the way is clear" means>.
| id | decision | status | blocked-by | spec |
|---|---|---|---|---|
| D-1 | <title> | open | — | |
| D-2 | <title> | open | D-1 | |
| D-3 | <title> | resolved | — | 004 |
```
## Decision file — `D-<n>-<slug>.md`
```markdown
---
status: open | resolved | superseded-by-D-<m>
blocked-by: [D-1, D-2] # empty list if unblocked
---
# D-<n> — <the decision as a question>
## Why it must be decided
<what downstream work it blocks; one paragraph>
## Options
- **A — <name>**: <one-line description, chief trade-off>
- **B — <name>**: ...
## Recommendation
<the agent's pick + reason — written BEFORE asking, grilling-style>
## Resolution
<empty until resolved: the choice, the user's rationale, date.
Append-only — a changed mind is a new decision superseding this one.>
```
## Rules
- One genuine decision per file; a compound question splits.
- `blocked-by` edges must be acyclic — check when adding, not when stuck.
- Status flips only with a filled Resolution; Resolution never edited
after — supersede with a new decision instead.
- The `spec` column in MAP.md fills as [blueprint](../blueprint/SKILL.md)
crystallises resolutions into `OKF/specs/NNN`.