diff --git a/skills/loop/ferry/SKILL.md b/skills/loop/ferry/SKILL.md new file mode 100644 index 0000000..9e5f864 --- /dev/null +++ b/skills/loop/ferry/SKILL.md @@ -0,0 +1,70 @@ +--- +name: ferry +description: Carry work too big for one session across the gap — map it as a directory of small decision files with blocking edges under OKF/specs/ferry-/, then resolve one decision per sitting until the way is clear. +disable-model-invocation: true +--- + +# ferry + +Matt Pocock's wayfinder, file-based. For work **more than one agent +session can hold**: don't plan it in one heroic sitting — map the +*decisions* it needs, edge them, resolve them one at a time. The ferry +directory is what crosses the session boundary. + +## When to use +- User says "ferry", "/ferry", "this is too big for one session", + "map this feature out". +- An [architect](../architect/SKILL.md) phase or + [blueprint](../blueprint/SKILL.md) attempt turns out too large to spec + as one implementable unit. +- A [handoff](../../productivity/handoff/SKILL.md) is looming on a + half-decided design — ferry the open questions instead of prose-dumping + them. + +## Process +1. **Name the destination** — one sentence: what "the way is clear" + means (all decisions resolved → specs exist → implement can run). +2. **Create `OKF/specs/ferry-/`** with `MAP.md`: destination + sentence + decision list (`D-1 — title — status — blocked-by`). +3. **Write decision files** `D--.md` per + [decision-format.md](decision-format.md). Small: one genuine + decision each — if a "decision" is really three, split it. Declare + `blocked-by:` edges honestly; no edge, no ordering claim. +4. **Resolve one decision per sitting.** Pick an unblocked one. Grill it + [grill-with-docs](../../engineering/grill-with-docs/SKILL.md)-style + — research first, one question at a time, recommendation attached. + Record resolution + rationale in the file; flip status. +5. **Crystallise as you go**: a resolved decision that unlocks + implementable work → hand to [blueprint](../blueprint/SKILL.md); + the spec's `traces-to` cites `ferry-/D-`. Resolved terms → + `OKF/CONTEXT.md` per domain-modeling. +6. **Arrive**: every decision resolved → update `MAP.md` with the spec + numbers produced; the ferry directory stays as the decision record + (supersede, don't delete). + +## Session boundary +End of sitting → `MAP.md` *is* the handoff for this work: next session +reads MAP.md, picks the next unblocked decision. Don't duplicate ferry +state into HANDOFF.md — reference the directory +([handoff](../../productivity/handoff/SKILL.md) rule). + +## Output / done criteria +- `MAP.md` lists every decision with status and edges; no cycles. +- Each sitting resolves ≥1 decision or records why it's blocked on the + user/world. +- Every resolved decision has rationale; every spawned spec traces back. + +## Guardrails +- **Never** resolve a decision whose `blocked-by` set has open members. +- **Never** batch-resolve — one decision per sitting keeps each one + actually grilled, not rubber-stamped. +- **Never** put implementation or code in ferry files — decisions only. +- **Never** delete a resolved decision — it's the why-record + (append-only history, like architect's locked decisions). + +## See also +- [decision-format.md](decision-format.md) — file contract. +- [../blueprint/SKILL.md](../blueprint/SKILL.md) — downstream of every + resolution. +- [../architect/SKILL.md](../architect/SKILL.md) — phases too big to + spec directly get ferried. diff --git a/skills/loop/ferry/decision-format.md b/skills/loop/ferry/decision-format.md new file mode 100644 index 0000000..d712bac --- /dev/null +++ b/skills/loop/ferry/decision-format.md @@ -0,0 +1,49 @@ +# Ferry decision format + +## MAP.md — `OKF/specs/ferry-/MAP.md` + +```markdown +# ferry — + +Destination: . + +| id | decision | status | blocked-by | spec | +|---|---|---|---|---| +| D-1 | | 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`.