feat(mother): Layer 2 — task_costs table + daemon push pipeline #232

Merged
clawdie merged 1 commit from feat/layer2-dashboard-pipeline into main 2026-06-27 13:57:29 +02:00

1 commit

Author SHA1 Message Date
3bb74640c3 feat(mother): Layer 2 — task_costs table + daemon push pipeline
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled
Schema:
- New task_costs table (BIGSERIAL PK, FK to hive_nodes, 10 columns)
- Indexes on node_id, finished_at, (provider, model)

SSH wrapper:
- New report-task-cost forced command in colibri-mcp-ssh
- Reads TaskCostSummary JSON from stdin, INSERTs via psql

Daemon:
- push_cost_to_mother() called after local cost store
- Spawns blocking thread for SSH (non-blocking, best-effort)
- Configurable via COLIBRI_MOTHER_HOST env var
- Falls back silently if mother not configured

Sam & Hermes
2026-06-27 13:51:33 +02:00