Skip to content

[codex] Fix workspace artifact builds for Ponder and Next.js#43

Merged
Noc2 merged 19 commits into
mainfrom
codex/fix-cluster-oracle-audit
Jun 10, 2026
Merged

[codex] Fix workspace artifact builds for Ponder and Next.js#43
Noc2 merged 19 commits into
mainfrom
codex/fix-cluster-oracle-audit

Conversation

@Noc2

@Noc2 Noc2 commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Builds missing @rateloop/contracts artifacts before Ponder starts so container boots can resolve @rateloop/contracts/abis.
  • Builds local publishable workspace packages before next build so Vercel can resolve @rateloop/contracts, @rateloop/sdk, and @rateloop/agents subpath exports.
  • Stabilizes Ponder config tests by stubbing the non-blocking RPC probe.
  • Trims unused RoundVotingEngine generic role mutators so the deploy-profile bytecode stays below EIP-170.
  • Refreshes generated contract artifacts, storage-layout snapshots, and Foundry formatting required by CI.

Why

Vercel/Railway-style installs can run service startup or Next.js builds without first producing the dist files that the publishable workspace package exports point to. That caused module resolution failures for @rateloop/contracts/*.

Spec freshness

[spec-ok] The RoundVotingEngine Solidity change removes generic DEFAULT_ADMIN_ROLE role mutation entrypoints only. It does not change voting, reveal, settlement, payout, or lifecycle behavior covered by the Certora specs.

Validation

  • yarn workspace @rateloop/ponder test scripts/start.test.ts
  • yarn ponder:check-types
  • yarn workspace @rateloop/contracts build
  • yarn workspace @rateloop/contracts test
  • yarn workspace @rateloop/foundry lint
  • make check-contract-sizes DEPLOY_PROFILE=deploy
  • make check-storage-layouts
  • forge test --match-path test/RoundVotingEngineBranches.t.sol
  • RATELOOP_E2E_PRODUCTION_BUILD=true NEXT_PUBLIC_RATELOOP_E2E_PRODUCTION_BUILD=true yarn workspace @rateloop/nextjs build

Merge status

Non-destructive git merge-tree origin/main codex/fix-cluster-oracle-audit reported no conflicts before the branch was updated against origin/main.

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rate-loop-nextjs Ready Ready Preview, Comment Jun 10, 2026 6:26pm

Request Review

@Noc2
Noc2 marked this pull request as ready for review June 10, 2026 14:05
@Noc2
Noc2 merged commit 6bf5b90 into main Jun 10, 2026
41 of 48 checks passed
Noc2 added a commit that referenced this pull request Jun 10, 2026
Third review pass at 6bf5b90 (post PR #43). Documents 18 new
non-tokenomics findings not in design-review-2026-06.md, each with a
proposed fix: a stuck fee-withdrawal UI button, an indexer pending-fee
derivation that overstates during the withdrawal window, the EIP-2935
seed-expiry window (~8191 blocks, not 256), a hardcoded USDC EIP-712
domain with no upgrade guard, the preview World ID v4 verifier ABI
dependency, webhook/x402 agent-surface gaps, and assorted keeper/ops/CI
cleanups. Confirms PR #43 resolved release blockers R1a/R1b and the
contract-size gate; R1c remains open.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Noc2
Noc2 deleted the codex/fix-cluster-oracle-audit branch June 17, 2026 05:41
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.

1 participant