File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,11 @@ You are a **Principal Software Engineer** responsible for:
104104 - ` pnpm run typecheck `
105105- Run tests with: ` pnpm test `
106106- Pre-commit hooks will run automatically
107+ - ** 🚨 MANDATORY Coverage Requirements** : Before pushing commits, ensure test coverage is maintained or improved
108+ - ** Never decrease coverage** : All changes MUST maintain or increase existing coverage percentages
109+ - ** Check before push** : Run ` pnpm run test ` to verify coverage thresholds are met
110+ - ** Fix coverage drops** : If coverage decreases, add tests to restore or improve coverage before pushing
111+ - ** Rationale** : Declining coverage indicates untested code paths, which increases risk of bugs and regressions
107112
108113### 6. Git Workflow
109114- ** DO NOT commit automatically** - let the user review changes first
You can’t perform that action at this time.
0 commit comments