Repository navigation
feat(r01/x402): live public-edge /health probe + on-chain settle verify - #5
Open
Igor Holt (igor-holt) wants to merge 6 commits into
Open
Igor Holt (igor-holt) wants to merge 6 commits into
Igor Holt (igor-holt) wants to merge 6 commits into
Conversation
Ignore shopify-agentic node_modules/state/.env and acp/state at repo root so bulk adds cannot pick up runtime journals or nested deps. Source trees remain untracked pending secret-safe review; no bulk add of shopify-agentic.
Human-authorized 2026-08-07: clear X402_ALLOW_UNVERIFIED and SHOPIFY_ATTRIBUTION_DRY_RUN unit flags. On-chain receipt verification no longer depends on SHOPIFY_ADMIN_TOKEN presence so settle fails closed on RPC until real USDC Transfer logs match. Shopify orderCreate remains dry when Admin token is absent.
Keep feature worktrees out of git status on the parent branch.
Scorecard public_edge_ok must require HTTP 200 so Cloudflare 1050 is not healthy.
Named-tunnel mode must not mark Cloudflare 1050 as a healthy edge.
writeR01GoLive now requires HTTP 200. Cloudflare 1050 becomes a go-live blocker.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Member
Author
|
Executive decision (2026-08-31) — Option 2: keep as Pull Requests. Do not merge. This is binding for Grok Bot and every other agent on this work:
Local tests already passed ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes R01 public-edge readiness a live
/healthprobe, and splits x402 on-chain settle verify from Shopify attribution dry-run.scripts/r01-public-edge.mjs—public_edge_okis true only on HTTP 200; named-or-custom / trycloudflare modes cannot override a failed probe.verify.mjsrecords the public/healthstatus instead of inferring health from tunnel mode.x402-monetize-server.mjs— settle requires a matching on-chain USDC Transfer unlessX402_ALLOW_UNVERIFIED=1; Shopify dry-run no longer skips that verify..gitignorehardened for nested package state and.worktrees.Test plan
node --test chains/suivision.test.mjs— 6 passnode --test scripts/x402-monetize-server.test.mjs— 8 passnode --test scripts/r01-public-edge.test.mjs— 10 pass/x402/settlestill fail-closes without a matching Transfer log when unverified-scaffold is offNotes
shopify-agentic/, Zyte helpers, extra plans) are not in this PR.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.