What problem does it solve? Supabase projects accumulate edge function sprawl that approaches the 500-function cap, leaving dead, duplicate, and overlapping handlers that are risky to clean up because live webhook URLs and tenant resolution must not break. ## Core Features & Use Cases - Full function audit: Enumerates every function in supabase/functions, scans static references in src/ and config.toml, and cross-checks 30-day invocation evidence from function_edge_logs. - Eight-bucket classification: Sorts each function into live-pinned, live-private, cron-worker, duplicate, dead, consolidate-router, move-to-queue, or move-off-supabase with explicit evidence. - Consolidation report: Produces router route tables (crm-router, admin-router, worker-tick), duplicate canonical picks, deletion candidates with proof, and a safe migration order. - Use Case: When a CRM project nears the Supabase function cap, run the audit to identify 40 dead functions, merge 25 CRUD endpoints into routers, and consolidate scheduled jobs into one cron-dispatched worker-tick. ## Quick Start Audit all Supabase edge functions in this project and produce a consolidation plan classifying each as live, duplicate, dead, or a router candidate.