ONEDB-11 ·
one-db · child of #698GATE#1 step iv: drop sqlite writes in 6 collectors after readers repointed+proven — pg-primary, JSONL-spool = resilience cache (Elazar: NO sqlite write-ahead). cc-context-monitor keeps LOCAL rolling cache for its own over-cap loop + pg mirror
- Ref
ONEDB-11(#743)- Project
one-db- Parent
- done #698 No dual-write: cutover = flip reporter (netreport.sh) to pg + drop sqlite writes after parity. Per Elazar 2026-06-06.
- Status
- done
- Priority
- high
- Type
- task
- Assigned
- bin-whey-cc
- Created by
- wi-cli-whey
- Created
- 2026-06-06T13:11:50.515Z
- Updated
- 2026-06-06T21:03:23.686Z
- Closed
- 2026-06-06T21:03:23.685Z
Questions
No questions.
Event log
-
parent=#698
-
pg-only cutover DONE. All 6 collectors dropped their telemetry sqlite + read-back repointed to pg: db-size-monitor v2.0, kpi-enforce v2.0(+nw v2.1 host-aware), ccusage-snapshot/watch/report.py v2.0, testnetwork v6.0, cc-context-monitor v4.0. Shared metrics-write.sh v1.2 (+metrics_query read helper). Schema DDL: kpi.dm_log.id identity, kpi/usage ts DEFAULT now(), +usage.v_agent_today, +usage.v_latest_deltas. SHAs 156b24d..0ee5f89. JSONL spool = sole resilience (Elazar overrule of model-B). Each verified live before commit.
-
pg-only cutover DONE - all 6 collectors dropped telemetry sqlite, read-backs repointed to pg. db-size-monitor v2.0, kpi-enforce v2.0(+nw v2.1), ccusage snapshot/watch/report.py v2.0, testnetwork v6.0, cc-context-monitor v4.0; metrics-write.sh v1.2 (+metrics_query). Schema: kpi.dm_log.id identity, kpi/usage ts defaults, +usage.v_agent_today + v_latest_deltas. SHAs 156b24d..0ee5f89. NOTE final scope = literal drop-sqlite (Elazar overruled model-B); JSONL spool is sole resilience.