Skip to content

fix(polymarket): require Gate terminal receipt for cutover - #485

Merged
proerror77 merged 2 commits into
mainfrom
codex/polymarket-cutover-terminal-receipt-484
Jul 29, 2026
Merged

proerror77 merged 2 commits into
mainfrom
codex/polymarket-cutover-terminal-receipt-484

Conversation

@proerror77

Copy link
Copy Markdown
Owner

Change contract

Make raw-ops cutover consume and validate the exact immutable Gate terminal receipt before any production mutation, so a standalone gate.json cannot bypass terminal-success or shadow-containment checks.

Out of scope

Dependency or merge order

Focused validation

  • bash -n deployment/aliyun/polymarket-raw-ops-cutover.sh deployment/aliyun/test-polymarket-raw-ops-control-plane.sh
  • shellcheck deployment/aliyun/polymarket-raw-ops-cutover.sh deployment/aliyun/test-polymarket-raw-ops-control-plane.sh
  • ./deployment/aliyun/test-polymarket-raw-ops-control-plane.sh

Rollout/rollback impact

  • Rollout: control-plane only; cutover now requires a root-owned immutable terminal receipt bound to the exact Gate evidence
  • Rollback: revert this PR to restore prior cutover admission behavior

Closes #484

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@proerror77, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 34 minutes

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).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 18a5f6a5-4e58-4f91-afee-ff4f0814ebc5

📥 Commits

Reviewing files that changed from the base of the PR and between 9a58ff1 and 13fb5ae.

📒 Files selected for processing (3)
  • deployment/aliyun/README.md
  • deployment/aliyun/polymarket-raw-ops-cutover.sh
  • deployment/aliyun/test-polymarket-raw-ops-control-plane.sh

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@proerror77
proerror77 merged commit e141072 into main Jul 29, 2026
38 checks passed
@proerror77
proerror77 deleted the codex/polymarket-cutover-terminal-receipt-484 branch July 29, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Polymarket cutover: require the supervised Gate terminal receipt

1 participant