- Avoid writing specs unless explicitly asked.
- For schema or type-contract changes, update the relevant type contract tests.
- After addressing local review feedback, run the smallest relevant validation command; for TSX/React changes, run
npm run lintand ensure zero errors. - Prefer happy-path MVP validation.
- Prefer
with_modified_envfrom spec helpers over stubbingENVdirectly in specs. - In parallel or reloading specs, compare
error.class.nameover constant class equality when asserting raised errors.