agentleFS
TheAxeCTheAxeC/ordo/skills/orchestration/plan/SKILL.md

plan

Skill0 starsChanged 3 days agoMITView on GitHub

Open a plan for one roadmap entry: create its ledger folder from the repository's plan configuration, write plan.md with the entry's goal, gate and a drafted step list for approval, the gate and each step's check asked whether it could pass without the goal being reached, each approved step tagged (approved), and orchestrator-state.md with the configuration block filled from the repository. Triggers on: open a plan, start a plan, plan <roadmap entry>, new plan for <entry>.

184 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use context-optimize, codex-system and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SireJeffSkill

    context-optimize

    Context Optimization - Orchestrate RPI workflow TODO generation with interactive scoping

    Also in 4 projects that use this

  • gaebalaiSkill

    codex-system

    PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".

    Also in 4 projects that use this

  • gaebalaiSkill

    design-tracker

    PROACTIVELY track and document project design decisions without being asked. Activate automatically when detecting architecture discussions, implementation decisions, pattern choices, library selections, or any technical decisions. Also use when user explicitly says "記録して", "設計どうなってる", "record this". Do NOT wait for user to ask - record important decisions immediately.

    Also in 4 projects that use this

  • math-incSkill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 10 projects that use this

  • math-incSkill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 6 projects that use this

  • aboylabsSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 7 projects that use this

  • +3 more from gaebalai
  • +2 more from math-inc

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. 0 are common, 12 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 170 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every path a key holds is read relative to the folder that holds the file: roadmap, verification, rules, ledger_root, archive_root, …

    line 40
  2. Distinctive:

    When the list names more than one such page, the glossary is the first in the list's order.

    line 48
  3. Distinctive:

    No file in any place of the order, and a required key missing, are stops ("Stops").

    line 58
  4. Distinctive:

    No match is a stop ("Stops").

    line 61
  5. Distinctive:

    No bullet of the Rulings section, or of the rulings file, has the name, or more than one has it.

    line 93
  6. Very specific:

    No step is drafted to fix what another step's run or review found and to run that check again: that is a repair round of the other step, as …

    line 146
  7. Distinctive:

    When the closing step has run the script, the ledger folder moves only when the script exits 0.

    line 158
  8. Distinctive:

    When the closing step has skipped the script, the ledger folder moves.

    line 159
  9. Very specific:

    Write plan.md once the user has approved or corrected it.

    line 172
  10. Distinctive:

    Every answer in "## Gate" is no.

    line 175
  11. Distinctive:

    No design decision is named as unsettled.

    line 176
  12. Distinctive:

    No line of the rulings file is left to place.

    line 177
  13. Very specific:

    Write orchestrator-state.md from templates/orchestrator-state.md.

    line 200
  14. Very specific:

    Create agents/briefs/ and agents/reviews/, each with an empty .gitkeep, since git does not keep an empty folder.

    line 216
  15. Very specific:

    Commit plan.md, orchestrator-state.md and the two .gitkeep files as the plan's opening commit, naming its paths.

    line 217
  16. Very specific:

    When Steps 2 copied the ruling from the rulings file, the ledger file named is the new plan.md.

    line 223
  17. Very specific:

    When the last commit holds it (git cat-file -e HEAD:<path> exits 0), the removal is git rm -q -f -- <path>, and its path is named in the …

    line 225
  18. Distinctive:

    When the stop "The plan exists" finds the entry's rulings file still there, the Agents bullets it holds are named.

    line 244
  19. Very specific:

    Every step line of plan.md ends with its authority.

    line 259
  20. Distinctive:

    Every path in the ledger is relative to the repository root.

    line 263
  21. Distinctive:

    Every command in the ledger names the directory it runs from.

    line 264

“Common” is measured: kept by at least 6 in 10 of the 170 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Open a plan

/plan <entry> turns one roadmap entry into a ledger folder that /spec, /refute, /land and plan-orchestration then run from. It leaves behind plan.md and orchestrator-state.md, committed, and agents/briefs/ and agents/reviews/, each holding an empty .gitkeep.

