Repository navigation
policy: allow cargo-allow conformance metadata - #1846
EffortlessSteven wants to merge 1 commit into
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reached
Next review available in: 2 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: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Reporter summary
The diff adds a narrowly-scoped, well-formed allow entry in policy/non-rust-allowlist.toml for the owned .allow/conformance/*.json metadata surface, attributed to product-swarm with classification metadata and checker coverage linking both cargo-allow audit and the xtask check-file-policy gate; this directly resolves the cited PR-body failure mode (xtask rejecting the conformance fixture) without weakening rules for unrelated JSON. Most lanes completed but correctness, tests-red-green, source-route, and architecture returned degraded outputs (preserved but not fully reasoned); opposition and refuter returned ok and did not surface blockers, and late cargo-test evidence arrived ok, providing a positive (though modest) corroboration that this policy-only change does not regress test behavior. artifact-verifier failed earlier but its scope is unrelated to TOML policy metadata. Verification question worth confirming: whether the new glob intentionally exposes the entire .allow/conformance/ tree or whether a more specific pattern (e.g. .allow/conformance/legacy-dialect.json) would better limit blast radius; functionally the existing wording matches the PR intent.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm claim that 'cargo xtask check-file-policy' references non-rust-allowlist.toml needs verification; only one hunk, no caller change.
- Confirm glob .allow/conformance/*.json is broad; PR claims it does not weaken other JSON file-policy rules.
- Confirm resolve cross-lane conflict before treating
tests-red-greenas confirmed:tests-red-greenreportsAllowlist addition has no co-committed test exercising the new .allow/conformance/*.json path under cargo xtask check-file-policy. Red/green correctness relies solely on xtask invocation; no regression test guards aga..., whilecorrectnessrefutes the same concern.
Refuted
- No regression test accompanies the new allowlist entry, so the change is unverifiable.; refuted because: Diff class is policy/configuration, not Rust behavior. tests-red-green lane scope is changed-behavior proof; policy allowlist changes are validated by the file-policy checker itself, not unit tests. PR body supplies xtask invocation result.
- This allowance weakens the file-policy rule for unrelated JSON files.; refuted because: Diff shows only an additive [[allow]] with a single-conformance-dir glob; no existing rule is modified and the glob cannot match JSON outside .allow/conformance/.
Evidence gaps
- artifact-verifier exit 2 is not a correctness regression of the allowlist rule itself; needs separate triage to determine scope.
- PR body claims cargo xtask check-file-policy passes on exact PR worktree; verification table provided but no CI receipt captured. artifact-verifier failed exit 2 — receipt gap.
- cargo-allow receipt and xtask receipt are independent; PR claims both covered, but no cargo-allow sensor ran (skipped).
|
Superseded by merged PR #1848 on current main. The live branch now contains the |
…isory corpus entry (#1729) The evidence-promotion-honesty gate iterates its corpus language-agnostically, so the tier-`pure` `source_report` Perl charter case (`perl_preview_card_advisory_no_repair_packet`) is already enforced on every default `check-evidence-promotion-honesty` run. This adds the proof #1729 asked for, with no production behavior change: - `evidence_promotion_honesty_catches_dishonest_perl_advisory_rebless`: a red/green witness — an honest advisory report stays clean, a dishonest re-bless to `exposed` trips the `must_not_promote` assertion. - `perl_advisory_charter_case_stays_enforced_in_live_corpus`: guards the real corpus so a future silent demotion/removal of the Perl entry is caught. - Both registered under RIPR-SPEC-0108 in the traceability map. Verified locally (both tests + real gate green, fmt/clippy/static-language clean). Adversarial review verdict: solid. Required "Ripr Rust Small" CI lane is red on pre-existing main breakage unrelated to this diff (#1836's unlisted .allow/conformance/legacy-dialect.json fails check-file-policy; fix in flight in PR #1846). Closes #1729
What this does
cargo xtask check-file-policy rejected the existing .allow/conformance/legacy-dialect.json fixture on current main, which made the routed Rust, coverage, and test-analytics checks fail before dependent PRs could be evaluated.
Fix: allow the owned cargo-allow conformance JSON metadata surface with explicit ownership, classification, reason, and checker coverage. No file-policy rule is weakened for unrelated JSON files.
Verification
Review map