Repository navigation
Add protected official Comparator execution report - #64
Conversation
|
Warning Review limit reached
Next review available in: 40 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
📝 WalkthroughWalkthroughAdds an attested protected Comparator workflow, a strict run-report schema and domain model, offline bundle verification, a release CLI command, and acceptance/substitution tests. ChangesProtected Comparator verification
Estimated code review effort: 5 (Critical) | ~120 minutes Possibly related issues
Possibly related PRs
Sequence Diagram(s)sequenceDiagram
participant Boundary
participant ComparatorJob
participant ProtectedRunner
participant Comparator
participant Verifier
participant Attestation
Boundary->>ComparatorJob: provide artifact hashes and bundle
ComparatorJob->>ProtectedRunner: invoke protected run
ProtectedRunner->>Comparator: execute in gated systemd unit
Comparator-->>ProtectedRunner: return stdout, stderr, and exit result
ProtectedRunner-->>ComparatorJob: write report and run bundle
ComparatorJob->>Verifier: verify report and package hashes
ComparatorJob->>Attestation: attest and verify Comparator report
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ 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: a620d9ea07
ℹ️ 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".
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/publication.yml:
- Around line 313-319: Update the workflow step invoking
comparator-protected-run.sh to pass the boundary output values through an env
block, then reference corresponding shell environment variables in the run
command instead of inline ${{ needs.boundary.outputs.* }} expansions. Preserve
the existing output-to-argument ordering and all other command arguments.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 418a5a39-29f8-4af4-a35e-f9ad471da919
📒 Files selected for processing (11)
.github/workflows/publication.ymldocs/decisions/ADR-0015-protected-official-comparator-execution.mdschemas/release/comparator-run-report-1.schema.jsonscripts/comparator-protected-run.shsrc/cli/mod.rssrc/comparator_export.rssrc/comparator_run.rssrc/domain/comparator_run.rssrc/domain/mod.rssrc/lib.rstests/phase1_cli.rs
Summary
comparator_run_report/1Rust contract and committed JSON SchemaTrust boundary
An accepted report may set
comparator_verified: true, butauthoritativeremains structurally false. This PR does not ingest evidence, update research status, or complete Pilot C.Refs #63
Local verification
cargo fmt --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo test --workspace(179 unit/integration tests)python -m compileall -q src testspython -m unittest discover -s tests -v(39 tests)MathOS.PilotA.every_prime_other_than_two_is_oddbash -n scripts/comparator-protected-run.shSummary by CodeRabbit
New Features
Documentation
Tests