Quick start

/plan <entry>             open the plan for one roadmap entry: the ledger folder the step skills and the orchestrator run from, its step list drafted for approval
/plan <project>/<entry>   the same, in a repository whose plan.yaml lists several projects
/plan <folder>/<entry>    the same, from the plan.yaml in <folder>, a path from the repository root
/plan <folder>/<project>/<entry>   the same, for one project of the plan.yaml in <folder>
/plan <entry> --ruling <ledger file> "<name>"   the same, under a quoted ruling: a step list that is the ruled one is written without the stop
/plan <entry> --self-rule   the same, run by plan-orchestration in next-entry mode: the orchestrator takes the drafted step list as its choice

Use instead

WhenUse
The repository has no plan configuration/ordo-init
The roadmap has no entry for the work yet/roadmap add <goal>
The entry's design decisions are not settled/grill <entry>
The plan is open and a step is due/spec <entry> <step>, or /plan-orchestration <entry> for every step
Where an open plan stands/ordo-help <entry>

What it reads

  1. The plan configuration, the only place a project specific lives: the first plan.yaml found in the folder named in the call, then in .scratch/, docs/ and .agents/ at the repository root, in that order.
    • The folder stands in the call in front of the entry, as a path from the repository root: /plan apps/web/12 reads apps/web/plan.yaml.
    • The folder is the longest leading part of what stands in front of the entry that is a folder holding a plan.yaml, and what is left of that part names a project of the file's projects: form: /plan tools/a/12 reads the project a of tools/plan.yaml.
    • With no such folder, the file is the first found in the three places at the repository root, and the whole part in front of the entry names a project of it: /plan x/12 reads the project x of docs/plan.yaml.
    • A call that names no folder reads the first file found in the three places at the repository root.
    • Every path a key holds is read relative to the folder that holds the file: roadmap, verification, rules, ledger_root, archive_root, worktree_root, worktree_paths, each entry of standards and adr.
      • The file's folder and the repository root are resolved through links before a path is resolved or compared.
      • A path may lead out of the file's folder through .., and is refused when it resolves outside the repository.
      • A ledger_root or a worktree_root that resolves to the repository root is refused, and ledger_root: . in .scratch/plan.yaml is the folder .scratch.
      • look, bench and design_references hold text and are not resolved.
      • In the text of every skill, <ledger_root>, <archive_root> and <worktree_root> stand for the folder the key names as it reads from the repository root, and a page a key names is opened at the path it resolves to.
    • The glossary is the page of the standards list whose file name is glossary.md.
      • A repository whose standards list names no such page has no glossary for the skills, whatever file of that name it holds.
      • When the list names more than one such page, the glossary is the first in the list's order.
      • A skill that reads the standards from the configuration block of an open plan's state file reads the glossary's path from that block's standards list.
    • Its keys, which of them are required and the default of each optional one are in templates/plan.yaml (one project) and templates/plan.projects.yaml (several, listed under projects:, with <entry> then <project>/<entry>).
      • Each plan.yaml of the repository, and each project of the projects: form, has a ledger root of its own, since a rulings file is named by the entry's number alone ("What it reads" 4).
      • The ordo-init skill's templates/check_config.py refuses two projects of one projects: form whose ledger_root values resolve to one folder.
      • Two plan.yaml files whose ledger roots resolve to one folder are not checked.
      • On such a shared root, another entry's file at the rulings file's path is the grill skill's stop "Another entry's rulings file".
      • On such a shared root, Steps 3 shows another entry's file at that path as "What it reads" 4 says.
    • An optional key missing takes the default the example file gives it.
      • A default that is a path is read from the repository root, wherever the file stands: adr is then docs/adr and worktree_root is .agents/worktrees.
    • No file in any place of the order, and a required key missing, are stops ("Stops").
  2. The roadmap the configuration names.
    • <entry> is matched against the entries by number or title.
      • No match is a stop ("Stops").
      • An entry that stands under the roadmap's "Not yet specified" section is a refusal that names /roadmap add <entry>, which names its gate ("Stops").
  3. The verification page the configuration names, for the commands every step runs.
    • Each command of the page runs from the repository root, whatever folder holds the plan.yaml.
    • A page in a project folder therefore writes each command as it runs from the root: test -d apps/web/src for a check of src in apps/web.
  4. The rulings file <ledger_root>/rulings/<number>.md, when it exists and its heading line names the entry: the settled design answers for the entry, the user's and those /grill --self-rule wrote, written while no plan was open, and, under its ## Agents heading, the lookup agents /grill started while no plan was open.
    • <number> is the entry's number as the roadmap writes it before the title, changed in three ways.
      • A full stop that ends it is dropped.
      • A project prefix is dropped, as Steps 1 drops it.
      • It is written in lower case, with each run of characters other than letters and digits as a single -.
    • The entry 2.E.A. self-rule gives 2-e-a.md.
    • /plan web/12 gives 12.md under the ledger_root of the project web.
    • The heading line # Rulings: <entry> names the entry when the number it holds before the title, written by the same rule, equals the entry's.
    • The title in the heading is not compared.
    • A file at that path whose heading line does not hold the entry's number, holding another number or none, is another entry's file.
      • Steps 3 shows it with the draft.
      • It is neither copied nor removed.
    • A file under <ledger_root>/rulings/ at another path whose heading line holds the entry's number is not read.
    • A file under <ledger_root>/rulings/ whose heading line holds no number, its text after # Rulings: being the entry's title, is not read.
    • Steps 3 names each file that is not read with the draft, saying that it is not read, and that it is read once it stands at <ledger_root>/rulings/<number>.md with a heading line # Rulings: <number>. <title> that holds the entry's number.
  5. The ADRs in the folder the configuration's adr names (docs/adr when it has none): each NNNN-*.md record for its part in force, as the spec skill's "What it reads" 5 says.
  6. The quoted ruling, when the invocation ends with --ruling <ledger file> "<name>".
    • <ledger file> is a plan's plan.md or a rulings file, given by a path the skill can read from where it runs.
    • The quoted ruling is the bullet named <name> in that file's Rulings section, or in the file itself when it is a rulings file, with every line under it: its sub-bullets and their fenced blocks.
    • The name is read as the spec skill's "What it reads" 4 reads a ruling's name.
    • It is matched against the bullet's text as written, a quotation mark in it included.
    • A draft is the ruled change when each change it makes to a file has a sub-bullet that states it and equals that sub-bullet.
      • What the skill shows beside the change, such as a gate's answer with its reason or the lines around a place, is not part of what is compared.
    • A text of several lines is compared line for line with the fenced block under its sub-bullet.
    • There is no ruling in any of these cases.
      • --ruling is not followed by the file and the name as the last two arguments of the invocation.
      • The file does not exist, or is neither of those two files.
      • No bullet of the Rulings section, or of the rulings file, has the name, or more than one has it.
      • The name is a placeholder in angle brackets, such as <L>.
      • The bullet's first line ends with neither "(the user)" nor "(self-rule)", each with or without a full stop after it.
    • With no ruling, the skill says which of these it found.
    • With no ruling, every stop stands.
  7. The argument --self-rule, right after <entry>, before any other argument.
    • It is refused ("Stops") unless the plan.yaml found, in the projects: form the project's keys, holds self_rule: on and next_entry: on.

