Repository navigation
ci(proof-routing): wire contract/xtask proof into required gates (P18) - #1084
Conversation
Closes the proof gap surfaced while verifying P18's prerequisites: six commands that the proof-pack manifest declares as required proof ran in NO CI workflow, so the surfaces they cover (xtask automation, output contracts, goldens, fixtures, traceability, capabilities) had no required gate. This is the same class of gap that hid the #1074 golden drift. P18 is deliberately NOT a skip gate. The P16 evidence showed code/schema surfaces carry real signal, so skipping required gates there is unsafe. Instead this makes the only required check ("Ripr Rust Small Result") STRICTER: - Add to the Required Rust gates in all four routed runner jobs: check-command-catalog, check-output-contracts, goldens check, fixtures, check-traceability, check-capabilities. (cargo test -p xtask is omitted: cargo test --workspace already covers the xtask workspace member.) - Close the P17 docs-only escape for docs/OUTPUT_SCHEMA.md: it ends in .md and was routing docs-only, skipping check-output-contracts. Add it to the detect-docs-only never-skip carve-out so a schema-only PR routes full proof. - Reconcile the routed-rust-small lane in ci-lane-whitelist.toml to list the commands it now actually runs (manifest honesty for the proof-route artifact). All six commands pass on current main (post-#1074 fix). Run-block 27/63 lines; check-workflows / check-proof-packs / check-ci-lane-whitelist green. Refs #1079. Builds on #1074 (goldens fix).
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
Summary by CodeRabbit
WalkthroughThis PR updates GitHub Actions workflow validation logic and CI lane configuration. The docs-only detection now recognizes ChangesCI Validation Expansion
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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.
Code Review
This pull request updates the routed-rust-small CI lane in policy/ci-lane-whitelist.toml by adding several verification commands, including check-command-catalog, check-output-contracts, goldens check, fixtures, check-traceability, and check-capabilities. The reviewer noted that cargo xtask check-campaign was omitted and suggested adding it to ensure complete coverage of all required traceability proofs.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| workflow = ".github/workflows/routed-rust.yml" | ||
| jobs = ["Ripr Rust Small Result"] | ||
| commands = ["cargo fmt --check", "cargo check --workspace --all-targets", "cargo clippy --workspace --all-targets -- -D warnings", "cargo test --workspace", "cargo xtask check-static-language", "cargo xtask check-no-panic-family", "cargo xtask check-allow-attributes", "cargo xtask check-local-context", "cargo xtask check-file-policy", "cargo xtask check-executable-files", "cargo xtask check-workflows", "cargo xtask check-droid-review-config", "cargo xtask check-spec-format", "cargo xtask check-spec-numbering", "cargo xtask check-fixture-contracts", "cargo xtask check-generated", "cargo xtask check-badge-diff-policy", "cargo xtask check-generated-clean", "cargo xtask check-dependencies", "cargo xtask check-process-policy", "cargo xtask check-network-policy"] | ||
| commands = ["cargo fmt --check", "cargo check --workspace --all-targets", "cargo clippy --workspace --all-targets -- -D warnings", "cargo test --workspace", "cargo xtask check-static-language", "cargo xtask check-no-panic-family", "cargo xtask check-allow-attributes", "cargo xtask check-local-context", "cargo xtask check-file-policy", "cargo xtask check-executable-files", "cargo xtask check-workflows", "cargo xtask check-droid-review-config", "cargo xtask check-spec-format", "cargo xtask check-spec-numbering", "cargo xtask check-fixture-contracts", "cargo xtask check-generated", "cargo xtask check-badge-diff-policy", "cargo xtask check-generated-clean", "cargo xtask check-dependencies", "cargo xtask check-process-policy", "cargo xtask check-network-policy", "cargo xtask check-command-catalog", "cargo xtask check-output-contracts", "cargo xtask goldens check", "cargo xtask fixtures", "cargo xtask check-traceability", "cargo xtask check-capabilities"] |
There was a problem hiding this comment.
The traceability lane (which is marked as required) includes the cargo xtask check-campaign command. However, this command is omitted from the routed-rust-small lane, even though other traceability commands like check-traceability and check-capabilities have been added. To ensure complete coverage of all required traceability proofs, please add cargo xtask check-campaign to the commands list.
| commands = ["cargo fmt --check", "cargo check --workspace --all-targets", "cargo clippy --workspace --all-targets -- -D warnings", "cargo test --workspace", "cargo xtask check-static-language", "cargo xtask check-no-panic-family", "cargo xtask check-allow-attributes", "cargo xtask check-local-context", "cargo xtask check-file-policy", "cargo xtask check-executable-files", "cargo xtask check-workflows", "cargo xtask check-droid-review-config", "cargo xtask check-spec-format", "cargo xtask check-spec-numbering", "cargo xtask check-fixture-contracts", "cargo xtask check-generated", "cargo xtask check-badge-diff-policy", "cargo xtask check-generated-clean", "cargo xtask check-dependencies", "cargo xtask check-process-policy", "cargo xtask check-network-policy", "cargo xtask check-command-catalog", "cargo xtask check-output-contracts", "cargo xtask goldens check", "cargo xtask fixtures", "cargo xtask check-traceability", "cargo xtask check-capabilities"] | |
| commands = ["cargo fmt --check", "cargo check --workspace --all-targets", "cargo clippy --workspace --all-targets -- -D warnings", "cargo test --workspace", "cargo xtask check-static-language", "cargo xtask check-no-panic-family", "cargo xtask check-allow-attributes", "cargo xtask check-local-context", "cargo xtask check-file-policy", "cargo xtask check-executable-files", "cargo xtask check-workflows", "cargo xtask check-droid-review-config", "cargo xtask check-spec-format", "cargo xtask check-spec-numbering", "cargo xtask check-fixture-contracts", "cargo xtask check-generated", "cargo xtask check-badge-diff-policy", "cargo xtask check-generated-clean", "cargo xtask check-dependencies", "cargo xtask check-process-policy", "cargo xtask check-network-policy", "cargo xtask check-command-catalog", "cargo xtask check-output-contracts", "cargo xtask goldens check", "cargo xtask fixtures", "cargo xtask check-traceability", "cargo xtask check-capabilities", "cargo xtask check-campaign"] |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
What
Makes the only required check (Ripr Rust Small Result) stricter by running six proof commands the manifest declared required but that ran in no CI workflow. Refs #1079; builds on #1074.
Why this shape (not a skip gate)
The P16 evidence (#1078) showed code/schema surfaces carry real signal — skipping required gates there is unsafe. So P18 closes a proof gap rather than opening a skip. This is the same gap class that hid #1074's golden drift.
Changes (2 files)
.github/workflows/routed-rust.ymlcheck-command-catalog,check-output-contracts,goldens check,fixtures,check-traceability,check-capabilities. (cargo test -p xtaskomitted —cargo test --workspacealready covers the xtask workspace member.)docs/OUTPUT_SCHEMA.mdescape: it ends in.mdso it was routing docs-only and skippingcheck-output-contracts. Added to thedetect-docs-onlynever-skip carve-out → schema-only PRs now route full proof.policy/ci-lane-whitelist.tomlrouted-rust-smalllane to list the commands it now actually runs (manifest honesty for the proof-route artifact).Verification
main(post-test(goldens): latent TypeScript preview golden drift not caught by required CI #1074 fix):check-command-catalog,check-output-contracts,goldens check,fixtures,check-traceability,check-capabilities.check-workflows/check-proof-packs/check-ci-lane-whitelistgreen. Run-block 27/63 lines.OUTPUT_SCHEMA.md-only diff now →docs_only=false(full proof); regular docs still route docs-only.🤖 Generated with Claude Code