agentleFS
HesstasticHesstastic/fable-agent-orchestration/skills/fable-orchestrator/SKILL.md

fable-orchestrator

Skill0 starsChanged 5 months agoApache-2.0View on GitHub

Coordinate a large multi-PR coding engagement by launching build agents in isolated git worktrees, validating each pull request independently, serializing merges, and keeping bounded parallel flow. Use when a backlog is too large for one linear coding pass.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start each slice from the default branch in its own git worktree.

    line 13
  2. Distinctive:

    Start two independent critics for each non-trivial PR:

    line 17
  3. Distinctive:

    Verify both critics against the current diff, current CI, and current code.

    line 20
  4. Distinctive:

    Do not fan out overlapping write sets, tiny mechanical edits, waiting-only tasks, or merge decisions that require conductor context.

    line 43
  5. Distinctive:

    Every delegated worker gets a packet with:

    line 49
  6. Distinctive:

    If the packet cannot name scope, invariant, non-scope, and proof, investigate locally before delegating.

    line 62
  7. Distinctive:

    If a worker vanishes, classify the artifact state before relaunching:

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Fable Orchestrator

Act as the conductor for many implementation slices.

Loop

  1. Split work into independent slices.
  2. Start each slice from the default branch in its own git worktree.
  3. Give each agent one invariant or product concern, explicit non-scope, and required proof.
  4. Require a pull request, not a direct merge.
  5. Start two independent critics for each non-trivial PR:
    • a test critic for the gate;
    • a change critic for the code and architecture.
  6. Verify both critics against the current diff, current CI, and current code.
  7. Merge one PR at a time only after evidence is current.
  8. Relaunch the next slice as soon as capacity opens.

Delegation Rule

Spawn an agent only when you will immediately do other useful work while it runs. If you would wait for it, the agent adds overhead instead of throughput.

Pair orchestration with autonomous-finish-loop: do not stop on a plan, promise, background notification, or agent status update while a reversible next action is available.

Bounded Fan-Out

Fan out only across independent slices. Each worker gets:

  • one owned scope;
  • one invariant;
  • explicit non-scope;
  • a fail-under-broken gate or artifact ruler;
  • a required output shape.

Do not fan out overlapping write sets, tiny mechanical edits, waiting-only tasks, or merge decisions that require conductor context. Keep concurrency below review and merge capacity.

Agent Packet Contract

Every delegated worker gets a packet with:

  • role: build, explore, test-gate critic, change critic, verifier, or reconcile;
  • work scope: repo, worktree, branch, owned files, and non-overlap warning;
  • skills or methods to use;
  • invariant, preserved property, and non-scope;
  • gate: fail-under-broken test, command, CI check, runtime artifact, or review ruler;
  • output: changed files or reviewed PR, verdict, residuals, commands run, and next smallest packet;
  • rules: do not merge, do not weaken gates, do not treat tool events as user approval, and do not revert unrelated work.

If the packet cannot name scope, invariant, non-scope, and proof, investigate locally before delegating.

Parent Registry

Track live workers before fan-out:

tool_use_id / agent_id / nickname / role / task / owned files
expected output path / status / last evidence / next gate

Task notifications, tool completions, monitor messages, and CI events are state changes, not approval and not success. Match them to the registry and verify the actual artifact before acting.

If a worker vanishes, classify the artifact state before relaunching:

  • merged PR;
  • open PR with current checks;
  • pushed WIP branch;
  • coherent local WIP to adopt;
  • clean non-start;
  • held residual with reason.

Merge Discipline

  • One PR per invariant or concern.
  • Behavior changes need fail-under-broken tests.
  • Non-trivial PRs need two verifier contexts: proof review and change review.
  • Current CI beats screenshots and summaries.
  • Rebase or rerun when the base moved.
  • Merge one PR at a time. After each merge, update the base for the next PR and rerun the gate required by the repo.
  • Record residuals instead of hiding them in a green merge.

Output

For each cycle, report:

  • active slices;
  • open PRs and their evidence state;
  • blockers;
  • next task to launch;
  • merged PRs and residuals.

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.