What problem does it solve?
Prevents regressions introduced when AI agents write and review code by providing patterns and fast sandbox-mode tests that catch repeated blind spots such as sandbox/production path mismatches, omitted SELECT clauses, and missing rollback behavior. The guidance helps ensure fixes do not reintroduce the same bug and that CI enforces mechanical checks before AI review.
Core Features & Use Cases
- Sandbox-mode API testing guidance for DB-free tests and Vitest setup to run fast deterministic checks.
- Regression test patterns including required-field assertions, sandbox/production parity checks, and explicit checks for SELECT clause omissions.
- Bug-check workflow integration outlining a mandatory test-and-build step in CI followed by AI code review and regression test creation for every fix.
- Use Case: After an AI-generated fix, run the sandbox tests for /api/user/profile to ensure notification_settings and other newly added fields are present in all paths.
Quick Start
Run sandbox-mode API regression tests for /api/user/profile and report any missing or undefined fields, then propose a regression test to prevent recurrence.