diff --git a/.custodian-brief.md b/.custodian-brief.md index 1a5f073..b060d98 100644 --- a/.custodian-brief.md +++ b/.custodian-brief.md @@ -2,12 +2,23 @@ # Custodian Brief — llm-connect **Domain:** custodian -**Last synced:** 2026-05-01 10:19 UTC +**Last synced:** 2026-05-17 16:47 UTC **State Hub:** http://127.0.0.1:8000 *(adjust if running on a remote machine)* ## Active Workstreams -*(none — repo may need first-session setup)* +### Adaptive Cost-Quality Routing +Progress: 0/23 done | workstream_id: `e1807fab-e29e-4517-b362-95737a96582d` + +**Open tasks:** +- · QualityObservation dataclass: task_type, adapter_id, model_id, cost_usd, quality_score (0..1), latency_ms, tokens_in, tokens_out, baseline_adapter_id, recorded_at, tags `1c285bec` +- · QualityLedger append-only JSONL store with file-locked writes, configurable path, simple query helpers (by_task_type, recent, mean_quality) `5249f171` +- · TTL helpers: prune_before(timestamp) and is_stale(observation, max_age) `adb255cf` +- · Functional contract doc for the ledger schema and quality_score semantics `51a33180` +- · Tests: ledger round-trip, concurrent writes, query helpers, TTL, malformed-line resilience `458610c5` +- · GradingResult dataclass: quality_score, notes, grader_id, baseline_response, candidate_response `c12a595b` +- · BaselineGrader protocol plus PairedGrader that runs baseline and candidate calls and delegates to a Judge `80b98e31` +- … and 16 more open tasks --- ## MCP Orientation (when available)