Summary
Complete migration off Supabase. Once PromptForge, Dredd, and Dispatch data live in Cortex, cancel the Supabase subscription.
Current Supabase Dependencies
PromptForge (→ Cortex, Issue #20 )
prompts: 19 rows
prompt_versions: 52 rows
prompt_branches: 5 rows
prompt_subscriptions: 5 rows
prompt_effectiveness: 0 rows (empty)
prompt_usage_log: 0 rows (empty)
Alexandria (→ Already migrated to Cortex)
vault_entities: 29 rows → IN CORTEX (149 nodes total)
vault_people: 6 rows → IN CORTEX
vault_knowledge: 54 rows → IN CORTEX
vault_relationships: ~50 rows → IN CORTEX (198 edges)
vault_devices: 10 rows → IN CORTEX
vault_secrets: 24 rows → KEEP as local key vault (not in Cortex — secrets should not be in a queryable graph)
Dredd (→ Cortex)
reasoning_patterns: 1,584 rows
decisions: 2,474 rows
decision_context: linked to decisions
decision_outcomes: linked to decisions
Dispatch (→ Cortex)
backlog_items: ~100 rows
swarm_events: high volume
swarm_tasks: high volume
agent_metrics: telemetry
audit_log: audit trail
Migration Order
PromptForge — Issue feat: Prompt Graph — Storage, Versioning & Migration #20 (active)
Alexandria secrets — extract to local encrypted file/SQLite vault
Dredd — reasoning patterns + decisions as Cortex nodes
Dispatch — backlog items + tasks as Cortex nodes, events as observations
Post-Migration
Verify all services function without Supabase
Run parallel for 1 week (both Supabase and Cortex)
Cancel Supabase subscription
Remove Supabase connection strings from all configs
Update documentation
Supabase Instances
Warren/Swarm: uaubofpmokvumbqpeymz.supabase.co
Darlington/Personal: vufdabwdnpmxmgugzric.supabase.co (separate — may keep)
Acceptance Criteria
Summary
Complete migration off Supabase. Once PromptForge, Dredd, and Dispatch data live in Cortex, cancel the Supabase subscription.
Current Supabase Dependencies
PromptForge (→ Cortex, Issue #20)
prompts: 19 rowsprompt_versions: 52 rowsprompt_branches: 5 rowsprompt_subscriptions: 5 rowsprompt_effectiveness: 0 rows (empty)prompt_usage_log: 0 rows (empty)Alexandria (→ Already migrated to Cortex)
vault_entities: 29 rows → IN CORTEX (149 nodes total)vault_people: 6 rows → IN CORTEXvault_knowledge: 54 rows → IN CORTEXvault_relationships: ~50 rows → IN CORTEX (198 edges)vault_devices: 10 rows → IN CORTEXvault_secrets: 24 rows → KEEP as local key vault (not in Cortex — secrets should not be in a queryable graph)Dredd (→ Cortex)
reasoning_patterns: 1,584 rowsdecisions: 2,474 rowsdecision_context: linked to decisionsdecision_outcomes: linked to decisionsDispatch (→ Cortex)
backlog_items: ~100 rowsswarm_events: high volumeswarm_tasks: high volumeagent_metrics: telemetryaudit_log: audit trailMigration Order
Post-Migration
Supabase Instances
uaubofpmokvumbqpeymz.supabase.covufdabwdnpmxmgugzric.supabase.co(separate — may keep)Acceptance Criteria