Skip to content

feat(cloud): live settlement evidence, sponsor qualification, and cloud deployment - #38

Merged
kapustazh merged 3 commits into
developfrom
feat/cloud-deployment
Sep 8, 2026
Merged

kapustazh merged 3 commits into
developfrom
feat/cloud-deployment

Conversation

@kapustazh

Copy link
Copy Markdown
Collaborator

Summary

This PR records the live settlement and policy denial evidence for Gate P4 and sponsor qualification, alongside the Google Cloud Run and Cloudflare Worker cloud deployment bundle.

1. Live Arc Testnet & Privy Drills (Gate P4 Verified)

  • Live Settlement Drill:
  • Live Policy Denial Drills (Privy):
    • Unauthorized recipient (0x1111...): Privy returned HTTP 400 policy_violation. Broadcasts: 0, settlements: 0.
    • Above-cap amount (2.00 USDC > 1.00 USDC limit): Privy returned HTTP 400 policy_violation. Broadcasts: 0, settlements: 0.
    • Nonce remained 0 during denials, proving zero unauthorized on-chain transactions.
  • Crash Recovery & Replay Protection Drill:
    • Simulated worker crash after broadcast (UNKNOWN state).
    • Authoritative read-only reconciliation transitioned intent from UNKNOWN to COMMITTED.
    • Replay request returned 200 REPLAYED with unchanged nonce (0 duplicates), preserving the 1 intent -> at most 1 settlement invariant.

2. Sponsor Qualification Status

  • Privy: QUALIFIED (live corporate wallet, normal-path enforcement, zero-settlement policy denials).
  • Arc: QUALIFIED (real Arc Testnet USDC transfer, exact Transfer log verified, durable settlement identity).
  • The Graph: NOT VERIFIED (fail-closed fallback under FALLBACK_DIRECT_RECOVERY due to unconfirmed decentralized indexer allocation).

3. Cloud Deployment Bundle

  • Dockerfile.api: Production container build for Fastify API service on Cloud Run.
  • apps/web/worker.ts: Cloudflare Worker reverse-proxying API (/v1/*, /health/*) to Cloud Run and serving static frontend assets.
  • wrangler.jsonc: Custom domain routing for oneshot.kapustazh.dev.

@kapustazh
kapustazh merged commit 7f4ad07 into develop Sep 8, 2026
4 checks passed
@SuPuHe
SuPuHe deleted the feat/cloud-deployment branch September 8, 2026 22:08
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