colibri/crates
Sam & Claude b59cc3da80
Some checks failed
CI / agent-jail-pkgs (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
feat(scheduler): wire eval-driven model selection into autospawn (Phase 3, 3a)
Steps 2/4/5 of Phase 3: config plumbing, dispatch wiring, rationale logging.

- config: COLIBRI_MODEL_SELECTION (enable, default off),
  COLIBRI_MODEL_SELECTION_WINDOW_HOURS (168), and success/cost weight envs.
- scheduler: available_providers() (providers with creds — resolves "model
  the agent can run") + recommend_model() — runs model_success_rates through
  select_model, returns None on disabled/cold-start so callers keep default.
- socket: autospawn injects the eval-selected model into the agent env
  (COLIBRI_MODEL / DEEPSEEK_MODEL) and logs the rationale.

Integration point note: the daemon runs long-lived agent harnesses, not
per-task model dispatch, so selection is applied at agent spawn (env), not
at the scheduler's per-task pick_agent sites. Gated off by default — zero
behavior change until COLIBRI_MODEL_SELECTION is set.

6 new tests (available_providers, recommend_model gating x3, +). fmt + clippy clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 16:57:26 +02:00
..
clawdie
colibri-client feat(scheduler): wire eval-driven model selection into autospawn (Phase 3, 3a) 2026-06-28 16:57:26 +02:00
colibri-contracts refactor: rename golden tests → fixtures (consistent positive framing) (#267) 2026-06-28 10:22:17 +02:00
colibri-daemon feat(scheduler): wire eval-driven model selection into autospawn (Phase 3, 3a) 2026-06-28 16:57:26 +02:00
colibri-deepseek refactor: rename smoke→test across provider contracts and docs 2026-06-27 11:54:30 +02:00
colibri-deploy feat(deploy): add colibri-deploy crate + MCP tools 2026-06-27 18:57:55 +02:00
colibri-glasspane fix: remove legacy references — Rust source + agent skills (5 files) (#249) 2026-06-28 00:10:50 +02:00
colibri-glasspane-tui docs: fold glasspane TUI design into wiki/tui.md, delete scratch 2026-06-26 22:03:12 +02:00
colibri-ledger feat(scheduler): eval-driven model selection — query + select_model() (Phase 3, 3a) 2026-06-28 16:51:23 +02:00
colibri-mcp feat: T2.x eval harness + RPC task dispatch (#264) 2026-06-28 08:43:28 +02:00
colibri-pf feat: add colibri-zfs, colibri-pf crates + MCP tools + wiki tools 2026-06-27 14:49:46 +02:00
colibri-runtime
colibri-skills refactor: rename colibri-store → colibri-ledger for consistency 2026-06-28 14:44:45 +02:00
colibri-vault
colibri-zfs fix: clippy lint — map_or→is_none_or in wiki tools, unused _line in zfs test 2026-06-27 17:05:56 +02:00