agentleFS
SuarezPMSuarezPM/Apohara-Catalyst/skills/apohara-orchestration/SKILL.md

apohara-orchestration

Skill1 starsChanged 7 months agoMITView on GitHub

Multi-agent coordination protocol — message types, decision gates, drift detection

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    When two tasks have overlapping reads/writes/renames (semantic conflict matrix), the coordinator opens a decision_gate blocking the second …

    line 32
  2. Very specific:

    If your worktree base is N commits behind origin, the dispatch preamble includes a BASE DRIFT WARNING section listing recent commits you do …

    line 39
  3. Very specific:

    NOT in your declaration, STOP and emit coord_manifest_drift via:

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

apohara-orchestration — Skill for AI Agents

This skill explains the message bus and coordination protocol that Apohara agents use among themselves.

Message types

  • status — informational state update
  • dispatch — coordinator → worker assignment
  • worker_done — worker → coordinator completion
  • merge_ready — consolidator-ready signal
  • escalation — needs human intervention
  • handoff — pass work to another agent
  • decision_gate — coordinator → blocked queue
  • heartbeat — keep-alive (every 5 min on long tasks)

Group addresses

  • @all — broadcast to every running agent
  • @idle — first available agent
  • @claude / @codex / @opencode — provider-specific
  • @worktree:<id> — agents in a specific worktree
  • @coordinator — the orchestrator itself

Decision gates

When two tasks have overlapping reads/writes/renames (semantic conflict matrix), the coordinator opens a decision_gate blocking the second task until the first releases. You will receive a dispatch message with reason=blocked_on_<task_id> in payload. Wait for unblocked signal.

Drift detection

If your worktree base is N commits behind origin, the dispatch preamble includes a BASE DRIFT WARNING section listing recent commits you do NOT have. Proceed with caution. If your changes conflict, emit worker_done { outcome: "failure", reason: "drift_conflict" } and the coordinator will rebase or escalate.

Symbol manifest contract

Your assignment includes task.symbols with reads, writes, renames arrays of SymbolRef. If you find yourself needing to touch a symbol NOT in your declaration, STOP and emit coord_manifest_drift via:

apohara orchestration send --to "@coordinator" --type status \
  --body "manifest_drift: needs to touch <symbol> (was not declared)"

The coordinator will either expand your manifest (if blast radius allows) or re-plan the task with the decomposer.

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.