Write a failing test before implementation and verify the relevant unit, integration, type, lint, and build checks before claiming a change is complete.

Backend

Use the repository wrapper when database isolation matters:
The wrapper provisions a uniquely named disposable test database and drops it on every exit path. The root pytest fixture rejects the shared development database and databases not explicitly marked as test-only.

Frontend

Migrations

Generate an intentional migration only after its model change and failing test are in place:

High-risk capabilities

Repository scanning, dependency evidence, Joern, external providers, and sandbox execution have dedicated hermetic and external conformance suites. Unit tests must never enable a production gate or write conformance settings as a side effect.