Problem
The `coverage` block in `vitest.config.ts` configures `include`/`exclude`/reporters, but sets no `thresholds`. `npm test` (and CI) can never fail due to a coverage regression, no matter how much untested code is added.
Location
`vitest.config.ts` (coverage block)
Impact
No automated guardrail against coverage silently eroding over time as new code is added.
Suggested fix
Add `thresholds` (lines/functions/branches/statements) set slightly below current coverage as a baseline, and ratchet up over time.
Problem
The `coverage` block in `vitest.config.ts` configures `include`/`exclude`/reporters, but sets no `thresholds`. `npm test` (and CI) can never fail due to a coverage regression, no matter how much untested code is added.
Location
`vitest.config.ts` (coverage block)
Impact
No automated guardrail against coverage silently eroding over time as new code is added.
Suggested fix
Add `thresholds` (lines/functions/branches/statements) set slightly below current coverage as a baseline, and ratchet up over time.