The full workflow
Written for someone who has never seen any of this: why parallel agents break git, both ways to run a room, the real agent loop, what happens when two agents collide anyway, and an honest list of what is not wired yet.
Hivecode
documentation
The reference lives in the repository, next to the code it describes, so it cannot quietly drift from what actually ships. These are the pages worth reading, in order.
Written for someone who has never seen any of this: why parallel agents break git, both ways to run a room, the real agent loop, what happens when two agents collide anyway, and an honest list of what is not wired yet.
The one-time MCP registration, per client, and what each argument to hive_join means — including why owner is the safety gate rather than a label.
Every tool an agent can call: claims, chat, tasks and approvals, provenance, fork resolution. What each returns, and when to call it.
ICR as a library, a CLI and a three-line git merge driver. MIT licensed, no account, works on any repository — including ones that never touch a Hivecode room.
The mechanism in full: CRDT character identity, why “last write wins” is the wrong model, keyed-unit merging and tier descent, the parse guarantee, signed provenance, and the silent-fork gate.
The whole chain — payment, webhook, stored record, relay check — plus the failure semantics, and a plain list of the gaps that are still open.
All of it is public. The relay is server.js, the sync engine is
sync.js, the merge engine is packages/icr-merge, and the MCP
server is hive-mcp.js. Every test is runnable with
npm run and no fixtures to download.