Steps

  1. Name the ledger folder <ledger_root>/<slug>/, the slug derived from the entry.
    • 38.3 One object per file gives 38-3-one-object-per-file.
    • A project prefix is dropped, since the ledger root is already the project's.
    • A folder that already exists is a stop ("Stops").
  2. Draft plan.md from templates/plan.md.
    • It opens with # Plan: <entry>, which is how every other skill finds it.
    • The entry's goal and its gate are copied in.
    • Each bullet line (- ...) of the rulings file ("What it reads" 4) that is not under its ## Agents heading is copied into the Rulings section as it stands, in its order, in place of the template's placeholder line.
    • The file's other lines, such as a heading or a blank line, are not copied.
    • Any other line, such as a wrapped continuation or an indented sub-bullet, is shown with the draft at Steps 3, for the user to place.
    • A line the user leaves unplaced is copied below the bullet line it follows, as it stands, so nothing of the file is lost when Steps 6 removes it.
    • A quoted ruling that stands in the rulings file is copied with every line under it, its sub-bullets and their fenced blocks, and none of them is a line left to place.
    • Each bullet line under the rulings file's ## Agents heading is copied into the new plan's ## Agents section as it stands and in its order, in place of the template's placeholder bullets, and is never copied into Rulings nor shown as a line to place.
    • With no agent bullet in the rulings file, and with no rulings file, the ## Agents section is written with its sentence and no bullet.
    • The session asks of the copied gate "could this pass without the goal being reached?" and writes the answer with its reason in the section "## Gate", on the line the template gives the gate.
    • A copied gate that could pass without the goal is kept as the roadmap has it, since the gate is the roadmap's and the user's.
    • The answer and reason for such a gate go to the user at Steps 3.
    • The session also asks of the copied gate "is this checked once, on the finished work?".
      • A gate that is met only by fixing and checking again until nothing fails, such as "each one not marked right is fixed before the gate passes", has no count, against the round cap of plan-orchestration's Rules.
      • Such a gate is the stop "A gate with no count" ("Stops"): no plan is opened, and the user rules the gate through /roadmap.
    • The step list is drafted from the entry's goal as its parts, each step with the check that proves its part.
      • A step is a part that must exist and work before another part is built on it.
      • A step is also a point where the user reads or decides before the rest goes on.
      • A later part is built on an earlier one when it needs the earlier one's result, not only its existence.
      • A result is a landed or tagged text, or a run or a decision on it that only the user, or a session other than the step's builder, can make.
      • The runs and decisions of that kind that need the same step are one step of their own after it.
        • Such as a skill the user runs in a fresh session and the blind comparison the user calls on its output.
      • Two parts whose content is known in advance are one step even when one uses the other, such as a script and its setup text.
      • A run the builder itself makes, read by the user, is part of the step's check.
      • The user's reading of such a run blocks nothing after it.
      • A gate's check runs inside the step that delivers what it checks.
      • Wiring in, terms and documentation belong to the step that builds the thing.
      • Bookkeeping is done in a commit the orchestrator already makes and is never drafted as a step.
      • The number of steps follows from the parts of the entry.
      • Under a quoted ruling ("What it reads" 6), the step list is the ruling's, each step with its check.
      • The rest of this step is worked on that list.
      • A closing step in the ruled list is dropped for the one /plan writes.
    • The session asks the same question of each step's check, "the goal" there being the part of the goal the step delivers, and writes the answer with its reason in "## Gate", one line per step, as the template gives it.
    • The answer stands only in "## Gate".
    • Each step line keeps the shape the template gives it.
    • A step's check that could pass without the goal (such as the forms the roadmap skill's "Steps / add" 3 names) is redrafted and asked again, at most twice, before the draft is shown.
    • A check that could still pass after the second redraft is kept as drafted.
    • Each step's check is run once, on the step's finished part. A check that is met only by fixing and checking again until nothing fails is redrafted.
    • No step is drafted to fix what another step's run or review found and to run that check again: that is a repair round of the other step, as plan-orchestration's "What earns a step of its own" says.
    • The answer and reason for such a check go to the user at Steps 3.
    • The last step is the closing: the roadmap entry ticked with the gate's output (/roadmap done <entry>), and the ledger folder moved to <archive_root>/.
      • The closing step skips the cost script only when the ledger names no agent: no bullet line stands under a ## Agents heading of plan.md, up to the next ## heading, and none stands in agents/agent-roles.md.
      • A plan.md with no ## Agents heading, and a ledger with no agents/agent-roles.md, hold no such bullet line.
      • A closing step that skips the script writes the closing report, agents/reviews/closing.md, with the sentence "The plan started no agent: neither plan.md's Agents section nor agents/agent-roles.md holds an agent bullet, so the closing step did not run the cost script."
      • In every other case, before the folder moves, the closing step runs the plan-orchestration skill's templates/plan_cost.py on the ledger folder.
      • The skip's test is the test under which the script prints error: the ledger names no agent, so the closing step and the script never disagree.
      • A closing step that runs the script writes the script's output to agents/reviews/closing.md, the closing report.
      • A non-zero exit of the script that no fix within the plan covers is the stop "A red check" of plan-orchestration.
      • The stop message holds the script's error: lines.
      • A model the table lacks is covered by a row copied into the table from the pricing page, committed with the closing report in the form Steps 6 states.
      • When the closing step has run the script, the ledger folder moves only when the script exits 0.
      • When the closing step has skipped the script, the ledger folder moves.
      • The closing makes three commits on main, each in the form Steps 6 states: the closing report, the ticked entry as /roadmap done makes it, and the move of the ledger folder.
      • The move is made with git mv, and its commit names the old and the new paths, which git diff --cached --name-only --no-renames lists after git mv.
    • /plan writes the closing step itself, at the end of the drafted list.
    • The step is done when the draft holds the goal, the gate, the answers of "## Gate", the Rulings, the Agents section and the step list with the closing step last, and when the draft, read back, holds every agent bullet of the rulings file once, in its Agents section.
  3. Show the draft to the user, its "## Gate" holding the answer and its reason for the gate and for each step's check (Steps 2).
    • With the draft, name each design decision the drafted steps rest on that no ADR in force and no line of the Rulings section settles: a public shape, a wire format, a config key, a vocabulary, a format or a rule the builder applies across the tree, or a library choice.
      • The list is shown, not written into plan.md.
    • With the draft, show each line of the rulings file that Steps 2 did not copy as a bullet line, for the user to place.
    • With the draft, show the file at the rulings file's path that is another entry's file, as "What it reads" 4 says.
    • With the draft, name each file that is not read, as "What it reads" 4 says.
    • /grill <entry> settles such decisions before the plan opens.
      • It is not required: the user may approve the list with them unsettled.
    • Write plan.md once the user has approved or corrected it.
      • Under a quoted ruling, the draft is written without the stop only when four things hold.
        • Each step and its check are the ruling's, the closing step /plan writes itself left out of the comparison.
        • Every answer in "## Gate" is no.
        • No design decision is named as unsettled.
        • No line of the rulings file is left to place.
      • Otherwise the draft is shown whole with what differs, what could pass without the goal and what is unsettled, and the stop stands.
      • The ruling's bullet and every line under it are copied into the Rulings section of a plan written under a quoted ruling, unless Steps 2 copied them from the rulings file.
    • Under --self-rule, the stop "The drafted step list" is raised as Open item A of the new plan, written in full as a stop is: the draft, the answers of "## Gate", the lines of the rulings file left to place, the files "What it reads" 4 shows as another entry's or names as not read, the options "open the plan with the list as drafted" and "keep the draft for the user", their pros and cons, the recommendation and the lazy option.
      • The first option is the recommendation.
      • The second option, which leaves the plan unopened, is named as the lazy option.
      • A line of the rulings file left to place does not keep the stop.
      • Such a line is copied as Steps 2 says for a line the user leaves unplaced, and Open item A names it.
      • It stays with the user, and the stop stands as without --self-rule, when any answer of "## Gate" is yes, since the gate is the roadmap's and a check that could pass without its goal has no recommendation the written rules rank.
      • It also stays with the user, and the stop stands, when any design decision is named unsettled, since settling it is /grill's and /plan has no recommendation the written rules rank.
      • It also stays with the user, and the stop stands, when it is of one of the six kinds of plan-orchestration's references/self-rule.md, "The six kinds left open".
      • Otherwise it is closed by items 1 to 5 of that reference's "Closing an open item".
        • The Rulings bullet is - Open item A (<date>): the step list as drafted, <n> steps, which opens the plan (self-rule).
        • Each step line, the closing step included, ends with (ruling A).
        • Steps 4 writes the state file with the Closed items line of "Closing an open item" 4 and no open item.
        • The choice goes to the choices file under the entry's heading, Booked: naming the new plan.md and Open item A, and Builds on it: naming every step.
      • Open item A counts as a stop of no step, since it is raised before any step exists.
    • Each step line of the approved list ends with (approved), the authority "Rules" describes.
      • A step list written under a quoted ruling whose bullet ends "(the user)" is the approved list.
      • A step list written under a quoted ruling whose bullet ends "(self-rule)" has each step line end with (ruling <name>), naming that bullet, never (approved).
    • When plan.md is written, each bullet line Steps 2 copied that ends "(self-rule)" has its choice rewritten: the choice in the choices file whose Booked: names the rulings file and that bullet's opening words gets Booked: rewritten to the new plan.md and the line the bullet stands on there.
    • A stop that stands writes nothing, the choices file and the rulings file included.
    • The step is done when plan.md is written and the Booked: lines are rewritten, or the draft is shown and the stop stands.
  4. Write orchestrator-state.md from templates/orchestrator-state.md.
    • The configuration block is filled in from plan.yaml, every key of the block written out with the default for an optional key the file leaves out: the verify list, the rules file, the standards, the worktree root and paths, the worker, the reviewer, libraries, the review cadence, repair_rounds, refute_after_repair, review_minutes, look, bench, adr, design_bar, design_references, worker_effort, reviewer_effort, self_rule, next_entry, repair_reviewer.
    • Each path of the block (the rules file, each standard, the worktree root, each worktree path and adr) is written as it reads from the repository root, so the briefs, checks.sh and every skill that reads the block read it from there, wherever plan.yaml stands.
    • The verify list is the verification page's commands, each test command with the filter the page names for its summary line, so the copy and the compare of the spec skill's Steps 1 follow one rule.
    • A repair_reviewer that plan.yaml leaves out is written with the reviewer value.
    • The block's executor: is not a project specific and is not in plan.yaml.
    • executor: is written as agent unless the user says otherwise when the plan is opened.
    • The orchestrator chooses the executor per step over that default.
    • The dispatch block is empty.
    • The open items are empty.
    • The position names the first step.
    • The line of "Where things are" that names the plan configuration holds the path of the plan.yaml the call read, from the repository root, and what stands in front of the entry in a call ("What it reads" 1).
      • The folder is named when a call that names no folder would not read this file: the file is in none of the three places at the repository root, or it is in a later place of the order while an earlier place also holds a plan.yaml.
      • The project follows the folder in the projects: form: apps/web/plan.yaml and apps/web for /plan apps/web/12, tools/plan.yaml and tools/a for /plan tools/a/12, .agents/plan.yaml and .agents for /plan .agents/7 beside a docs/plan.yaml.
      • Otherwise the line says "nothing", or the project alone in the projects: form.
    • The step is done when the state file holds the configuration block with every key written out, the empty dispatch block, no open item, the position and the line that names the plan configuration.
  5. Create agents/briefs/ and agents/reviews/, each with an empty .gitkeep, since git does not keep an empty folder.
  6. Commit plan.md, orchestrator-state.md and the two .gitkeep files as the plan's opening commit, naming its paths.
    • Each new or changed path is staged with git add -- <path> ....
    • The commit names the same paths, a deleted path included: git commit -m <message> -- <path> ....
    • Its subject holds the roadmap entry's number.
    • The opening commit also holds the choices file <ledger_root>/choices.md when Steps 3 changed it, as plan-orchestration's references/self-rule.md, "Closing an open item" 6, says.
    • A plan written under a quoted ruling names the ruling in the commit message, by its name and its ledger file.
    • When Steps 2 copied the ruling from the rulings file, the ledger file named is the new plan.md.
    • The commit also removes the rulings file copied at Steps 2.
      • When the last commit holds it (git cat-file -e HEAD:<path> exits 0), the removal is git rm -q -f -- <path>, and its path is named in the commit command with the others.
      • Otherwise the removal is git rm -q -f --cached -- <path> when git lists the file as staged, and the file is deleted before the commit, its path not named.
      • The -f removes a copy with uncommitted changes, whose bullet lines Steps 2 has already copied.
    • The step is done when the opening commit holds the four files, the choices file when Steps 3 changed it, and the removal of the rulings file when there was one.

