Documentation
¶
Overview ¶
Lanes checks the lane graph: which lane needs which, and where each one stands.
Usage:
lanes check [-f lanes.json] lanes extract -prompts dir lanes status [-f lanes.json] id status [evidence...]
The graph lives in lanes.json beside the lane prompts. Each lane has an id, a title, a tier (supporting, table-stakes, validation, big-bet or bigger-bet), the bet it serves, a status (unknown, not-started, in-progress, on-main, done, paused or stopped), the date and evidence for that status, and its dependencies. A dependency is "needs" (the lane cannot finish without it), "gate" (it waits on that lane's decision gate) or "soft" (it reuses or coordinates with that lane, which may land in either order).
Check reports, and exits 1 for:
- a duplicate lane, or an unknown tier, status or dependency kind;
- a dependency on a lane the file does not hold;
- a cycle of needs and gate dependencies;
- a lane on main or done that needs, or waits on the gate of, a lane not started;
- a supporting or table-stakes lane that depends on a bet lane.
Extract writes a first lanes.json from the prompts: the index and tiers of 00-common.md, each prompt's Status line, and the bold lane references in its Dependencies section, with each dependency's kind guessed from its wording and that wording kept as its reason. Review the kinds before relying on them; after that the file, not the prompts, is the record.
Status sets one lane's status, dated today, and replaces its evidence.