[Spike-1095] Legacy schema audit

Story 1095Epic None1 files · +365/−0

PR #278 · pramaan-io/pramaan-functions · merged 2026-06-09

Why this matters

Dead filing cabinets in the basement

Zero-ref schemas still cost real money

Blind deletion kills live data.

The fix — Audit the references, then drop the dead.

How it flows

sequenceDiagram
  autonumber
  participant curator as Auditor
  participant cabinets as Codebase + envs
  participant plan as Action plan
  curator->>cabinets: inventory all schemas
  curator->>curator: grep for references
  cabinets-->>curator: zero-ref + active results
  curator->>plan: drop list + candidate
  plan-->>cabinets: phased wipe

Files changed (1)

File±
docs/notes/legacy-schema-audit.md ★+365