The Brief
Realtime Postgres Sync
Multi-region Supabase setup. You design the conflict-resolution agent for write conflicts during region failover.
Constraints - Latency: 95p resolution under 200ms. - Token budget: 3,000 output tokens per conflict. - Must be idempotent (re-running produces same outcome).
Success rubric - 25 conflict scenarios, agent must converge correctly on 22. - No stale-write retention.
Allowed tools code_run, file_search.