Revise coding standards and testing guidelines in .cursor/rules/coderule.mdc and .cursor/rules/testing.mdc. Update descriptions for clarity, adjust coverage thresholds to 75%, and enhance comments on test data requirements. Improve sound notification rules in .cursor/rules/human-attention-sound.mdc and refine tracker operations in .cursor/rules/tracker.mdc to ensure better user interaction and error handling. Incorporate completeness audit steps in research documentation for improved quality assurance.

This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-04-17 20:29:12 +03:00
parent fa17185f82
commit 229188acbf
17 changed files with 275 additions and 90 deletions
+14
View File
@@ -23,3 +23,17 @@ globs: [".cursor/**"]
## Security
- All `.cursor/` files must be scanned for hidden Unicode before committing (see cursor-security.mdc)
## Quality Thresholds (canonical reference)
All rules and skills must reference the single source of truth below. Do NOT restate different numeric thresholds in individual rule or skill files.
| Concern | Threshold | Enforcement |
|---------|-----------|-------------|
| Test coverage on business logic | 75% | Aim (warn below); 100% on critical paths |
| Test scenario coverage (vs AC + restrictions) | 75% | Blocking in test-spec Phase 1 and Phase 3 |
| CI coverage gate | 75% | Fail build below |
| Lint errors (Critical/High) | 0 | Blocking pre-commit |
| Code-review auto-fix | Low + Medium (Style/Maint/Perf) + High (Style/Scope) | Critical and Security always escalate |
When a skill or rule needs to cite a threshold, link to this table instead of hardcoding a different number.