Stops

StopWhenWhat it showsWhat resumes it
A gate with no countThe copied gate is met only by fixing and checking again until nothing fails (Steps 2)The gate, the words that need the repeated fixing, and the round cap of plan-orchestration's RulesThe user's gate, written through /roadmap, then /plan again
The drafted step listEvery plan, after Steps 2, except a draft written under a quoted ruling as Steps 3 says, or under --self-rule outside the cases Steps 3 keeps with the user: the skill does the mechanical half of opening a plan and stops at the design halfThe drafted plan.md: the goal, the gate, the steps and each step's check, and in "## Gate" the answer to "could this pass without the goal being reached?" with its reason for the gate and for each step's check, and the design decisions no ADR in force or ruling settles, the rulings file's lines left to place and the rulings files shown as another entry's or named as not read (Steps 3)The user's approval or correction
No configurationNo plan.yaml is in the folder the call names or in the three places at the repository root ("What it reads" 1): no file, no runThat the file is missing, the places looked in, and /ordo-init, which writes it/ordo-init, then /plan again
A required key missingA required key is not in the plan.yaml found, in the folder the call names or else at the repository root; the refusal names the keyThe keyThe key added, then /plan again
A path refusedA refusal: a path of the plan.yaml found resolves outside the repository, or its ledger_root or worktree_root resolves to the repository root ("What it reads" 1)The file, the key and its valueThe value corrected, then /plan again
No such entry<entry> matches no roadmap entryThe open entries/plan with an entry that exists
Not yet specified<entry> stands under the roadmap's "Not yet specified" section, so it has no gate for its steps to runA refusal that names the entry, what must be known before its gate can be named, and /roadmap add <entry>/roadmap add <entry>, then /plan again
--self-rule without the keys--self-rule is given and the plan.yaml found does not hold self_rule: on and next_entry: onA refusal that names the two keys and their valuesThe two keys set to on, then /plan again, or /plan without --self-rule
The plan existsThe ledger folder is already there: a plan is opened onceThe folder, and the entry's rulings file when one is still there, for the user to remove, as the bullets below sayNothing
  • When the stop "The plan exists" finds the entry's rulings file still there, the Agents bullets it holds are named.
  • Those bullets are copied into the open plan's Agents section before the user removes the file.

Anti-patterns

Anti-patternWhy it failsDo instead
Writing plan.md before the user has approved the step list, except as Steps 3 says under --self-ruleThe step list is the design half, and the design half is the user'sSteps 3
Keeping a step that cannot name its proof in the step listNothing can show it doneBook it under "Blocked, and by what" until it can name its proof

Rules

  • A step is a part of its entry, as Steps 2 says, with the command that proves it.
  • A step is built by one dispatch of its executor (a builder agent by default; inline or academic-paper when chosen), or run by the orchestrator without an agent.
  • A step the orchestrator runs without an agent keeps the mark orchestrator, no agent on its line.
  • Every step line of plan.md ends with its authority.
    • (approved) for a step of the list the user approved.
    • (ruling <name>) for a step a ruling added, after the approval or under a quoted ruling ending "(self-rule)", the ruling being the user's or one booked under self-rule, naming that ruling's line in the Rulings section as the spec skill's "Steps / A ruling" says.
    • (ruling A) for a step of a list taken under --self-rule, naming that run's Open item A.
  • Every path in the ledger is relative to the repository root.
  • Every command in the ledger names the directory it runs from.
  • The templates and this file carry no history: the ledger records decisions with their dates in plan.md's rulings list.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.