Repository navigation
refactor: add affected obligation routing - #346
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 28 minutes and 24 seconds. ⌛ 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 (11)
✨ 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. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a91f023f9c
ℹ️ 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".
Closes #334. ## Summary Adds semantic changed-path routing from repo diffs into proof obligations, with human and JSON reports plus focused check recommendations. ## Problem Agents could inspect the proof catalog, but they still had to guess which local checks proved a given change. Path-only advice was too crude for parser, schema, command, generated-surface, workflow, and proof-catalog changes. ## Solution - Added operation-spec and workflow-claim subjects to the proof catalog. - Added catalog claims for operation routing metadata, generated-surface freshness, and PR verification records. - Added `polylogue.proof.diffing` to classify changed paths into semantic `ChangeSubject` rows, route affected obligations with explanations, and bucket obligation diffs into `new`, `dropped`, `now_failing`, `now_passing`, `stale_evidence`, and `suppressed` categories. - Added `devtools affected-obligations` with `--base-ref`, `--head-ref`, repeated `--path`, and `--json`. - Kept focused inner-loop checks separate from explicit PR and deployment gates. - Refreshed generated devtools and verification-catalog docs. ## Verification ```text pytest -q -n 0 tests/unit/proof/test_catalog.py tests/unit/proof/test_diffing.py tests/unit/devtools/test_affected_obligations.py tests/unit/devtools/test_command_catalog.py ruff format --check polylogue/proof devtools/affected_obligations.py tests/unit/proof/test_diffing.py tests/unit/devtools/test_affected_obligations.py ruff check polylogue/proof devtools/affected_obligations.py tests/unit/proof/test_diffing.py tests/unit/devtools/test_affected_obligations.py mypy polylogue/proof devtools/affected_obligations.py tests/unit/proof/test_diffing.py tests/unit/devtools/test_affected_obligations.py pytest -q -n 0 tests/unit/proof tests/unit/devtools/test_affected_obligations.py tests/unit/devtools/test_command_catalog.py tests/unit/devtools/test_render_verification_catalog.py tests/unit/operations/test_specs.py devtools render-all --check devtools affected-obligations --path docs/verification-catalog.md --json devtools affected-obligations --path polylogue/sources/parsers/codex.py devtools affected-obligations --base-ref master --head-ref HEAD devtools verify --quick devtools verify git push -u origin feature/refactor/semantic-diff-routing # pre-push quick gate passed ```
Agents could inspect the proof catalog, but they still had to guess which local checks proved a given change. Path-only advice was too crude for parser, schema, command, generated-surface, workflow, and proof-catalog changes. Adds semantic changed-path routing from repo diffs into proof obligations, with human and JSON reports plus focused check recommendations. Adds operation-spec and workflow-claim subjects to the proof catalog, plus catalog claims for operation routing metadata, generated-surface freshness, and PR verification records. Adds `polylogue.proof.diffing` to classify changed paths into semantic `ChangeSubject` rows, route affected obligations with explanations, and bucket obligation diffs into `new`, `dropped`, `now_failing`, `now_passing`, `stale_evidence`, and `suppressed` categories. Adds `devtools affected-obligations` with `--base-ref`, `--head-ref`, repeated `--path`, and `--json`. Keeps focused inner-loop checks separate from explicit PR and deployment gates. Verification: ruff + mypy + pytest over proof / devtools-affected / command-catalog / operations / render-verification suites; live `devtools affected-obligations` probes; devtools render-all --check, verify and --quick green. Closes #334
Agents could inspect the proof catalog, but they still had to guess which local checks proved a given change. Path-only advice was too crude for parser, schema, command, generated-surface, workflow, and proof-catalog changes. Adds semantic changed-path routing from repo diffs into proof obligations, with human and JSON reports plus focused check recommendations. Adds operation-spec and workflow-claim subjects to the proof catalog, plus catalog claims for operation routing metadata, generated-surface freshness, and PR verification records. Adds `polylogue.proof.diffing` to classify changed paths into semantic `ChangeSubject` rows, route affected obligations with explanations, and bucket obligation diffs into `new`, `dropped`, `now_failing`, `now_passing`, `stale_evidence`, and `suppressed` categories. Adds `devtools affected-obligations` with `--base-ref`, `--head-ref`, repeated `--path`, and `--json`. Keeps focused inner-loop checks separate from explicit PR and deployment gates. Verification: ruff + mypy + pytest over proof / devtools-affected / command-catalog / operations / render-verification suites; live `devtools affected-obligations` probes; devtools render-all --check, verify and --quick green. Closes #334
Agents could inspect the proof catalog, but they still had to guess which local checks proved a given change. Path-only advice was too crude for parser, schema, command, generated-surface, workflow, and proof-catalog changes. Adds semantic changed-path routing from repo diffs into proof obligations, with human and JSON reports plus focused check recommendations. Adds operation-spec and workflow-claim subjects to the proof catalog, plus catalog claims for operation routing metadata, generated-surface freshness, and PR verification records. Adds `polylogue.proof.diffing` to classify changed paths into semantic `ChangeSubject` rows, route affected obligations with explanations, and bucket obligation diffs into `new`, `dropped`, `now_failing`, `now_passing`, `stale_evidence`, and `suppressed` categories. Adds `devtools affected-obligations` with `--base-ref`, `--head-ref`, repeated `--path`, and `--json`. Keeps focused inner-loop checks separate from explicit PR and deployment gates. Verification: ruff + mypy + pytest over proof / devtools-affected / command-catalog / operations / render-verification suites; live `devtools affected-obligations` probes; devtools render-all --check, verify and --quick green. Closes #334
|
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. |
|
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. |
Closes #334.
Summary
Adds semantic changed-path routing from repo diffs into proof obligations, with human and JSON reports plus focused check recommendations.
Problem
Agents could inspect the proof catalog, but they still had to guess which local checks proved a given change. Path-only advice was too crude for parser, schema, command, generated-surface, workflow, and proof-catalog changes.
Solution
polylogue.proof.diffingto classify changed paths into semanticChangeSubjectrows, route affected obligations with explanations, and bucket obligation diffs intonew,dropped,now_failing,now_passing,stale_evidence, andsuppressedcategories.devtools affected-obligationswith--base-ref,--head-ref, repeated--path, and--json.Verification