fleettickets/docs
david kiania 764dee986f feat: history capture — closure_events + daily backlog snapshot (migration 10)
- tickets.closure_events: append-only observed closures (PK ticket_id, closed_at;
  observed_at = first sighting; survives row churn).
- tickets.inc_daily_snapshot: one row per EAT day — open backlog (+ SLA split, by
  cluster/status) and created/closed flow; upserted each run.
- tickets.capture_history(): appends new closures + upserts today's snapshot.
- import_tickets calls it after each --apply run (ingest or skip); add
  --capture-history CLI flag for standalone runs.
Verified: backfilled 21,282 closures; today's snapshot recorded (open_total 30).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 01:19:23 +03:00
..
dashboard-api-contract.md docs: dashboard_api endpoint contract for fn_inc_dashboard (handoff) 2026-06-16 01:13:09 +03:00
implementation.md feat: history capture — closure_events + daily backlog snapshot (migration 10) 2026-06-16 01:19:23 +03:00
phase-1-ingestion.md docs: add docs/ — phase-1/phase-2 PRDs + implementation record 2026-06-16 01:05:18 +03:00
phase-2-dashboard.md docs: add docs/ — phase-1/phase-2 PRDs + implementation record 2026-06-16 01:05:18 +03:00