Cross-platform Rust control plane core
Find a file
Sam & Claude 5d45a0f74b Fix clippy collapsible_match in colibri-tui session nav (Sam & Claude)
The Tab / BackTab key arms wrapped their whole body in
`if !app.sessions.is_empty()`. clippy (-D warnings) flagged both as
collapsible_match; lift the guard onto the match arm. Empty `sessions` now
falls through to the catch-all — same no-op as before, behavior unchanged.

Gates on c2655d1 + this: build ok, cargo test --workspace 65 passed/0 failed,
cargo clippy --workspace --all-targets -- -D warnings clean, cargo fmt --check clean.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-27 15:15:15 +02:00
crates Fix clippy collapsible_match in colibri-tui session nav (Sam & Claude) 2026-05-27 15:15:15 +02:00
docs Document planned colibri-skills split-brain lane (Sam & Codex) 2026-05-27 14:00:44 +02:00
manifests Record debby runtime inventory (gate #3 parity) (Sam & Claude) 2026-05-26 18:08:41 +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 Add Colibri operator smoke CLI helpers 2026-05-27 12:19:24 +02:00
.agent-handoff.md Sync AGENTS.md + handoff with post-Herdr state (Sam & Hermes) 2026-05-27 13:03:59 +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
AGENTS.md Document planned colibri-skills split-brain lane (Sam & Codex) 2026-05-27 14:00:44 +02:00
Cargo.lock Tighten glasspane TUI defaults and tests 2026-05-27 10:09:38 +02:00
Cargo.toml feat: add multiagent workflow improvements 2026-05-27 12:09:40 +02:00
README.md Document planned colibri-skills split-brain lane (Sam & Codex) 2026-05-27 14:00:44 +02:00
rust-toolchain.toml Scaffold Colibri Phase 1: colibri-probe DeepSeek cache smoke (Sam & Claude) 2026-05-26 10:08:23 +02:00

Colibri

The Clawdie control plane core — a small, cross-platform (FreeBSD + Linux) Rust daemon. It unifies a coordination model (agents-as-teammates, task board, team skills) with a cache-first cost discipline (byte-stable prompt prefixes, cache-hit metering), sitting on top of the existing Pi engine, watchdog, hostd and Postgres.

Design + implementation path: see doc/COLIBRI-CONTROLPLANE-PLAN.md in clawdie-ai.

Planned next split-brain slice:

  • docs/COLIBRI-SKILLS-PLAN.md — read-only Rust access layer for the "manuals already included" / system_skills lane

Phase 1 — colibri-probe

A falsifiable first build that proves three things at once:

  1. Rust + rustls + tokio build cross-platform (Linux first, FreeBSD next).
  2. A raw DeepSeek HTTPS call works.
  3. DeepSeek prefix caching is real on our infra: send a byte-stable prefix twice and observe prompt_cache_hit_tokens > 0 on the second request.

It prints a clawdie.provider-smoke.result.v1 manifest on stdout.

Build (no key needed)

cargo build --release

Run

# Build-only / skipped mode (no key): verifies the binary runs.
./target/release/colibri-probe

# Live cache probe:
DEEPSEEK_API_KEY=sk-... ./target/release/colibri-probe

Env overrides: DEEPSEEK_MODEL (default deepseek-chat, the DeepSeek API model string — distinct from our internal deepseek-v4-flash alias), DEEPSEEK_ENDPOINT, COLIBRI_HOST, COLIBRI_AGENT.

Runtime inventory

The FreeBSD/Linux build lane can emit the existing Clawdie runtime contract:

cargo run --release --bin colibri-runtime-inventory

It prints a clawdie.runtime-version-inventory.v1 manifest on stdout.

FreeBSD note

Target x86_64-unknown-freebsd (Rust Tier-2). Install via pkg install rust or rustup; the rust-toolchain.toml pins the channel for cross-host reproducibility. TLS is rustls to avoid openssl-sys linking on FreeBSD.