Cross-platform Rust control plane core
Find a file
Sam & Claude f89701cc2c
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
docs(handoff): pin exact zot build command + artifact path
Replace the "see zot/README" placeholder with the canonical build invocation
that clawdie-iso's preflight prints:

  git checkout v0.2.29
  GOOS=freebsd GOARCH=amd64 go build -trimpath -o bin/zot ./cmd/zot

Output must land at <zot>/bin/zot (the ISO default artifact dir); the checked-
out ref becomes ISO_VERSION via git describe. Add the zot/agent build overrides
(ZOT_REPO, ZOT_ARTIFACT_DIR, COLIBRI_STAGE_AGENT) and the zot binary to the
preflight checklist.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 15:45:40 +02:00
.forgejo/workflows ci: add Forgejo Actions gate (fmt, clippy, tests, markdown) (Sam & Claude) 2026-06-04 20:47:00 +02:00
crates Test staged-env shell-quoting helpers; rescope ISO priority 1 to boot validation (#66) 2026-06-14 15:07:47 +02:00
docs docs(handoff): pin exact zot build command + artifact path 2026-06-14 15:45:40 +02:00
manifests Add USB live runtime inventory golden test 2026-06-04 12:46:34 +00:00
packaging/freebsd cleanup: drop the experimental clawdie mini-binary 2026-06-13 19:19:07 +02:00
scripts fix(import): treat each SKILL.md as one skill (not every .md) 2026-06-14 02:08:12 +02:00
src Auto-load .env for the DeepSeek probe; gitignore .env (Sam & Claude) 2026-05-26 14:27:41 +02:00
tests Fix platform matrix rustfmt drift 2026-05-27 13:06:58 +02:00
tools chore(docs): delete legacy migration/cutover artifacts; repoint handoff refs (Sam & Claude) 2026-06-05 12:09:39 +02:00
.env.example Auto-load .env for the DeepSeek probe; gitignore .env (Sam & Claude) 2026-05-26 14:27:41 +02:00
.gitignore Auto-load .env for the DeepSeek probe; gitignore .env (Sam & Claude) 2026-05-26 14:27:41 +02:00
.prettierignore chore: adopt markdown formatting gate + one-shot prettier sweep (Sam & Claude) 2026-06-04 20:13:47 +02:00
.prettierrc chore: adopt markdown formatting gate + one-shot prettier sweep (Sam & Claude) 2026-06-04 20:13:47 +02:00
AGENTS.md docs: purge all Herdr references, consolidate into AGENTS.md + README (Sam & Hermes) 2026-06-14 14:04:49 +02:00
Cargo.lock fix: refresh workspace lockfile and AGENTS formatting (Sam & Codex) 2026-06-13 23:24:26 +02:00
Cargo.toml feat(clawdie): host installer/deployer crate (FreeBSD + Linux) 2026-06-13 22:55:23 +02:00
README.md docs: FreeBSD build-lane handoff for Codex (ISO Gate 1 runtime proof) (#68) 2026-06-14 15:29:09 +02:00
rust-toolchain.toml

Colibri

The Clawdie control plane core — a small, cross-platform (FreeBSD + Linux) Rust daemon that unifies coordination (task board, agent registry, skills catalog) with cache-first cost discipline (byte-stable prompt prefixes, cache-hit metering).

Status: workspace gates are fmt/clippy/test/release green. Round 2 audit is closed. Current priorities: ISO boot/runtime validation, Pi spawn end-to-end, and cost-mode enforcement (see docs/PRIORITY-HANDOFF-ISO-SPAWN-COST.md). Avoid fixed crate/test counts here — see the crate table below and run the gate commands for the current state.

FreeBSD build lane handoff: docs/FREEBSD-BUILD-LANE-HANDOFF.md. ISO acceptance runbook: docs/ISO-ACCEPTANCE-RUNBOOK.md. Clawdie Studio/Zed proposal: docs/CLAWDIE-STUDIO-PROPOSAL.md. External MCP host prototype: docs/COLIBRI-EXTERNAL-MCP-PROTOTYPE.md. Optional Headroom compression sidecar: docs/HEADROOM-SIDECAR.md.

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 (golden 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, session lifecycle
colibri-client Typed Unix-socket client + operator CLI
colibri-glasspane-tui ratatui live dashboard (FreeBSD-native)
colibri-store Embedded SQLite coordination (task board, agents, skills)
colibri-skills Skills catalog crate
clawdie Host installer/deployer: ZFS layout + clawdie service (FreeBSD/Linux)

Build

cargo build --release

Test

cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings

Architecture

colibri-daemon (always-on Unix socket server)
  ├── glasspane      — agent state machine (zot/pi JSONL → idle/working/blocked/done)
  ├── store          — SQLite coordination (tasks, agents, skills)
  ├── socket         — newline-JSON socket API
  ├── session        — append-only JSONL sessions, 3-region prompt assembly
  └── spawner        — agent subprocess management (retry/backoff, FreeBSD jail confinement)

colibri-client       — CLI tools (colibri, colibri_smoke_agent)
colibri-glasspane-tui— ratatui dashboard

Probe binaries

# DeepSeek cache probe (needs DEEPSEEK_API_KEY)
cargo run --release --bin colibri-probe

# Runtime inventory manifest
cargo run --release --bin colibri-runtime-inventory

FreeBSD

Target x86_64-unknown-freebsd (Rust Tier-2). TLS is rustls to avoid openssl-sys linking. Default DB path: /var/db/colibri/colibri.sqlite.