2 Commits

Author SHA1 Message Date
d8651480e0 feat(product-analytics): row level security on the SQL session table, deduplicated distinct trends, A2 migration test and open-source record (A2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 06:18:10 +03:00
c6fc339449 docs(analytics): product analytics plan, lim.run gap audit, OSS and capacity notes
Architect pass for Railyard product analytics (branch analytics/2026-09-30).
- PLAN.md: a new apps/product-analytics service that speaks the public
  capture protocol of the MIT/Apache PostHog SDKs (so the unmodified web,
  React Native and server SDKs work), backed by partitioned Postgres on box 2;
  identify, merges and groups ported from PostHog MIT code; insights ported
  from the vendored Umami Postgres SQL plus PostHog query semantics;
  experiments on the existing flags slot (read through its client API, written
  only through its service); three packages A1 (ingest, storage, SDKs,
  identify/groups, GDPR), A2 (insights, cohorts, dashboards, SQL), A3 (replay,
  heatmaps, surveys, experiments, exports) with disjoint file ownership.
- LIMRUN-GAPS.md: G1-G12 gaps of Scribase against lim.run with owner lanes.
- OSS.md: licences verified with gh api and npm view, pinned commits,
  rejected candidates with reasons.
- CAPACITY.md: 192 MiB service cap (est.), no ClickHouse, gate order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 02:41:26 +03:00