mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
Add concise routed context, task-aware agent roles, focused skills, and structured learning promotion.\n\nUnify local development and workspace tooling, add layered test and E2E verification, harden MCP authentication, and gate deployment behind verification and explicit production promotion.
844 B
844 B
Database migration safety
All schema changes are versioned local files under apps/supabase/migrations/.
Required workflow
npm run db:migration:new -- <descriptive_name>- Edit the generated local migration.
- Prefer idempotent SQL where semantics permit it.
npm run db:resetagainst local Supabase.- Run
npm run test:supabaseand affected application checks. - Commit the migration with dependent code and types.
Forbidden paths
- Never call a remote
apply_migrationMCP tool. - Never execute DDL through MCP SQL execution.
- MCP SQL execution is read-only
SELECTuse only. - Never insert migration history manually except an explicitly approved repair.
- Never hardcode a production URL in a migration or cron definition.
CI deploys committed migrations. Local verification must not link a remote project.