• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rtmx-ai / rtmx / 21872313896

10 Feb 2026 04:00PM UTC coverage: 75.589% (-0.09%) from 75.683%
21872313896

push

github

rhino11
feat(hooks): Add pre-commit validation hook for RTM CSV files (REQ-GIT-002)

Implement pre-commit hook that validates staged RTM CSV files:
- Add `rtmx validate-staged` command for hook invocation
- Add `rtmx install --hooks --validate` option for validation hooks
- Validate schema (required columns, valid status/priority values)
- Detect duplicate requirement IDs
- Detect dependency cycles
- Detect orphaned dependencies (references to non-existent reqs)

Also fix README documentation link to point to /docs.

Test coverage:
- 15 new tests for validation hook functionality
- All 46 hook tests passing

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

911 of 1109 branches covered (82.15%)

Branch coverage included in aggregate %.

63 of 92 new or added lines in 3 files covered. (68.48%)

2 existing lines in 1 file now uncovered.

5254 of 7047 relevant lines covered (74.56%)

0.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.43
/src/rtmx/cli/validate.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc