Planning With Files

prismatic7Tasks & WorkflowsNot reviewed by BB
Get it for macOS

A plan that lives on disk: task_plan.md, findings.md and progress.md, with init, status and a completion gate.


A plan that survives compaction

Long tasks lose their state when the context is summarised away. This plugin keeps the plan on disk, in three files, so an agent that wakes up in a compacted thread can read where the work actually stands.

Plans live under a dated folder in the thread's environment: .planning/YYYY-MM-DD-slug/.

  • task_plan.md — the goal and its phases, as checkbox items.
  • findings.md — facts the work has established.
  • progress.md — an append-only log.

Tools

  • pwf_init(goal, phases) — create the plan. Idempotent: existing files are not clobbered.
  • pwf_status() — the goal, every phase's state, and the tail of progress.
  • pwf_check(tick?, note?) — the completion gate. It refuses "done" while a box is empty and names what is still open. With tick, it marks a phase complete and logs the note.

The discipline lives in a skill

The plugin ships the tools and no skill. The working method — phases with observable completion, findings as evidence, ticks only when the evidence exists — is carried by the user-level planning-with-files skill, which BB already lists. Bundling a second copy would give BB two skills with one name, so the plugin defers to it.

What is not ported

The upstream OpenCode plugin also injects the plan each turn, reminds after writes, and holds a session open until the plan reports complete. Those need per-turn hooks BB does not give plugins. This port keeps the files and the gate, and says so rather than pretending.

More from prismatic7

More in Tasks & Workflows 74

Plan, track, route, schedule, or automate work.

View all