@AGENTS.md
- When: Working with libraries (Drizzle, Supabase, Next.js, shadcn/ui, Vitest)
- Process:
resolve-library-id→get-library-docs→ Apply current patterns
- enforcer - Code review with XML-guided workflows
- investigator - Deep read-only analysis and diagnostics
- Explore - Fast codebase exploration and search
- The macOS sandbox blocks Chromium's Mach port IPC, causing
MachPortRendezvousServer: Permission deniedcrashes. - Playwright commands are excluded from sandboxing via
excludedCommandsin.claude/settings.local.json. If you see Mach port errors, verify the command prefix matches an entry there (env var prefixes likeSKIP_SUPABASE_RESET=trueneed separate entries). ghCLI TLS errors are fixed byenableWeakerNetworkIsolation: truein the same file.- Use
pnpm run dev:statusto check if Next.js/Supabase/Postgres are running — don't hand-roll curl health checks.
- If you've spent more than 3 tool calls on environment setup without reproducing the actual issue, stop and ask the user for guidance.
- For simple PRs (< 5 files changed), do not spawn more than 2 sub-agents.
- Do not over-engineer or spawn excessive parallel agents for straightforward tasks.