type: decision
status: active
timestamp: 2026-06-19
tags: [lifestream, jsonl, turso, canonical, durability]

Lifestream JSONL in git is canonical; Turso is warm cache

chirag127/oriz-me-data holds canonical JSONL events sharded by year by year. Turso libSQL is a rebuilt warm cache for live edge reads, not a source of truth.

Lifestream JSONL in git is canonical; Turso is warm cache

Decision

The lifestream’s authoritative store is JSONL files in the chirag127/oriz-me-data git repo, sharded one file per year (events-2026.jsonl), with a year-file shardable into month-files once it crosses 10 MB pre-compression. Turso libSQL is a warm cache rebuilt from the JSONL on every deploy — it is NOT a source of truth and may be wiped without data loss.

Why

Per the 100-year strategy, vendor format risk is one of the top 3 failure modes. SQLite, Parquet, and Firestore exports all carry vendor-specific quirks that may not parse cleanly in 2076. Plain text JSONL in a git repo does: anyone with git clone and jq can read every event, in any decade, on any platform. JSONL is also git-pack-friendly (append-only text), which keeps .git size bounded over decades. This decision explicitly supersedes the earlier why-firestore-not-turso.md which made Turso the canonical store.

Implications

Cross-refs


Edit on GitHub · Back to index