Spaces:
Sleeping
Sleeping
Commit History
-
Add Supabase storage adapter with lazy dual-write mirror
- cdpr.storage.supabase: optional SupabaseMirror that copies experiment metadata into Supabase when SUPABASE_URL + SUPABASE_SERVICE_ROLE_KEY are set; local disk stays the source of truth. - recorder.record_simulation gains mirror_to_supabase / supabase_metrics kwargs; defaults preserve Phase 1-6 behaviour (no cloud writes). - supabase/config.toml links the project (ref nohbtlhhisfiajjsbguy). - supabase/migrations/20260526000001_initial_schema.sql replicates the schema as a CLI-runnable migration. - pyproject: [storage] extra installs the supabase Python client. Recording tests pass (5/5); module imports cleanly without supabase-py installed (lazy guard returns False).52db224