Skip to content

fix(ci): close P18 output-contracts lane gap and pin pack/lane alignment - #12399

Merged
EffortlessSteven merged 1 commit into
mainfrom
cursor/p18-output-contracts-lane-0c0c
Nov 2, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
cursor/p18-output-contracts-lane-0c0c

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Source-of-truth Links

Proposal: none, issue-driven P18 Correction #3
Spec: none, docs/PROOF_ROUTING.md slice 8 context only
ADR: none
Plan item: none
Governing issue or accepted claim: #1079
Acceptance delta (one sentence): Adds goldens check and fixtures to the output-contracts CI lane and extends check-proof-packs so every output-contracts pack required command appears on its declared lane.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): cursor/p18-output-contracts-lane-0c0c
Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): none
Accepted winner and losing candidate disposition (when decided): not decided

Summary

P18 (#1079) landed as a stricter required gate, not report/schema lane skipping (docs/PROOF_ROUTING.md slice 8, PR #1084 / 73b58f50). This PR closes the remaining Correction #3 gap: the output-contracts proof pack requires cargo xtask goldens check and cargo xtask fixtures, but policy/ci-lane-whitelist.toml did not list them on the output-contracts lane.

Changes

  • Add cargo xtask goldens check and cargo xtask fixtures to the output-contracts lane command list (manifest/ledger honesty for proof-route reporting).
  • Extend cargo xtask check-proof-packs so every output-contracts pack required_commands entry must appear on its declared ci_lane.
  • Regression test rejects a lane map that omits pack-required goldens.

Proof

  • cargo xtask check-proof-packs — pass
  • cargo test -p xtask check_proof_packs_rejects_output_contracts_lane_missing_pack_command — pass
  • cargo xtask precommit — pass on head 8695c223fc56

Claim boundary

Closes #1079 under the repository's reframed P18 acceptance (stricter routed proof + P17 docs-only path + release surfaces pinned). This does not implement the issue body's superseded skip-gate / active-gating routing state; those were explicitly rejected in #1084 and documented in docs/PROOF_ROUTING.md.

What this does not establish

  • No change to branch-protection skip behavior or proof_route advisory routing state.
  • No hosted merge-gate CI on this head until qualification runs.
Open in Web Open in Cursor 

Devin Review

Close Correction #3 from #1079: the output-contracts pack requires goldens
and fixtures proof, but the ci-lane whitelist omitted those commands.

Add check-proof-packs coverage so the pack's required_commands must appear
on its declared ci_lane, preventing the manifest/ledger drift from returning.

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 148 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: d83793bc-0495-4de0-9b7f-5e35df7da83b
Commits

Reviewing files that changed from the base of the PR and between 7fb2217 and 8695c22.

Files selected for processing: 3
  • policy/ci-lane-whitelist.toml
  • xtask/src/main.rs
  • xtask/src/tests.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@EffortlessSteven

Copy link
Copy Markdown
Member Author

merge-ready @ 8695c22

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Decision

  • Needs reviewer attention before upstream: findings remain.

Confirmed findings

  • The output-contracts lane now lists both pack-required commands (cargo xtask goldens check and cargo xtask fixtures), making the policy map consistent with the stated pack requirements.

Verification questions

  • Confirm the new check enforces that every output-contracts pack required command appears on its declared ci_lane, and the regression test rejects a lane omitting the goldens command.
  • Confirm the regression test proves the helper rejects a missing required command, but does not directly exercise TOML lane extraction.

Evidence gaps

  • Completed cargo-test evidence is unavailable in the supplied receipts, and ripr failed with exit code 2; this prevents treating the PR's broader proof claims as independently verified here.
  • Model proof intent was rejected by deterministic validation.
  • End-to-end proof that the current policy TOML is parsed and enforced as expected is absent from the available sensor receipts.
  • Completion evidence for the changed Rust test is not available: cargo-test is receipt-absent and ripr exited with code 2.
  • The PR body's proof claims are not independently supported by the supplied late-phase sensor receipts.

@EffortlessSteven

EffortlessSteven commented Nov 2, 2026 •

Copy link
Copy Markdown
Member Author

(superseded by the detailed claim-line repair comment below — ignore this stub.)

@cursor

cursor Bot commented Nov 2, 2026

Copy link
Copy Markdown

Process-only claim-line repair (blocked on GitHub write scope)

Prepared updated PR description (passes cargo xtask check-pr-shape locally). This integration can comment but cannot PATCH the PR body or edit labels (Resource not accessible by integration).

Insert immediately after <!-- CURSOR_AGENT_PR_BODY_BEGIN -->:

## Source-of-truth Links

Proposal: none, issue-driven P18 Correction #3
Spec: none, docs/PROOF_ROUTING.md slice 8 context only
ADR: none
Plan item: none
Governing issue or accepted claim: #1079
Acceptance delta (one sentence): Adds goldens check and fixtures to the output-contracts CI lane and extends check-proof-packs so every output-contracts pack required command appears on its declared lane.

## Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): cursor/p18-output-contracts-lane-0c0c
Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): none
Accepted winner and losing candidate disposition (when decided): not decided

Then remove and re-add merge-ready once to rerun Admit + Ripr Rust Small on head 8695c223fc5633ffae9b810e79c0bc7babb74a2e.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

merge-ready @ 8695c22

@EffortlessSteven
EffortlessSteven merged commit 7b387f3 into main Nov 2, 2026
86 of 89 checks passed
@EffortlessSteven
EffortlessSteven deleted the cursor/p18-output-contracts-lane-0c0c branch November 2, 2026 05:30
cursor Bot pushed a commit that referenced this pull request Nov 2, 2026
…12399)

Close Correction #3 from #1079: the output-contracts pack requires goldens
and fixtures proof, but the ci-lane whitelist omitted those commands.

Add check-proof-packs coverage so the pack's required_commands must appear
on its declared ci_lane, preventing the manifest/ledger drift from returning.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P18: route xtask/report/schema proof packs (separate, higher-risk slice)

2 participants