The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Plushwipes Agent Revenue listing page.
Approved active production release of the machine-readable Agent Revenue program for earn.plushwipes.com.
The repository contains the public opportunity surface, agent registration, referral attribution, performance reporting, commission state transitions, a public leaderboard, sanitized Shopify webhook processing and local synthetic acceptance tests. It does not contain production credentials or customer/order data.
>=22.13.0DB bindingInstall the locked dependency tree:
Create and migrate a local D1 database:
Start with synthetic-only secrets:
Run build, unit, static and rendered-content tests:
With the local server running, run the synthetic workflow:
/skill.md/opportunity.json/products.json/claims.json/assets.json/reviews.json/service.json/policy.json/terms.mdGET /api/evaluate (read-only; no registration, terms acceptance or credential creation)POST /api/registerGET /s/{source_token}/skill.mdPOST /api/terms/acceptGET /r/{referral_code}GET /api/performance/{agent_id}GET /api/leaderboardOperator endpoints require Authorization: Bearer <ADMIN_API_KEY>:
POST /api/admin/commissions/{order_id}GET /api/admin/daily-reportGET /api/admin/database-statusGET /api/admin/diagnostics/webhook-failuresGET /api/admin/distribution-reportShopify webhook endpoints require a valid raw-body HMAC:
POST /api/webhooks/shopify/orders-paidPOST /api/webhooks/shopify/refunds-createPOST /api/webhooks/shopify/orders-cancelledThe integration contract and prelaunch Shopify instructions are in integration/shopify/. No Shopify write is performed by local setup or tests.
The committed public dataset is the approved "program_status": "active" production release. Rollback is the saved Sites version 1 with the PROGRAM_STATUS=prelaunch environment gate.