colibri/crates
Sam & Claude 9d443a498c
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
feat: wire cost mode enforcement + poll_tasks spawn path (Sam & Hermes)
Priority 3 — Cost mode enforcement:
- Removed session_max_bytes/max_uncompacted_turns from DaemonConfig; cost
  mode string is now the single source of truth for all thresholds
- maybe_compact_or_rollover() derives thresholds from CostMode, not static
  config fields
- compact_oldest_turns() takes a keep parameter (derived from cost mode)
- compact_tool_result() wired into build_prompt_messages() — tool results
  are truncated when cost mode says to compact
- trim_to_budget() called in build_prompt_assembly()
- auto_escalate() wired into session_rotation() — escalates cost mode
  when compaction is insufficient
- set-cost-mode socket command now updates runtime cost_mode (RwLock on
  DaemonState) instead of just acknowledging

Priority 2 — Pi spawn path end-to-end:
- poll_tasks() now queries claimed tasks, spawns the configured agent
  binary (COLIBRI_AGENT_BINARY), creates a session, wires stdout to
  glasspane, and transitions the task to Started
- stream_agent_stdout_to_glasspane made pub for cross-module access
- poll_tasks called from scheduler_tick_fn after the scheduler runs
- New integration test: poll_tasks_spawns_agent_for_claimed_task validates
  the full path: create task → claim → poll_tasks spawns → glasspane
  observes Idle → Working → Blocked → Done lifecycle

Gates: fmt/clippy/test all green (207 tests, 0 failures).
2026-06-14 17:25:11 +02:00
..
clawdie fix(clawdie): harden FreeBSD installer plan (Sam & Codex) 2026-06-14 00:42:43 +02:00
colibri-client feat: wire cost mode enforcement + poll_tasks spawn path (Sam & Hermes) 2026-06-14 17:25:11 +02:00
colibri-contracts fmt: format current main Rust sources (Sam & Codex) 2026-06-04 20:59:20 +02:00
colibri-daemon feat: wire cost mode enforcement + poll_tasks spawn path (Sam & Hermes) 2026-06-14 17:25:11 +02:00
colibri-deepseek feat: cache warming on daemon startup + periodic re-warm (T1.4 PR3b) 2026-05-31 17:33:53 +02:00
colibri-glasspane docs: purge all Herdr references, consolidate into AGENTS.md + README (Sam & Hermes) 2026-06-14 14:04:49 +02:00
colibri-glasspane-tui docs: clarify Herdr as optional Linux display (Sam & Codex) 2026-06-13 12:29:11 +02:00
colibri-mcp fix(spawner): stage jailed env payloads (Sam & Codex) 2026-06-13 23:28:19 +02:00
colibri-runtime Add read-only watchdog host-status reader (Codex) 2026-05-26 16:01:03 +02:00
colibri-skills fix: satisfy clippy for skill status default (Sam & Codex) 2026-05-31 14:38:28 +02:00
colibri-store feat: add colibri-store — embedded SQLite coordination database (Sam & Hermes) 2026-05-27 16:40:19 +02:00