Linux/FreeBSD Cross-platform Rust control plane core
https://clawdie.si
- model-selection-and-eval: status Design → Phases 1–3 shipped (#264/#280/#285); mark Phase 2/3 deliverables, add 3a scope note, fix stale routing-gap row. - hive-routing: status → partially shipped; scheduler row reflects pick_agent + select_model. - README + index: model-selection row reflects shipped, not "design". - New task-dispatch-flow.md: the verified queued→claim→spawn→register→dispatch→ cost chain with code anchors + "why a task stalls" (stale build, not RPC mode, registration linkage). Indexed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .agent/skills | ||
| .forgejo/workflows | ||
| astro/wiki | ||
| crates | ||
| docs | ||
| manifests | ||
| packaging | ||
| scripts | ||
| src | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
Colibri
The Clawdie control plane — a cross-platform (FreeBSD + Linux) Rust daemon that coordinates agent task execution, tracks cost, and observes agent state. Deploys as the Clawdie service on bare FreeBSD hardware (ZFS, PostgreSQL, bhyve VMs, Bastille jails) or as a standalone daemon on Linux.
Workspace
| Crate | Role |
|---|---|
colibri (root) |
Workspace root + probe binaries (colibri-probe, runtime-inventory) |
colibri-mcp |
MCP bridge for editor integration (Zed, Claude Code) via stdio JSON-RPC |
colibri-contracts |
JSON schema contracts (fixture tests) |
colibri-deepseek |
DeepSeek cache-hit probe, prefix metering |
colibri-runtime |
Host status ingestion, runtime inventory |
colibri-glasspane |
Agent 5-state machine (zot/pi JSONL events → state) |
colibri-daemon |
Always-on Unix socket server, task dispatch, session lifecycle |
colibri-client |
Typed Unix-socket client + operator CLI |
colibri-glasspane-tui |
ratatui live dashboard (FreeBSD-native) |
colibri-ledger |
Embedded SQLite coordination (task board, agents, cost tracking) |
colibri-skills |
Skills catalog crate |
clawdie |
Host installer/deployer: ZFS layout + clawdie service (FreeBSD/Linux) |
Quick start
cargo build --release
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
Default DB path: /var/db/colibri/colibri.sqlite.
Architecture
colibri-daemon (always-on Unix socket server)
├── glasspane — agent state machine (idle → working → blocked → done)
├── store — SQLite coordination (tasks, agents, cost, eval)
├── socket — newline-JSON socket API
├── session — append-only JSONL sessions, 3-region prompt assembly
└── spawner — agent subprocess management (zot/pi, retry/backoff)
colibri-client — CLI tools (colibri, colibri-test-agent)
colibri-glasspane-tui— ratatui live dashboard
Probe binaries
# DeepSeek cache-hit probe (needs DEEPSEEK_API_KEY)
cargo run --release --bin colibri-probe
# Runtime inventory manifest
cargo run --release --bin colibri-runtime-inventory
Learn more
The wiki records design decisions and architecture docs. Key pages:
| Page | What it covers |
|---|---|
| agent-harness | Agent lifecycle, zot/pi integration, RPC dispatch |
| glasspane | 5-state machine, attention system, TUI |
| hive-routing | Fleet routing, capability matrix, node registration |
| cost-dashboard | Per-task cost tracking, proof_text, live dashboard |
| model-selection-and-eval | Eval harness + eval-driven model selection (Ph 1–3) |
| mother-hive | Mother node coordination (PostgreSQL + MCP over SSH) |
| pull-requests | Branch naming, commit format, review workflow |
| quality-gates | CI pipeline, fmt/clippy/test/wiki-lint gates |
FreeBSD build: x86_64-unknown-freebsd (Rust Tier-2). TLS uses rustls for
static linking (no openssl-sys dependency).