Skip to content

Colibri Wiki

A knowledge base for Colibri’s decisions and architecture — based on Andrej Karpathy’s LLM Wiki pattern.

Every major subsystem has a page recording why it was built the way it was — the rationale the code can’t express. Implementation docs in docs/ cover the how; these pages cover the why.

Stale decisions accumulate faster than anyone hand-audits them: a rename that was only half-applied, a doc that still describes the old design, a default left over from a superseded choice. Several recent passes were spent finding exactly that (pi → zot, usb_nodes → hive_nodes, fake → sample). This wiki makes the bookkeeping near-zero-cost: one place that records what was decided, links to where it lives in code, and can be linted for drift.

These rules keep the wiki a maintainable artifact, not a second source of truth:

  1. Code is the source of truth. Pages describe decisions and where they live; they link to code/docs rather than re-explaining implementation. When a decision ships, slim its page to “how it works + link.”
  2. Link, don’t duplicate. Reference code as path/to/file.rs:line and other wiki pages with relative links ([label](/wiki/page/)) — Forge-clickable, the equivalent of Obsidian [[wikilinks]] adapted to a repo.
  3. One decision per page where practical; cross-link liberally.
  4. Flag, don’t silently overwrite. When new code contradicts a page, note the contradiction (and resolve it) rather than quietly editing history.
  5. Lint, don’t trust. A page is a claim to be checked against code, not a guarantee.

The wiki-lint script checks every page against the current code: dangling references, resurrected old names (from the naming ledger), and orphan pages. It runs as part of ci-checks.sh --strict and is gated by the pre-push hook — a drift failure blocks a push, same as a clippy warning.

PageWhat it covers
agent-harnessThe zot (agent) + Colibri (control plane) split; autospawn + RPC driver
agent-events-referencePer-harness zot event reference, Glasspane mappings, and verified transcript fields
cost-modelByte-stable prefixes, cache-hit metering, auto-escalation, T14 compaction
glasspaneAgent state machine, JSONL streaming, AgentRuntime taxonomy, snapshot API
headroom-sidecarOptional tool-result compression sidecar and its Unix-socket protocol
jail-confinementPersistent vs ephemeral jails, priv-mode policy, reuse of spawner confinement for MCP servers
mother-hiveMother MCP architecture — forced-command SSH, single-home-in-colibri, peer auth, key-on-seed
naming-decisionsLedger of harness-neutral / architecture renames — shipped and in-flight
layered-soulHow Colibri consumes the layered-soul reviewed-context repo today vs planned
task-boardCapability match scoring, cron scheduling, intake drain, SQLite backing
quality-gatesci-checks.sh as the pre-merge gate; why drift reached main before
contractsStable JSON schemas (run-manifest, runtime-inventory, provider-smoke), golden tests
store-schemaSQLite coordination schema and migration discipline
external-mcpMCP bridge for editors + external stdio MCP host; read/write/external-call gates
operator-cliThe colibri CLI as a thin typed Unix-socket client over the daemon API
tuiTerminal dashboard client (colibri-tui) vs the colibri-glasspane state machine
runtime-inventoryHost runtime inventory + watchdog status reader; additive, read-only integrations
skills-catalogRead-only runtime consumer for reviewed Clawdie-AI skill artifacts
vault-provisionVaultwarden-driven env-file provisioning into jails after agent spawn
deploymentHost installer (clawdie): ZFS layout, rc.d/systemd service, dry-run safety