Skip to content

feat(verification): typed Pydantic manifests, anti-vacuity breaker rule (#594, #590, #629) - #755

Merged
Sinity merged 1 commit into
masterfrom
feature/feat/verification-rigor
May 3, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/feat/verification-rigor

Conversation

@Sinity

@Sinity Sinity commented May 3, 2026

Copy link
Copy Markdown
Owner

14 Pydantic models for all YAML manifests, slop dashboard, breaker tests. 7 files, 1424 insertions.

…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]>
Copilot AI review requested due to automatic review settings May 3, 2026 11:47
@coderabbitai

coderabbitai Bot commented May 3, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@Sinity has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 34 minutes and 31 seconds before requesting another review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 81236390-5309-4f74-a687-ea2138f736d0

📥 Commits

Reviewing files that changed from the base of the PR and between 3a7483d and 1efb48a.

📒 Files selected for processing (7)
  • devtools/proof_pack.py
  • devtools/verify_manifests.py
  • polylogue/verification/__init__.py
  • polylogue/verification/manifests/__init__.py
  • polylogue/verification/manifests/models.py
  • tests/unit/verification/__init__.py
  • tests/unit/verification/test_breakers.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/feat/verification-rigor

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.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 34 minutes and 31 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread devtools/proof_pack.py Resolved
@Sinity
Sinity merged commit 22114f2 into master May 3, 2026
6 checks passed
@Sinity
Sinity deleted the feature/feat/verification-rigor branch May 3, 2026 11:52
@Sinity
Sinity removed the request for review from Copilot May 3, 2026 12:10
Sinity added a commit that referenced this pull request May 7, 2026
…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]>
@Sinity

Sinity commented Oct 1, 2026

Copy link
Copy Markdown
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant