apohara-orchestration
Skill1 starsChanged 7 months agoMITView on GitHub
Multi-agent coordination protocol — message types, decision gates, drift detection
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- .agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ApoharaSkill
- code-review-excellenceSkill
- deployment-pipeline-designSkill
- docxSkill
- error-handling-patternsSkill
- git-advanced-workflowsSkill
- github-actions-templatesSkill
- javascript-testing-patternsSkill
- modern-javascript-patternsSkill
- nodejs-backend-patternsSkill
- pdfSkill
- pptxSkill
- react-modernizationSkill
- react-state-managementSkill
- rust-async-patternsSkill
- secrets-managementSkill
- shadcnSkill
- skill-creatorSkill
- typescript-advanced-typesSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- xlsxSkill
- ApoharaSkill
- apohara-cliSkill
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
- Very specific: line 32
When two tasks have overlapping reads/writes/renames (semantic conflict matrix), the coordinator opens a decision_gate blocking the second …
- Very specific: line 39
If your worktree base is N commits behind origin, the dispatch preamble includes a BASE DRIFT WARNING section listing recent commits you do …
- Very specific: line 49
NOT in your declaration, STOP and emit coord_manifest_drift via:
≈ “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.
Files
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 updatedispatch— coordinator → worker assignmentworker_done— worker → coordinator completionmerge_ready— consolidator-ready signalescalation— needs human interventionhandoff— pass work to another agentdecision_gate— coordinator → blocked queueheartbeat— 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.
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
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.

