Repository navigation
feat(verification): typed Pydantic manifests, anti-vacuity breaker rule (#594, #590, #629) - #755
Conversation
…le, mutation fixtures (#594, #590, #629) Problem: Manifest validation used loose dict-based checks that could miss structural errors. Claims lacked breakers (verifiers that can falsify them), making the proof catalog untrustworthy. No regression tests ensured verifiers reject bad input. Solution (three deliverables): D1 (#629) — Typed Pydantic v2 models for all 17 YAML manifests in docs/plans/. Each model uses extra='forbid' to reject unknown fields. CoverageGap and LintRule use field_validator decorators for enum checking and ISO date parsing. A dispatch table (MANIFEST_MODELS) maps filename to model class. check_pydantic_models() is added as the first check in verify_manifests.main(). D2 (#594) — build_slop_dashboard() in proof_pack.py flags claims missing breakers, runners, subjects, self-referential, or with stale evidence. Subject discovery via Click introspection (--discover-subjects and --slop dashboards). Five slop reasons with by-reason breakdown. D3 (#590, #594) — 14 breaker tests in tests/unit/verification/test_breakers.py that verify: Pydantic rejects bad severity/date/unknown fields, coverage gaps check for prose next_evidence, path reference resolution fails on nonexistent files, slop dashboard structure and serialization, committed manifests pass validation, verify_manifests integration guard. Verification: - ruff check + ruff format: clean - mypy --strict: clean on all new/modified files - pytest tests/unit/verification/test_breakers.py: 14 passed, 1 xfailed - python3 devtools/verify_manifests.py: manifest consistency checks passed - python3 devtools/proof_pack.py --slop: 44 claims, 7 slop (missing breakers) Co-Authored-By: Claude <[email protected]>
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 34 minutes and 31 seconds.Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1efb48ad86
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…le (#594, #590, #629) (#755) 14 Pydantic models for all YAML manifests, slop dashboard, breaker tests. 7 files, 1424 insertions. Co-authored-by: Claude <[email protected]>
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
14 Pydantic models for all YAML manifests, slop dashboard, breaker tests. 7 files, 1424 insertions.