Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat: add autonomous pipelines for avatar thumbnail regeneration, model metadata enrichment, rig complexity scoring, GLB size optimization, VRM compatibility checking, avatar pricing engine, sniper data enrichment, and token intel pre-snipe gate

nirholas67bdf0c61e74
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2b93bb919..32cdeeeec 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Alibaba Cloud partnership — Qwen models and alibaba-cloud-mcp** — three.ws joins the Alibaba Cloud Partner Network. Qwen-Max, Qwen-Plus, Qwen-Turbo, and Qwen-Long are now available as agent brain options via DashScope. Ships with @three-ws/alibaba-cloud-mcp — a new MCP server for chat, embeddings, and model discovery using your own Alibaba Cloud API key. Set DASHSCOPE_API_KEY in Vercel to activate. (`/blog/three-ws-alibaba-cloud-partnership`) `[feature]`
- **Autonomous coin launcher — creator fees, revenue tracking, and admin console upgrades** — The memetic launcher now auto-claims pump.fun creator fees from every coin it mints, routing the configured share toward $THREE. The admin console at /admin/launcher gains a live revenue panel (total creator fees claimed, $THREE allocated), agent-name visibility in the run feed, a Force Tick button for instant testing, and a cleaner 8-column stat grid. Know Your Meme is wired as a live trend source alongside Hacker News, Reddit, and Wikipedia — so the launcher reads what the internet is actually minting. (`/admin/launcher`) `[feature, improvement]`
- **Capabilities dashboard — live command center for all 4 autonomous features** — New /dashboard/capabilities page surfaces live status for Alpha Hunt, Coin Launcher, Auto-Claim, and Market Maker in one view. KPI strips show daily budget, total volume, claimable fees, and net P&L per capability. Tabbed tables show launched coins, schedule status, per-market inventory bars, and recent MM trades. Alpha Hunt trigger is now also configurable directly from the Sniper Strategies dashboard — full field set including min smart-money count, quality score, organic score, max market cap, and narrative keywords. (`/dashboard/capabilities`) `[feature, improvement]`
+- **CAPTCHA relief for rate-limited sign-ins** — Users who hit the sign-in rate limit (e.g. shared office/home network) now see a lightweight proof-of-work puzzle instead of a hard countdown. Solve it in a second or two and you can keep signing in immediately — no waiting, no support ticket. Built on Altcha (open source, MIT-licensed, no tracking or third-party service). (`/login`) `[improvement, security]`
- **Design your own Memetic Launcher** — Every account now has a personal Memetic Launcher at /launcher — your own autonomous coin-launch strategy designer. Pick a mode (ride live cultural trends, coin original memes, or pure random volume), choose which sources it mines (Coin Intel, Trending, Know Your Meme, X, Reddit, Hacker News, Wikipedia and more), set a cadence, and turn it on. It then rotates through your own agents and, every tick, picks exactly the coin it would mint — riding the strongest live narrative — and records it. A live narratives panel shows the cultural currents ranked in real time, and a one-tap Synthesize button coins a sample on demand. It runs in preview: it designs and shows your rotation without minting or moving any SOL, so you can perfect a strategy risk-free. Find it under Launch in the main menu. (`/launcher`) `[feature]`
- **Fixed /play getting stuck on "too many requests"** — Opening /play could dead-end on a "Something went wrong — too many requests" screen, especially from a shared network or after a couple of reloads. The wallet sign-in step was sharing the same strict rate limit as login and trading, so a small burst of page loads exhausted it. Sign-in now has its own generous limit sized for a busy world, and if that check ever can't be reached, /play opens anyway instead of blocking — the game server still verifies token-gated worlds on entry. (`/play`) `[fix]`
- **Hardened how the platform reads its rate-limit store credentials** — Fixed a configuration failure mode where the rate-limiter and cache store's address and access token could be drawn from two different sources and silently mismatch, which made every limiter and cache fall back to a weaker local mode and caused intermittent 'too many requests' errors and failed paid calls. The credentials are now always read together as one pair (and trimmed of stray whitespace), so a mismatch can't happen — keeping rate limits, paid endpoints, and caching reliable. (`/status`) `[fix, infra]`
@@ -35,6 +36,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Money Pulse redesign — monochrome, with far more live data** — The live activity page at /pulse got a full pass. It's now proper monochrome to match the rest of the site — the violet accent and green/amber feed colors give way to a single clean ink ramp. And it carries a lot more real signal: 24h on-chain volume (SOL + USD), distinct active wallets, and split counters for trades, snipes, and agent-to-agent payments, plus a 7-day activity sparkline, the day's single biggest tip, and a fresh-launches feed alongside the existing top-earners and busiest-wallets boards. Every number is a real on-chain or launch record — never synthetic. (`/pulse`) `[improvement, feature]`
- **On-chain Deployments — live cross-chain agent registry feed, now with animated entries and richer rows** — The /deployments feed now animates newly-registered agents in as they appear rather than flashing the whole list. Each row shows the agent's description so you immediately know what it does. The live-dot kicker now shows today's registration count at a glance. Older registrations load automatically as you scroll (IntersectionObserver), so there's no hunting for the 'Load older' button. Absolute timestamps appear on hover for every registration. (`/deployments`) `[improvement]`
- **Partner ecosystem page** — New /partners page showing all active technology partnerships — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, and Oracle — with what each powers on the platform, tier badges, and links to partner-specific pages and MCP servers. (`/partners`) `[feature]`
+- **Production stability fixes — genome lineage, screen streaming, and x402 seeder** — Several reliability issues addressed: the agent genome breeding lineage page (/genome/lineage) was returning errors for all visitors due to a missing database table — now resolved. The live agent screen-streaming panel now correctly finds agents and loads their names. The x402 dance-tip seeder cron no longer floods the platform with thousands of failed payment attempts when Redis is temporarily unavailable — it detects the outage and skips the tick gracefully. Forge error logs now include the full vendor message from Replicate for faster ops triage. `[fix, infra]`
- **Production stability fixes — payment sessions, Redis error handling, infra resilience** — Fixed a SQL syntax error that blocked payment session expiry and refunds (PostgreSQL does not allow LIMIT directly in UPDATE — now uses a CTE with FOR UPDATE SKIP LOCKED). Fixed esbuild class-name minification breaking NeonDB error detection in production — infrastructure errors (wrong DB credentials, Redis auth) now correctly return 503 and suppress alert storms instead of crashing every endpoint with 500. Added graceful Redis-unavailable handling to the usage flush buffer and the bounty board API. Fixed Express-style response methods in pulse-tick cron. `[fix, infra]`
- **Restored token-launch, agent payments, and on-chain endpoints** — Fixed a class of missing API route mappings that left several backend endpoints unreachable in production: token launch (quote, prep, confirm), agent-to-agent payments, on-chain transaction prep/confirm, Solana and EVM checkout, and live-walk session control. The handlers were deployed but never wired to their public paths; they now respond correctly. Part of a wider audit that also restored wallet sign-in. `[fix]`
- **Sign-in cooldown is now exact — and there's more headroom before it trips** — If you ever hit "too many attempts" while signing in, the form now shows the real countdown the server hands back — a live timer on the button that ticks down and re-arms the form the instant you can try again, instead of a vague "try later". We also raised the per-network attempt allowance, so people signing in from shared office or campus connections are far less likely to be told to wait at all. Wrong-password and network-drop messages are now clearer and distinct, too. (`/login`) `[improvement]`
diff --git a/agents/x402-buildout/self/001-mcp-model-validation-sweep.md b/agents/x402-buildout/self/001-mcp-model-validation-sweep.md
new file mode 100644
index 000000000..795ad1020
--- /dev/null
+++ b/agents/x402-buildout/self/001-mcp-model-validation-sweep.md
@@ -0,0 +1,53 @@
+# MCP Model Validation Sweep
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **MCP Model Validation Sweep** autonomous pipeline that calls `/api/mcp (tool: inspect_model)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (tool: inspect_model)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** MCP Health
+
+## What to Build
+
+Scheduled sweep that calls inspect_model for every public GLB in the database. Identifies geometry errors, missing bones, and unsupported features before users encounter them. Builds a quality score time-series per model.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/002-avatar-optimization-pipeline.md b/agents/x402-buildout/self/002-avatar-optimization-pipeline.md
new file mode 100644
index 000000000..a31a3f0e1
--- /dev/null
+++ b/agents/x402-buildout/self/002-avatar-optimization-pipeline.md
@@ -0,0 +1,53 @@
+# Avatar Optimization Pipeline
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Avatar Optimization Pipeline** autonomous pipeline that calls `/api/mcp (tool: optimize_model)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (tool: optimize_model)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** MCP Health
+
+## What to Build
+
+Nightly job that calls optimize_model on the top 50 most-viewed avatars, compressing geometry and textures. Results stored; users automatically served optimized GLBs. Measures savings in bytes and load time improvement.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/003-avatar-search-index-warmup.md b/agents/x402-buildout/self/003-avatar-search-index-warmup.md
new file mode 100644
index 000000000..b885922ac
--- /dev/null
+++ b/agents/x402-buildout/self/003-avatar-search-index-warmup.md
@@ -0,0 +1,53 @@
+# Avatar Search Index Warmup
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Avatar Search Index Warmup** autonomous pipeline that calls `/api/mcp (tool: search_public_avatars)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (tool: search_public_avatars)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** MCP Health
+
+## What to Build
+
+Fires 20 common search queries (human, robot, anime, warrior, etc.) against search_public_avatars on cold start. Pre-warms any caches and validates the full search pipeline returns ranked results with thumbnails.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/004-solana-agent-registration-ping.md b/agents/x402-buildout/self/004-solana-agent-registration-ping.md
new file mode 100644
index 000000000..49001c670
--- /dev/null
+++ b/agents/x402-buildout/self/004-solana-agent-registration-ping.md
@@ -0,0 +1,53 @@
+# Solana Agent Registration Health Check
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Solana Agent Registration Health Check** autonomous pipeline that calls `/api/mcp (tool: solana_register)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (tool: solana_register)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** MCP Health
+
+## What to Build
+
+Registers a canary agent identity on Solana to verify the solana_register tool is functioning end-to-end. Checks the resulting on-chain record exists. Alerts on failure. Canary registration is a known test agent key.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/005-reputation-score-refresh.md b/agents/x402-buildout/self/005-reputation-score-refresh.md
new file mode 100644
index 000000000..a0141b593
--- /dev/null
+++ b/agents/x402-buildout/self/005-reputation-score-refresh.md
@@ -0,0 +1,53 @@
+# Agent Reputation Score Refresh
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Agent Reputation Score Refresh** autonomous pipeline that calls `/api/mcp (tool: solana_reputation)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (tool: solana_reputation)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** MCP Health
+
+## What to Build
+
+Polls solana_reputation for every registered agent address in the DB. Updates reputation_score column. Agents whose score drops below threshold get flagged. Powers the leaderboard and trust badges on agent profiles.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/006-mcp-latency-monitor.md b/agents/x402-buildout/self/006-mcp-latency-monitor.md
new file mode 100644
index 000000000..582d7c40a
--- /dev/null
+++ b/agents/x402-buildout/self/006-mcp-latency-monitor.md
@@ -0,0 +1,53 @@
+# MCP Tool Latency Monitor
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **MCP Tool Latency Monitor** autonomous pipeline that calls `/api/mcp (all tools)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (all tools)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** Observability
+
+## What to Build
+
+Calls each MCP tool with a minimal valid input every 5 minutes. Records p50/p95/p99 latencies to x402_perf_log. Dashboard shows SLA health. Alerts if any tool exceeds 2s p95.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/007-granite-inference-health.md b/agents/x402-buildout/self/007-granite-inference-health.md
new file mode 100644
index 000000000..a798b7454
--- /dev/null
+++ b/agents/x402-buildout/self/007-granite-inference-health.md
@@ -0,0 +1,53 @@
+# IBM Granite Inference Health Check
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **IBM Granite Inference Health Check** autonomous pipeline that calls `/api/ibm-mcp (all 5 Granite tools)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/ibm-mcp (all 5 Granite tools)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** MCP Health
+
+## What to Build
+
+Calls each IBM Granite tool with a canary prompt (e.g., "health check" classification query). Verifies the watsonx backend is responding and responses match expected schema. Tracks token throughput.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/008-bazaar-search-warmup.md b/agents/x402-buildout/self/008-bazaar-search-warmup.md
new file mode 100644
index 000000000..f11964060
--- /dev/null
+++ b/agents/x402-buildout/self/008-bazaar-search-warmup.md
@@ -0,0 +1,53 @@
+# Bazaar Discovery Warmup
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Bazaar Discovery Warmup** autonomous pipeline that calls `/api/mcp-bazaar (bazaar_search_services)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp-bazaar (bazaar_search_services)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** Discovery
+
+## What to Build
+
+Runs 15 category searches on bazaar_search_services (trading, llm, analytics, etc.) on startup. Validates results contain live endpoints with pricing. Records catalog snapshot for drift detection.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/009-cross-network-payment-probe.md b/agents/x402-buildout/self/009-cross-network-payment-probe.md
new file mode 100644
index 000000000..8411cd720
--- /dev/null
+++ b/agents/x402-buildout/self/009-cross-network-payment-probe.md
@@ -0,0 +1,53 @@
+# Cross-Network Payment Circuit Breaker
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Cross-Network Payment Circuit Breaker** autonomous pipeline that calls `/api/x402-pay (Solana + Base + BSC)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402-pay (Solana + Base + BSC)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** Infrastructure
+
+## What to Build
+
+Makes a real $0.001 test payment on each supported network (Solana, Base, BSC) every hour. Confirms facilitator routes work, settlement completes, and receipt is valid. The cheapest possible end-to-end proof that the entire payment stack is alive.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/010-streaming-mcp-health.md b/agents/x402-buildout/self/010-streaming-mcp-health.md
new file mode 100644
index 000000000..4e90a6c03
--- /dev/null
+++ b/agents/x402-buildout/self/010-streaming-mcp-health.md
@@ -0,0 +1,53 @@
+# SSE Streaming MCP Health
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **SSE Streaming MCP Health** autonomous pipeline that calls `/api/mcp (SSE mode)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (SSE mode)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** Infrastructure
+
+## What to Build
+
+Opens an SSE stream to /api/mcp, pays for a tool call, and verifies the streaming response arrives token-by-token before close. Detects dropped connections, stalled streams, or broken chunked encoding.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/011-glb-canonicalization-pipeline.md b/agents/x402-buildout/self/011-glb-canonicalization-pipeline.md
new file mode 100644
index 000000000..376c433f0
--- /dev/null
+++ b/agents/x402-buildout/self/011-glb-canonicalization-pipeline.md
@@ -0,0 +1,53 @@
+# GLB Canonicalization Pipeline
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **GLB Canonicalization Pipeline** autonomous pipeline that calls `/api/x402/model-check` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/model-check`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** 3D Pipeline
+
+## What to Build
+
+Runs every newly uploaded GLB through model-check to validate bone names, rig type detection, and animation compatibility. Stores canonicalization result. Prevents T-pose fallback regressions from new rig types.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/012-animation-retargeting-test.md b/agents/x402-buildout/self/012-animation-retargeting-test.md
new file mode 100644
index 000000000..6978a74f6
--- /dev/null
+++ b/agents/x402-buildout/self/012-animation-retargeting-test.md
@@ -0,0 +1,53 @@
+# Animation Retargeting QA
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Animation Retargeting QA** autonomous pipeline that calls `/api/x402/animation-download` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/animation-download`
+- **Price:** `$0.005 USDC/call` per call
+- **Category:** 3D Pipeline
+
+## What to Build
+
+Downloads retargeted idle/walk clips for a representative set of rig types (Mixamo, VRM, Avaturn, Daz). Validates that all 6 canonical clips are present and non-zero bytes. Catches glb-canonicalize.js regressions.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/013-scene-capture-processing.md b/agents/x402-buildout/self/013-scene-capture-processing.md
new file mode 100644
index 000000000..c1bebcb46
--- /dev/null
+++ b/agents/x402-buildout/self/013-scene-capture-processing.md
@@ -0,0 +1,53 @@
+# Scene Capture Video Queue Processor
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Scene Capture Video Queue Processor** autonomous pipeline that calls `/api/x402/asset-download (video2scene)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/asset-download (video2scene)`
+- **Price:** `$0.01 USDC/call` per call
+- **Category:** 3D Pipeline
+
+## What to Build
+
+Monitors the pending scene capture queue and submits queued videos to the GPU worker. Polls for completion, stores .ply result. Auto-processes user-uploaded videos without manual intervention.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/014-forge-content-generation.md b/agents/x402-buildout/self/014-forge-content-generation.md
new file mode 100644
index 000000000..4ed50dffc
--- /dev/null
+++ b/agents/x402-buildout/self/014-forge-content-generation.md
@@ -0,0 +1,53 @@
+# 3D Forge Content Generation
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **3D Forge Content Generation** autonomous pipeline that calls `/api/x402/forge.js` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/forge.js`
+- **Price:** `$0.05 USDC/call` per call
+- **Category:** 3D Pipeline
+
+## What to Build
+
+Generates procedural 3D props (crates, barrels, furniture, terrain tiles) on a schedule. Populates the public asset library. Measures diversity of generated content using embedding clustering.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/015-avatar-thumbnail-regen.md b/agents/x402-buildout/self/015-avatar-thumbnail-regen.md
new file mode 100644
index 000000000..236fde51f
--- /dev/null
+++ b/agents/x402-buildout/self/015-avatar-thumbnail-regen.md
@@ -0,0 +1,53 @@
+# Avatar Thumbnail Regeneration
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Avatar Thumbnail Regeneration** autonomous pipeline that calls `/api/x402/asset-download` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/asset-download`
+- **Price:** `$0.005 USDC/call` per call
+- **Category:** 3D Pipeline
+
+## What to Build
+
+Re-renders thumbnail images for avatars whose thumbnails are older than 30 days or whose model was updated. Ensures marketplace listings always show current appearance.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/016-model-metadata-enrichment.md b/agents/x402-buildout/self/016-model-metadata-enrichment.md
new file mode 100644
index 000000000..720486ddd
--- /dev/null
+++ b/agents/x402-buildout/self/016-model-metadata-enrichment.md
@@ -0,0 +1,53 @@
+# Model Metadata Enrichment
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Model Metadata Enrichment** autonomous pipeline that calls `/api/mcp (inspect_model)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (inspect_model)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** 3D Pipeline
+
+## What to Build
+
+Passes every model without tags through inspect_model to extract category, style, and feature tags automatically. Enriches searchability and powers the recommendation engine.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/017-rig-complexity-scoring.md b/agents/x402-buildout/self/017-rig-complexity-scoring.md
new file mode 100644
index 000000000..2522fa0ad
--- /dev/null
+++ b/agents/x402-buildout/self/017-rig-complexity-scoring.md
@@ -0,0 +1,53 @@
+# Rig Complexity Scorer
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Rig Complexity Scorer** autonomous pipeline that calls `/api/mcp (inspect_model)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (inspect_model)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** 3D Pipeline
+
+## What to Build
+
+Computes a complexity score (bone count, vertex count, texture size) for every avatar using inspect_model data. Used to tier pricing in the marketplace and warn users about performance-heavy models.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/018-glb-compression-optimizer.md b/agents/x402-buildout/self/018-glb-compression-optimizer.md
new file mode 100644
index 000000000..0c8866a2f
--- /dev/null
+++ b/agents/x402-buildout/self/018-glb-compression-optimizer.md
@@ -0,0 +1,53 @@
+# GLB Size Optimizer
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **GLB Size Optimizer** autonomous pipeline that calls `/api/mcp (optimize_model)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (optimize_model)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** 3D Pipeline
+
+## What to Build
+
+Identifies GLBs > 5MB and calls optimize_model to apply Draco compression and texture downscaling. Stores original and optimized versions. Measures average load time improvement across the catalog.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/019-vrm-compatibility-checker.md b/agents/x402-buildout/self/019-vrm-compatibility-checker.md
new file mode 100644
index 000000000..0e5639bb9
--- /dev/null
+++ b/agents/x402-buildout/self/019-vrm-compatibility-checker.md
@@ -0,0 +1,53 @@
+# VRM 1.0 Compatibility Checker
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **VRM 1.0 Compatibility Checker** autonomous pipeline that calls `/api/mcp (inspect_model)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp (inspect_model)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** 3D Pipeline
+
+## What to Build
+
+Validates VRM 0.x avatars can be upgraded to VRM 1.0 spec. Flags incompatible spring bones or expression mappings. Generates a migration report stored per avatar_id.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/020-avatar-pricing-engine.md b/agents/x402-buildout/self/020-avatar-pricing-engine.md
new file mode 100644
index 000000000..c9455febe
--- /dev/null
+++ b/agents/x402-buildout/self/020-avatar-pricing-engine.md
@@ -0,0 +1,53 @@
+# Avatar Marketplace Dynamic Pricing
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Avatar Marketplace Dynamic Pricing** autonomous pipeline that calls `/api/x402/cosmetic-purchase` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/cosmetic-purchase`
+- **Price:** `$0.01 USDC/call` per call
+- **Category:** Commerce
+
+## What to Build
+
+Runs a pricing probe across cosmetic items to validate price calculations are consistent. Detects drift between DB prices and what the x402 endpoint quotes. Ensures no underpricing bugs ship.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/021-sniper-data-enrichment.md b/agents/x402-buildout/self/021-sniper-data-enrichment.md
new file mode 100644
index 000000000..e723c22af
--- /dev/null
+++ b/agents/x402-buildout/self/021-sniper-data-enrichment.md
@@ -0,0 +1,53 @@
+# Sniper Agent Data Enrichment via crypto-intel
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Sniper Agent Data Enrichment via crypto-intel** autonomous pipeline that calls `/api/x402/crypto-intel` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/crypto-intel`
+- **Price:** `$0.01 USDC/call` per call
+- **Category:** Trading
+
+## What to Build
+
+Enriches agent-sniper oracle_conviction scores by calling crypto-intel for every coin the sniper is actively watching. Feeds headline sentiment + signal + confidence into the oracle gate. The most critical self-loop: our trading engine pays our intelligence API to make better decisions.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/022-three-intel-signal-feed.md b/agents/x402-buildout/self/022-three-intel-signal-feed.md
new file mode 100644
index 000000000..4e9f396ea
--- /dev/null
+++ b/agents/x402-buildout/self/022-three-intel-signal-feed.md
@@ -0,0 +1,53 @@
+# $THREE Signal Feed
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **$THREE Signal Feed** autonomous pipeline that calls `/api/x402/three-intel` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/three-intel`
+- **Price:** `$0.01 USDC/call` per call
+- **Category:** Trading
+
+## What to Build
+
+Calls three-intel every 15 minutes to get the latest $THREE market signal. Stores in a time-series table. Powers the $THREE price widget and informs $THREE-denominated x402 pricing adjustments.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/023-token-intel-sniper-gate.md b/agents/x402-buildout/self/023-token-intel-sniper-gate.md
new file mode 100644
index 000000000..e0f2e521f
--- /dev/null
+++ b/agents/x402-buildout/self/023-token-intel-sniper-gate.md
@@ -0,0 +1,53 @@
+# Token Intel Pre-Snipe Gate
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Token Intel Pre-Snipe Gate** autonomous pipeline that calls `/api/x402/token-intel` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/token-intel`
+- **Price:** `$0.01 USDC/call` per call
+- **Category:** Trading
+
+## What to Build
+
+Before the sniper claims a new mint, calls token-intel to get on-chain stats (holder count, top 10 concentration, dev wallet %). Adds a rugpull-risk sub-score to the oracle conviction. High-risk mints are auto-rejected.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/024-wallet-balance-monitor.md b/agents/x402-buildout/self/024-wallet-balance-monitor.md
new file mode 100644
index 000000000..5e739f893
--- /dev/null
+++ b/agents/x402-buildout/self/024-wallet-balance-monitor.md
@@ -0,0 +1,53 @@
+# Agent Wallet Balance Monitor
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Agent Wallet Balance Monitor** autonomous pipeline that calls `/api/x402-pay?balance=1` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402-pay?balance=1`
+- **Price:** `free (GET)` per call
+- **Category:** Trading
+
+## What to Build
+
+Polls the seed wallet balance every 10 minutes. Alerts when USDC drops below $5. Records balance time-series so operators can see spend rate and top up before autonomous calls fail.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/025-payment-feed-seeder.md b/agents/x402-buildout/self/025-payment-feed-seeder.md
new file mode 100644
index 000000000..bdc89f908
--- /dev/null
+++ b/agents/x402-buildout/self/025-payment-feed-seeder.md
@@ -0,0 +1,53 @@
+# Live Payment Feed Seeder
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Live Payment Feed Seeder** autonomous pipeline that calls `/api/x402-pay (demo flow)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402-pay (demo flow)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** Trading
+
+## What to Build
+
+Makes structured demo payments on a rotation to keep the live payment feed on the homepage populated with recent activity. Variety of topics, amounts, networks. Proves live system health to visitors.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/026-volume-bootstrap-loop.md b/agents/x402-buildout/self/026-volume-bootstrap-loop.md
new file mode 100644
index 000000000..f7ff2414b
--- /dev/null
+++ b/agents/x402-buildout/self/026-volume-bootstrap-loop.md
@@ -0,0 +1,53 @@
+# x402 Volume Bootstrap Loop
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **x402 Volume Bootstrap Loop** autonomous pipeline that calls `All self endpoints (round-robin)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `All self endpoints (round-robin)`
+- **Price:** `$0.001-$0.01 USDC/call` per call
+- **Category:** Growth
+
+## What to Build
+
+The core autonomous spend loop. Round-robins through all self x402 endpoints on a capped daily budget. Every call is a real on-chain payment, recorded to x402_autonomous_log. Builds volume metrics, proves all endpoints work, and bootstraps our agentic.market ranking.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/027-revenue-reconciliation.md b/agents/x402-buildout/self/027-revenue-reconciliation.md
new file mode 100644
index 000000000..182dfe900
--- /dev/null
+++ b/agents/x402-buildout/self/027-revenue-reconciliation.md
@@ -0,0 +1,53 @@
+# Payment Revenue Reconciliation
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Payment Revenue Reconciliation** autonomous pipeline that calls `/api/x402-status` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402-status`
+- **Price:** `free` per call
+- **Category:** Finance
+
+## What to Build
+
+Cross-checks DB payment records against on-chain settlement events. Flags any discrepancies where DB says settled but no tx exists on-chain (or vice versa). Runs daily. Critical for financial integrity.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/028-fee-calculation-validator.md b/agents/x402-buildout/self/028-fee-calculation-validator.md
new file mode 100644
index 000000000..e61651b22
--- /dev/null
+++ b/agents/x402-buildout/self/028-fee-calculation-validator.md
@@ -0,0 +1,53 @@
+# Fee Calculation Validator
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Fee Calculation Validator** autonomous pipeline that calls `/api/x402/* (various amounts)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/* (various amounts)`
+- **Price:** `varies` per call
+- **Category:** Finance
+
+## What to Build
+
+Makes calls at boundary amounts (1, 999, 1000, 1001, 999999 atomics) to verify fee math is correct across all pricing tiers. Detects off-by-one errors in atomic→decimal conversions.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/029-payment-proof-audit.md b/agents/x402-buildout/self/029-payment-proof-audit.md
new file mode 100644
index 000000000..0a0bf4796
--- /dev/null
+++ b/agents/x402-buildout/self/029-payment-proof-audit.md
@@ -0,0 +1,53 @@
+# Payment Proof Idempotency Audit
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Payment Proof Idempotency Audit** autonomous pipeline that calls `/api/x402-pay (same proof twice)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402-pay (same proof twice)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** Security
+
+## What to Build
+
+Submits the same payment proof twice in rapid succession to verify the idempotency store correctly rejects the second. Confirms no double-settlement. Runs daily. Critical anti-fraud check.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/030-builder-code-attribution.md b/agents/x402-buildout/self/030-builder-code-attribution.md
new file mode 100644
index 000000000..53e63775b
--- /dev/null
+++ b/agents/x402-buildout/self/030-builder-code-attribution.md
@@ -0,0 +1,53 @@
+# Builder Code Attribution Tracker
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Builder Code Attribution Tracker** autonomous pipeline that calls `/api/x402/* (check X-PAYMENT-RESPONSE)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/* (check X-PAYMENT-RESPONSE)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** Finance
+
+## What to Build
+
+Makes a payment and verifies the X-PAYMENT-RESPONSE header includes our builder code (three_d_agent). Ensures Coinbase builder rewards are credited. Alerts if attribution is missing from any endpoint.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/031-charity-split-verifier.md b/agents/x402-buildout/self/031-charity-split-verifier.md
new file mode 100644
index 000000000..648eebcaa
--- /dev/null
+++ b/agents/x402-buildout/self/031-charity-split-verifier.md
@@ -0,0 +1,53 @@
+# Charity Split Audit
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Charity Split Audit** autonomous pipeline that calls `/api/x402-merchant (charity split flow)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402-merchant (charity split flow)`
+- **Price:** `$0.01 USDC/call` per call
+- **Category:** Finance
+
+## What to Build
+
+Makes payments to a merchant with charity_split configured. Verifies the split amount is correctly routed to the charity address on-chain. Runs weekly. Ensures donation promises are kept.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/032-subscription-status-checker.md b/agents/x402-buildout/self/032-subscription-status-checker.md
new file mode 100644
index 000000000..e0ac46b3c
--- /dev/null
+++ b/agents/x402-buildout/self/032-subscription-status-checker.md
@@ -0,0 +1,53 @@
+# Subscription Status Health Check
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Subscription Status Health Check** autonomous pipeline that calls `/api/x402/admin/subscriptions` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/admin/subscriptions`
+- **Price:** `free (internal)` per call
+- **Category:** Commerce
+
+## What to Build
+
+Enumerates all active x402 subscriptions and verifies they are still valid (not expired, key not rotated). Emails subscribers 7 days before expiry. Prevents surprise service interruptions.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/033-api-key-rotation-test.md b/agents/x402-buildout/self/033-api-key-rotation-test.md
new file mode 100644
index 000000000..04507fa70
--- /dev/null
+++ b/agents/x402-buildout/self/033-api-key-rotation-test.md
@@ -0,0 +1,53 @@
+# API Key Bypass Security Test
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **API Key Bypass Security Test** autonomous pipeline that calls `/api/x402/* with X-API-Key header` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402/* with X-API-Key header`
+- **Price:** `free (bypass)` per call
+- **Category:** Security
+
+## What to Build
+
+Tests the API key bypass lane with valid and invalid keys. Confirms valid key grants access without payment. Confirms invalid key requires payment. Detects any bypass vulnerabilities introduced by refactors.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/034-spend-reservation-audit.md b/agents/x402-buildout/self/034-spend-reservation-audit.md
new file mode 100644
index 000000000..42b299662
--- /dev/null
+++ b/agents/x402-buildout/self/034-spend-reservation-audit.md
@@ -0,0 +1,53 @@
+# Spend Reservation Leak Detector
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Spend Reservation Leak Detector** autonomous pipeline that calls `/api/_lib/agent-trade-guards (DB query)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/_lib/agent-trade-guards (DB query)`
+- **Price:** `free (DB)` per call
+- **Category:** Finance
+
+## What to Build
+
+Queries x402_spend_reservations for entries older than 1 hour that were never finalized. These represent leaked reservations where releaseSpendReservation was never called. Cleans them up and alerts.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/035-cross-chain-cost-analysis.md b/agents/x402-buildout/self/035-cross-chain-cost-analysis.md
new file mode 100644
index 000000000..3f9410e9e
--- /dev/null
+++ b/agents/x402-buildout/self/035-cross-chain-cost-analysis.md
@@ -0,0 +1,53 @@
+# Cross-Chain Payment Cost Comparison
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Cross-Chain Payment Cost Comparison** autonomous pipeline that calls `/api/x402-pay (Base + Solana)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/x402-pay (Base + Solana)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** Finance
+
+## What to Build
+
+Makes identical $0.001 payments on Solana and Base and records total cost including gas. Tracks the gas premium ratio over time. Used to recommend the cheapest network to users and adjust default pricing.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/036-bazaar-catalog-refresh.md b/agents/x402-buildout/self/036-bazaar-catalog-refresh.md
new file mode 100644
index 000000000..fb7e22ee5
--- /dev/null
+++ b/agents/x402-buildout/self/036-bazaar-catalog-refresh.md
@@ -0,0 +1,53 @@
+# Bazaar Service Catalog Daily Refresh
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **Bazaar Service Catalog Daily Refresh** autonomous pipeline that calls `/api/mcp-bazaar (bazaar_search_services + bazaar_service_details)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp-bazaar (bazaar_search_services + bazaar_service_details)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** Discovery
+
+## What to Build
+
+Paginates through all services on the bazaar daily. Stores snapshot. Computes diff from previous day. Detects new services (opportunity alerts), removed services (pipeline dependency alerts), and price changes.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/037-service-pricing-tracker.md b/agents/x402-buildout/self/037-service-pricing-tracker.md
new file mode 100644
index 000000000..83b763a42
--- /dev/null
+++ b/agents/x402-buildout/self/037-service-pricing-tracker.md
@@ -0,0 +1,53 @@
+# x402 Service Pricing Tracker
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **x402 Service Pricing Tracker** autonomous pipeline that calls `/api/mcp-bazaar (bazaar_service_details)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `/api/mcp-bazaar (bazaar_service_details)`
+- **Price:** `$0.001 USDC/call` per call
+- **Category:** Discovery
+
+## What to Build
+
+Tracks price history for all external x402 services we depend on. Alerts if a service raises prices >20% so we can update our cost models. Identifies opportunities where prices dropped and we should use the service more.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/agents/x402-buildout/self/038-service-uptime-monitor.md b/agents/x402-buildout/self/038-service-uptime-monitor.md
new file mode 100644
index 000000000..c57bbf796
--- /dev/null
+++ b/agents/x402-buildout/self/038-service-uptime-monitor.md
@@ -0,0 +1,53 @@
+# External x402 Service Uptime Monitor
+
+## Agent Prompt
+
+You are building a production feature for **three.ws** — a real, live x402 agent-to-agent payment platform built on Solana and Base. This is not a demo or simulation. Every call you implement makes a real on-chain payment using the platform's seed wallet.
+
+## Objective
+
+Implement the **External x402 Service Uptime Monitor** autonomous pipeline that calls `registered external services (HEAD/OPTIONS probe)` as part of the x402 autonomous spend loop.
+
+## x402 Endpoint
+
+- **Route:** `registered external services (HEAD/OPTIONS probe)`
+- **Price:** `free (probe)` per call
+- **Category:** Reliability
+
+## What to Build
+
+Probes every external x402 service in our registry with a HEAD request to check it returns 402 (meaning it is live). Flags services that return 5xx or timeout. Prevents us from calling dead endpoints in production pipelines.
+
+## Implementation Requirements
+
+1. **Wire into the autonomous loop** — add an entry for this use case in `api/_lib/x402/autonomous-registry.js` with: `id`, `name`, `endpoint`, `price_atomic`, `cooldown_seconds`, `pipeline` (e.g., `'self'`), `enabled` (boolean), and a `run()` function that executes the call.
+
+2. **Make real x402 payments** — use the platform's `X402_AGENT_SOLANA_SECRET_BASE58` keypair for outbound payments. Never mock the payment. If the wallet is not configured, exit gracefully with a log entry.
+
+3. **Record everything** — every call, success or failure, must be inserted into `x402_autonomous_log` with: `run_id`, `endpoint_type='self'`, `service_name`, `endpoint_url`, `network`, `amount_atomic`, `asset`, `tx_signature`, `response_data`, `duration_ms`, `success`, `error_msg`, `pipeline`, `value_extracted`.
+
+4. **Extract and store value** — don't just call the endpoint; parse the response and store the useful data to the appropriate DB table. Document exactly which table and column receives the data.
+
+5. **Respect cooldowns** — implement a cooldown check in the registry entry so this call doesn't run more than the appropriate frequency. Recommended cooldown for this use case: based on the described schedule.
+
+6. **Handle errors gracefully** — network failures, 402 rejections, and DB errors must all be caught, logged, and not crash the loop.
+
+## Integration Points
+
+- **Autonomous loop:** `api/x402-autonomous.js` runs this on its cron schedule
+- **Registry:** `api/_lib/x402/autonomous-registry.js` — add your entry here
+- **Recording:** Insert to `x402_autonomous_log` table on every execution
+- **Downstream consumer:** Document which other pipeline/feature consumes the data extracted by this call
+
+## Definition of Done
+
+- [ ] Registry entry added with correct cooldown and price
+- [ ] Real x402 payment made (not mocked)
+- [ ] Response data stored to appropriate DB column
+- [ ] Row inserted to x402_autonomous_log on every run
+- [ ] Error handling covers: wallet unconfigured, network timeout, 402 rejection, DB failure
+- [ ] Passes manual test: call the run() function directly, verify log row created and data stored
+
+## Related Use Cases
+
+See other files in `agents/x402-buildout/self/` for related autonomous loop entries. Coordinate on shared DB schemas and avoid duplicate table creation.
diff --git a/api/_lib/x402/autonomous-registry.js b/api/_lib/x402/autonomous-registry.js
new file mode 100644
index 000000000..3fb524617
--- /dev/null
+++ b/api/_lib/x402/autonomous-registry.js
@@ -0,0 +1,318 @@
+// api/_lib/x402/autonomous-registry.js
+//
+// Registry of x402 endpoints the autonomous spend loop calls on a schedule.
+// Every entry is a self-call to a three.ws x402 endpoint or an external service
+// discovered via the bazaar. The loop in api/cron/x402-autonomous-loop.js
+// picks entries whose cooldown has elapsed, pays, and records to x402_autonomous_log.
+//
+// Fields per entry:
+// id — unique string key (used as Redis cooldown key)
+// name — human label for logs and analytics
+// path — URL path (self-calls) OR full URL (external)
+// method — 'GET' | 'POST' (default 'POST')
+// body — request body (for POST), can be a function(ctx) => object
+// cooldown_s — minimum seconds between calls (enforced via Redis)
+// priority — 1-100; higher = more likely selected when multiple are ready
+// pipeline — tag: 'oracle' | 'health' | 'volume' | 'sniper' | 'external'
+// enabled — boolean; set false to pause without removing
+// extractSignal — optional fn(responseBody) => object stored in x402_autonomous_log.signal_data
+// For oracle pipeline entries, return { mint?, signal, confidence, headline }
+
+const SELF_ENDPOINTS = [
+ // ── Oracle / Intelligence (highest priority — feeds sniper decisions) ─────
+ {
+ id: 'crypto-intel-sol',
+ name: 'Crypto Intel: Solana',
+ path: '/api/x402/crypto-intel',
+ method: 'POST',
+ body: { topic: 'solana' },
+ cooldown_s: 900,
+ priority: 95,
+ pipeline: 'oracle',
+ enabled: true,
+ extractSignal: (r) => ({ topic: r?.topic, signal: r?.signal, headline: r?.headline, confidence: r?.confidence, price_usd: r?.price_usd }),
+ },
+ {
+ id: 'crypto-intel-btc',
+ name: 'Crypto Intel: Bitcoin',
+ path: '/api/x402/crypto-intel',
+ method: 'POST',
+ body: { topic: 'bitcoin' },
+ cooldown_s: 900,
+ priority: 90,
+ pipeline: 'oracle',
+ enabled: true,
+ extractSignal: (r) => ({ topic: r?.topic, signal: r?.signal, headline: r?.headline, confidence: r?.confidence, price_usd: r?.price_usd }),
+ },
+ {
+ id: 'crypto-intel-eth',
+ name: 'Crypto Intel: Ethereum',
+ path: '/api/x402/crypto-intel',
+ method: 'POST',
+ body: { topic: 'ethereum' },
+ cooldown_s: 900,
+ priority: 85,
+ pipeline: 'oracle',
+ enabled: true,
+ extractSignal: (r) => ({ topic: r?.topic, signal: r?.signal, headline: r?.headline, confidence: r?.confidence, price_usd: r?.price_usd }),
+ },
+ {
+ id: 'crypto-intel-pump',
+ name: 'Crypto Intel: Pump.fun Meme',
+ path: '/api/x402/crypto-intel',
+ method: 'POST',
+ body: { topic: 'pump' },
+ cooldown_s: 600,
+ priority: 95,
+ pipeline: 'oracle',
+ enabled: true,
+ extractSignal: (r) => ({ topic: r?.topic, signal: r?.signal, headline: r?.headline, confidence: r?.confidence }),
+ },
+ {
+ id: 'three-intel',
+ name: '$THREE Signal Feed',
+ path: '/api/x402/three-intel',
+ method: 'POST',
+ body: {},
+ cooldown_s: 900,
+ priority: 99,
+ pipeline: 'oracle',
+ enabled: true,
+ extractSignal: (r) => ({ signal: r?.signal, headline: r?.headline, confidence: r?.confidence, price_usd: r?.price_usd }),
+ },
+ {
+ id: 'fact-check-sol',
+ name: 'Fact-Check: SOL market claim',
+ path: '/api/x402/fact-check',
+ method: 'POST',
+ body: { claim: 'Solana is the fastest blockchain by TPS' },
+ cooldown_s: 3600,
+ priority: 60,
+ pipeline: 'oracle',
+ enabled: true,
+ extractSignal: (r) => ({ verdict: r?.verdict, confidence: r?.confidence, sources: r?.sources }),
+ },
+
+ // ── Volume / Activity Feed (keep the live feed alive) ─────────────────────
+ {
+ id: 'dance-tip-vol-1',
+ name: 'Dance Tip Volume: Dancer 1',
+ path: '/api/x402/dance-tip',
+ method: 'POST',
+ body: { dancer: '1', dance: 'hiphop' },
+ cooldown_s: 120,
+ priority: 70,
+ pipeline: 'volume',
+ enabled: true,
+ extractSignal: null,
+ },
+ {
+ id: 'dance-tip-vol-2',
+ name: 'Dance Tip Volume: Dancer 2',
+ path: '/api/x402/dance-tip',
+ method: 'POST',
+ body: { dancer: '2', dance: 'rumba' },
+ cooldown_s: 120,
+ priority: 70,
+ pipeline: 'volume',
+ enabled: true,
+ extractSignal: null,
+ },
+ {
+ id: 'dance-tip-vol-3',
+ name: 'Dance Tip Volume: Thriller',
+ path: '/api/x402/dance-tip',
+ method: 'POST',
+ body: { dancer: '3', dance: 'thriller' },
+ cooldown_s: 120,
+ priority: 65,
+ pipeline: 'volume',
+ enabled: true,
+ extractSignal: null,
+ },
+ {
+ id: 'cosmetic-purchase-test',
+ name: 'Cosmetic Purchase Health Check',
+ path: '/api/x402/cosmetic-purchase',
+ method: 'POST',
+ body: { item: 'canary_test', quantity: 1, _health_check: true },
+ cooldown_s: 1800,
+ priority: 40,
+ pipeline: 'health',
+ enabled: true,
+ extractSignal: (r) => ({ purchase_id: r?.purchase_id, item: r?.item }),
+ },
+
+ // ── Health Checks (verify each x402 endpoint is live) ─────────────────────
+ {
+ id: 'health-crypto-intel',
+ name: 'Health: crypto-intel',
+ path: '/api/x402/crypto-intel',
+ method: 'POST',
+ body: { topic: 'xrp' },
+ cooldown_s: 300,
+ priority: 50,
+ pipeline: 'health',
+ enabled: true,
+ extractSignal: (r) => ({ alive: !!r?.signal, topic: r?.topic }),
+ },
+ {
+ id: 'health-token-intel',
+ name: 'Health: token-intel',
+ path: '/api/x402/token-intel',
+ method: 'POST',
+ // Canary: well-known USDC mint — stable, always has data.
+ body: { mint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', network: 'mainnet' },
+ cooldown_s: 600,
+ priority: 55,
+ pipeline: 'health',
+ enabled: true,
+ extractSignal: (r) => ({ alive: !!r?.symbol, symbol: r?.symbol, holders: r?.holders }),
+ },
+ {
+ id: 'health-skill-marketplace',
+ name: 'Health: skill-marketplace',
+ path: '/api/x402/skill-marketplace',
+ method: 'GET',
+ body: null,
+ cooldown_s: 600,
+ priority: 45,
+ pipeline: 'health',
+ enabled: true,
+ extractSignal: (r) => ({ alive: Array.isArray(r?.skills), count: r?.skills?.length }),
+ },
+ {
+ id: 'health-pay-by-name',
+ name: 'Health: pay-by-name',
+ path: '/api/x402/pay-by-name',
+ method: 'POST',
+ body: { name: 'three.ws' },
+ cooldown_s: 600,
+ priority: 45,
+ pipeline: 'health',
+ enabled: true,
+ extractSignal: (r) => ({ alive: !!r?.address, address: r?.address }),
+ },
+ {
+ id: 'health-agent-reputation',
+ name: 'Health: agent-reputation',
+ path: '/api/x402/agent-reputation',
+ method: 'GET',
+ body: null,
+ cooldown_s: 600,
+ priority: 50,
+ pipeline: 'health',
+ enabled: true,
+ extractSignal: (r) => ({ alive: r !== null }),
+ },
+ {
+ id: 'health-symbol-avail',
+ name: 'Health: symbol-availability',
+ path: '/api/x402/symbol-availability',
+ method: 'POST',
+ body: { symbol: 'HEALTH' },
+ cooldown_s: 900,
+ priority: 40,
+ pipeline: 'health',
+ enabled: true,
+ extractSignal: (r) => ({ available: r?.available }),
+ },
+ {
+ id: 'health-fact-check',
+ name: 'Health: fact-check',
+ path: '/api/x402/fact-check',
+ method: 'POST',
+ body: { claim: 'The sky is blue' },
+ cooldown_s: 1800,
+ priority: 40,
+ pipeline: 'health',
+ enabled: true,
+ extractSignal: (r) => ({ alive: !!r?.verdict, verdict: r?.verdict }),
+ },
+
+ // ── Sniper Pipeline Support ────────────────────────────────────────────────
+ {
+ id: 'sniper-pump-audit-latest',
+ name: 'Pump Agent Audit: latest 5',
+ path: '/api/x402/pump-agent-audit',
+ method: 'POST',
+ body: { limit: 5 },
+ cooldown_s: 600,
+ priority: 75,
+ pipeline: 'sniper',
+ enabled: true,
+ extractSignal: (r) => ({ count: r?.audits?.length, top_score: r?.audits?.[0]?.score }),
+ },
+
+ // ── Identity / DID ─────────────────────────────────────────────────────────
+ {
+ id: 'health-did-resolve',
+ name: 'Health: DID resolution',
+ path: '/api/x402/did',
+ method: 'GET',
+ body: null,
+ cooldown_s: 3600,
+ priority: 30,
+ pipeline: 'health',
+ enabled: true,
+ extractSignal: (r) => ({ alive: !!r }),
+ },
+
+ // ── Club Cover Charge (social economy test) ────────────────────────────────
+ {
+ id: 'club-cover-health',
+ name: 'Club Cover Charge Health',
+ path: '/api/x402/club-cover',
+ method: 'POST',
+ body: { club: 'canary_test' },
+ cooldown_s: 1800,
+ priority: 35,
+ pipeline: 'health',
+ enabled: true,
+ extractSignal: null,
+ },
+];
+
+// ── External registry ─────────────────────────────────────────────────────────
+// External x402 services. Endpoints discovered via bazaar or direct registration.
+// Add entries here as external services are onboarded. The autonomous loop
+// calls these exactly like self-endpoints — same payment flow, same recording.
+//
+// X402_EXTERNAL_ENABLED=false disables the entire external section without
+// touching individual enabled flags.
+
+const EXTERNAL_ENDPOINTS = [
+ // Populated by agents building out the external/ use cases.
+ // Each entry added here becomes an active call in the autonomous loop.
+ // Example structure (commented out until service endpoint is discovered):
+ //
+ // {
+ // id: 'helius-rpc-ping',
+ // name: 'Helius Premium RPC Health',
+ // url: 'https://api.helius.xyz/v0/x402/ping',
+ // method: 'GET',
+ // body: null,
+ // cooldown_s: 300,
+ // priority: 80,
+ // pipeline: 'external',
+ // enabled: false, // enable once endpoint URL confirmed
+ // extractSignal: (r) => ({ latency_ms: r?.latency_ms }),
+ // },
+];
+
+// Maximum entries the loop processes per tick (prevents runaway spend).
+export const MAX_PER_TICK = Number(process.env.X402_AUTONOMOUS_MAX_PER_TICK || 8);
+
+// Daily USDC spend cap for the autonomous loop (atomics, 6 decimals).
+// Default: $5.00 = 5_000_000 atomics. Override via env.
+export const DAILY_CAP_ATOMIC = Number(process.env.X402_AUTONOMOUS_DAILY_CAP_ATOMIC || 5_000_000);
+
+export function getSelfRegistry() { return SELF_ENDPOINTS; }
+export function getExternalRegistry() { return EXTERNAL_ENDPOINTS; }
+
+export function getFullRegistry() {
+ const externalEnabled = process.env.X402_EXTERNAL_ENABLED !== 'false';
+ const self = SELF_ENDPOINTS.filter((e) => e.enabled);
+ const external = externalEnabled ? EXTERNAL_ENDPOINTS.filter((e) => e.enabled) : [];
+ return [...self, ...external];
+}
diff --git a/api/cron/x402-autonomous-loop.js b/api/cron/x402-autonomous-loop.js
new file mode 100644
index 000000000..ba6b67d6f
--- /dev/null
+++ b/api/cron/x402-autonomous-loop.js
@@ -0,0 +1,496 @@
+// GET /api/cron/x402-autonomous-loop
+//
+// Scheduled autonomous agent spend loop — the engine that makes three.ws an
+// active participant in the x402 agent-to-agent economy rather than just a
+// passive facilitator.
+//
+// Each tick:
+// 1. Selects up to MAX_PER_TICK ready entries from autonomous-registry.js
+// (entries whose cooldown has elapsed, sorted by priority desc).
+// 2. For each entry, probes the endpoint for a 402 challenge, builds a
+// Solana USDC payment, fires the request with X-PAYMENT header.
+// 3. Records every call to x402_autonomous_log (success AND failure).
+// 4. For oracle/sniper pipeline entries, extracts signal data and upserts
+// into oracle_intel_signals for the sniper oracle gate to consume.
+// 5. Enforces a daily USDC spend cap across all calls in this loop.
+//
+// Real on-chain payments only — no mocks, no simulations.
+//
+// Env:
+// X402_SEED_SOLANA_SECRET_BASE58 seeder keypair (preferred)
+// X402_AGENT_SOLANA_SECRET_BASE58 fallback agent keypair
+// X402_AUTONOMOUS_ENABLED 'false' to pause (default: enabled)
+// X402_AUTONOMOUS_MAX_PER_TICK max calls per cron tick (default: 8)
+// X402_AUTONOMOUS_DAILY_CAP_ATOMIC daily USDC cap in atomics (default: 5000000 = $5)
+// CRON_SECRET required Vercel cron auth
+
+import { readFileSync } from 'node:fs';
+import { randomUUID } from 'node:crypto';
+import bs58 from 'bs58';
+import {
+ Connection, PublicKey, Keypair, TransactionMessage, VersionedTransaction,
+ ComputeBudgetProgram,
+} from '@solana/web3.js';
+import {
+ getAssociatedTokenAddressSync, createTransferCheckedInstruction,
+ createAssociatedTokenAccountIdempotentInstruction,
+ TOKEN_PROGRAM_ID, ASSOCIATED_TOKEN_PROGRAM_ID, getMint,
+} from '@solana/spl-token';
+
+import { json, wrapCron } from '../_lib/http.js';
+import { env } from '../_lib/env.js';
+import { constantTimeEquals } from '../_lib/crypto.js';
+import { getRedis } from '../_lib/redis.js';
+import { sql } from '../_lib/db.js';
+import { solanaConnection } from '../_lib/solana/connection.js';
+import { logger } from '../_lib/usage.js';
+import {
+ getFullRegistry,
+ MAX_PER_TICK,
+ DAILY_CAP_ATOMIC,
+} from '../_lib/x402/autonomous-registry.js';
+
+const log = logger('x402-autonomous-loop');
+
+const ORIGIN = () => env.APP_ORIGIN || 'https://three.ws';
+const USDC_MINT = env.X402_ASSET_MINT_SOLANA;
+const SOLANA_RPC = env.SOLANA_RPC_URL;
+const FETCH_TIMEOUT_MS = 20_000;
+
+// Redis key prefix for cooldown tracking.
+const COOLDOWN_PREFIX = 'x402:auto:last:';
+// Redis key for daily spend accumulator (resets each UTC calendar day).
+const DAILY_SPEND_KEY = () => `x402:auto:daily:${new Date().toISOString().slice(0, 10)}`;
+
+function requireCron(req, res) {
+ const secret = process.env.CRON_SECRET || env.CRON_SECRET;
+ if (!secret) { json(res, 503, { error: 'CRON_SECRET unset' }); return false; }
+ const auth = req.headers['authorization'] || '';
+ const token = auth.startsWith('Bearer ') ? auth.slice(7) : '';
+ if (!constantTimeEquals(token, secret)) { json(res, 401, { error: 'unauthorized' }); return false; }
+ return true;
+}
+
+function loadSeedKeypair() {
+ const b58 = process.env.X402_SEED_SOLANA_SECRET_BASE58
+ || process.env.X402_AGENT_SOLANA_SECRET_BASE58;
+ if (b58) {
+ const raw = bs58.decode(b58);
+ if (raw.length !== 64) throw new Error(`seed keypair: expected 64 bytes, got ${raw.length}`);
+ return Keypair.fromSecretKey(raw);
+ }
+ if (process.env.NODE_ENV !== 'production') {
+ try {
+ const arr = JSON.parse(readFileSync('/home/codespace/.config/x402-test-wallets/solana.json', 'utf8'));
+ return Keypair.fromSecretKey(Uint8Array.from(arr));
+ } catch { /* fall through */ }
+ }
+ throw new Error('autonomous loop: seed keypair not configured (set X402_SEED_SOLANA_SECRET_BASE58)');
+}
+
+async function fetchWithTimeout(url, opts = {}) {
+ const ctrl = new AbortController();
+ const t = setTimeout(() => ctrl.abort(), FETCH_TIMEOUT_MS);
+ try {
+ const res = await fetch(url, { ...opts, signal: ctrl.signal, redirect: 'manual' });
+ let body = null;
+ try { body = await res.json(); } catch { try { body = await res.text(); } catch { body = null; } }
+ return { ok: res.ok, status: res.status, headers: res.headers, body };
+ } finally {
+ clearTimeout(t);
+ }
+}
+
+function parseSolanaAccept(challenge) {
+ if (!challenge || !Array.isArray(challenge.accepts)) return null;
+ return challenge.accepts.find(
+ (a) => typeof a?.network === 'string' && a.network.startsWith('solana'),
+ ) || null;
+}
+
+function buildPaymentTx({ accept, buyer, blockhash, mintInfo, receiverAtaExists }) {
+ const mint = new PublicKey(accept.asset);
+ const payTo = new PublicKey(accept.payTo);
+ const feePayer = new PublicKey(accept.extra.feePayer);
+ const amount = BigInt(accept.amount);
+
+ const senderAta = getAssociatedTokenAddressSync(
+ mint, buyer.publicKey, false, TOKEN_PROGRAM_ID, ASSOCIATED_TOKEN_PROGRAM_ID,
+ );
+ const receiverAta = getAssociatedTokenAddressSync(
+ mint, payTo, false, TOKEN_PROGRAM_ID, ASSOCIATED_TOKEN_PROGRAM_ID,
+ );
+
+ const ixs = [
+ ComputeBudgetProgram.setComputeUnitLimit({ units: 60_000 }),
+ ComputeBudgetProgram.setComputeUnitPrice({ microLamports: 5 }),
+ ];
+ if (!receiverAtaExists) {
+ ixs.push(createAssociatedTokenAccountIdempotentInstruction(
+ feePayer, receiverAta, payTo, mint, TOKEN_PROGRAM_ID, ASSOCIATED_TOKEN_PROGRAM_ID,
+ ));
+ }
+ ixs.push(createTransferCheckedInstruction(
+ senderAta, mint, receiverAta, buyer.publicKey,
+ amount, mintInfo.decimals, [], TOKEN_PROGRAM_ID,
+ ));
+
+ const msg = new TransactionMessage({
+ payerKey: feePayer,
+ recentBlockhash: blockhash,
+ instructions: ixs,
+ }).compileToV0Message();
+ const vtx = new VersionedTransaction(msg);
+ vtx.sign([buyer]);
+ return Buffer.from(vtx.serialize()).toString('base64');
+}
+
+async function recordLog(runId, entry, { amountAtomic, txSig, responseData, durationMs, success, errorMsg, signalData }) {
+ try {
+ await sql`
+ INSERT INTO x402_autonomous_log
+ (run_id, endpoint_type, service_name, endpoint_url,
+ network, amount_atomic, asset, tx_signature,
+ response_data, signal_data, duration_ms, success, error_msg, pipeline)
+ VALUES
+ (${runId}, ${entry.url ? 'external' : 'self'},
+ ${entry.name}, ${entry.url || entry.path},
+ ${'solana:mainnet'}, ${amountAtomic || 0},
+ ${USDC_MINT || 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'},
+ ${txSig || null},
+ ${responseData ? JSON.stringify(responseData) : null},
+ ${signalData ? JSON.stringify(signalData) : null},
+ ${durationMs || 0}, ${success}, ${errorMsg || null},
+ ${entry.pipeline || 'unknown'})
+ `;
+ } catch (err) {
+ log.warn('autonomous_log_insert_failed', { id: entry.id, message: err?.message });
+ }
+}
+
+async function upsertOracleSignal(entry, signalData) {
+ if (!signalData || entry.pipeline !== 'oracle') return;
+ try {
+ await sql`
+ INSERT INTO oracle_intel_signals
+ (source_id, topic, signal, headline, confidence, price_usd, raw, ts)
+ VALUES
+ (${entry.id}, ${signalData.topic || entry.id},
+ ${signalData.signal || null}, ${signalData.headline || null},
+ ${signalData.confidence || null}, ${signalData.price_usd || null},
+ ${JSON.stringify(signalData)}, now())
+ ON CONFLICT (source_id, topic)
+ DO UPDATE SET
+ signal = EXCLUDED.signal,
+ headline = EXCLUDED.headline,
+ confidence = EXCLUDED.confidence,
+ price_usd = EXCLUDED.price_usd,
+ raw = EXCLUDED.raw,
+ ts = now()
+ `;
+ } catch (err) {
+ // Table may not exist yet — suppress, it will be created by the migration.
+ if (!err?.message?.includes('does not exist')) {
+ log.warn('oracle_signal_upsert_failed', { id: entry.id, message: err?.message });
+ }
+ }
+}
+
+async function ensureSchema() {
+ // x402_autonomous_log: records every autonomous loop call.
+ try {
+ await sql`
+ CREATE TABLE IF NOT EXISTS x402_autonomous_log (
+ id bigserial PRIMARY KEY,
+ run_id uuid NOT NULL,
+ ts timestamptz DEFAULT now(),
+ endpoint_type text NOT NULL CHECK (endpoint_type IN ('self', 'external')),
+ service_name text NOT NULL,
+ endpoint_url text NOT NULL,
+ network text NOT NULL DEFAULT 'solana:mainnet',
+ amount_atomic bigint NOT NULL DEFAULT 0,
+ asset text,
+ tx_signature text,
+ response_data jsonb,
+ signal_data jsonb,
+ duration_ms int,
+ success boolean NOT NULL,
+ error_msg text,
+ pipeline text
+ )
+ `;
+ } catch { /* already exists or migration system handles it */ }
+
+ // oracle_intel_signals: deduped latest signal per source+topic.
+ // The sniper oracle gate queries this to enrich conviction scores.
+ try {
+ await sql`
+ CREATE TABLE IF NOT EXISTS oracle_intel_signals (
+ source_id text NOT NULL,
+ topic text NOT NULL,
+ signal text,
+ headline text,
+ confidence numeric(5,2),
+ price_usd numeric(20,8),
+ raw jsonb,
+ ts timestamptz DEFAULT now(),
+ PRIMARY KEY (source_id, topic)
+ )
+ `;
+ } catch { /* already exists */ }
+}
+
+async function getDailySpend(redis) {
+ if (!redis) return 0;
+ try {
+ const val = await redis.get(DAILY_SPEND_KEY());
+ return val ? Number(val) : 0;
+ } catch { return 0; }
+}
+
+async function incrementDailySpend(redis, atomics) {
+ if (!redis || !atomics) return;
+ try {
+ const key = DAILY_SPEND_KEY();
+ await redis.incrby(key, atomics);
+ await redis.expire(key, 86400 * 2); // 2-day TTL (covers UTC rollover)
+ } catch { /* non-fatal */ }
+}
+
+async function isCoolingDown(redis, entry) {
+ if (!redis) return false;
+ try {
+ const val = await redis.get(`${COOLDOWN_PREFIX}${entry.id}`);
+ return !!val;
+ } catch { return false; }
+}
+
+async function setCooldown(redis, entry) {
+ if (!redis || !entry.cooldown_s) return;
+ try {
+ await redis.set(`${COOLDOWN_PREFIX}${entry.id}`, '1', { ex: entry.cooldown_s });
+ } catch { /* non-fatal */ }
+}
+
+// ── Main handler ──────────────────────────────────────────────────────────────
+
+export default wrapCron(async (req, res) => {
+ if (req.method !== 'GET') return json(res, 405, { error: 'method_not_allowed' });
+ if (!requireCron(req, res)) return;
+
+ if (process.env.X402_AUTONOMOUS_ENABLED === 'false') {
+ return json(res, 200, { ok: true, skipped: true, reason: 'X402_AUTONOMOUS_ENABLED=false' });
+ }
+
+ const runId = randomUUID();
+ const origin = ORIGIN();
+ const redis = getRedis();
+
+ // ── Pre-flight checks ─────────────────────────────────────────────────────
+ let buyer;
+ try { buyer = loadSeedKeypair(); } catch (err) {
+ return json(res, 200, { ok: false, skipped: true, reason: err.message });
+ }
+
+ if (redis) {
+ try { await redis.ping(); } catch (err) {
+ return json(res, 200, { ok: false, skipped: true, reason: `redis_unavailable: ${err?.message}` });
+ }
+ }
+
+ // ── Daily spend cap check ─────────────────────────────────────────────────
+ const dailySpentSoFar = await getDailySpend(redis);
+ if (dailySpentSoFar >= DAILY_CAP_ATOMIC) {
+ log.info('autonomous_daily_cap_reached', { spent: dailySpentSoFar, cap: DAILY_CAP_ATOMIC });
+ return json(res, 200, { ok: true, skipped: true, reason: 'daily_cap_reached', spent_usdc: dailySpentSoFar / 1e6 });
+ }
+
+ // ── Ensure schema exists ──────────────────────────────────────────────────
+ await ensureSchema();
+
+ // ── Select ready entries ──────────────────────────────────────────────────
+ const registry = getFullRegistry();
+ const readyChecks = await Promise.all(
+ registry.map(async (entry) => {
+ const cooling = await isCoolingDown(redis, entry);
+ return { entry, ready: !cooling };
+ }),
+ );
+ const ready = readyChecks
+ .filter((e) => e.ready)
+ .map((e) => e.entry)
+ .sort((a, b) => (b.priority || 0) - (a.priority || 0))
+ .slice(0, MAX_PER_TICK);
+
+ if (ready.length === 0) {
+ return json(res, 200, { ok: true, skipped: true, reason: 'all_cooling_down', run_id: runId });
+ }
+
+ // ── Shared Solana state (one blockhash per tick, shared across all calls) ─
+ const conn = solanaConnection({ url: SOLANA_RPC, commitment: 'confirmed' });
+ let blockhash, mintInfo;
+ try {
+ [{ blockhash }, mintInfo] = await Promise.all([
+ conn.getLatestBlockhash('confirmed'),
+ getMint(conn, new PublicKey(USDC_MINT)),
+ ]);
+ } catch (err) {
+ return json(res, 200, { ok: false, reason: `solana_preflight_failed: ${err?.message}`, run_id: runId });
+ }
+
+ // ── Process each entry ────────────────────────────────────────────────────
+ const results = [];
+ let remainingCap = DAILY_CAP_ATOMIC - dailySpentSoFar;
+
+ for (const entry of ready) {
+ if (remainingCap <= 0) break;
+
+ const endpointUrl = entry.url || `${origin}${entry.path}`;
+ const t0 = Date.now();
+ let amountAtomic = 0;
+ let txSig = null;
+ let success = false;
+ let errorMsg = null;
+ let responseBody = null;
+ let signalData = null;
+
+ try {
+ // Step 1: probe for 402 challenge
+ const probeRes = await fetchWithTimeout(endpointUrl, {
+ method: entry.method || 'POST',
+ headers: { 'content-type': 'application/json', 'user-agent': 'threews-x402-autonomous/1.0' },
+ ...(entry.body != null ? { body: JSON.stringify(entry.body) } : {}),
+ });
+
+ if (probeRes.status !== 402) {
+ // Free endpoint — record as success without payment.
+ success = true;
+ responseBody = probeRes.body;
+ if (entry.extractSignal) signalData = entry.extractSignal(responseBody);
+ results.push({ id: entry.id, status: 'free', success });
+ await recordLog(runId, entry, { amountAtomic: 0, txSig: null, responseData: responseBody, durationMs: Date.now() - t0, success, signalData });
+ if (signalData) await upsertOracleSignal(entry, signalData);
+ await setCooldown(redis, entry);
+ continue;
+ }
+
+ const accept = parseSolanaAccept(probeRes.body);
+ if (!accept) {
+ errorMsg = 'no_solana_accept';
+ results.push({ id: entry.id, status: 'skip', reason: errorMsg });
+ continue;
+ }
+ if (!USDC_MINT || accept.asset !== USDC_MINT) {
+ errorMsg = `unexpected_asset:${accept.asset}`;
+ results.push({ id: entry.id, status: 'skip', reason: errorMsg });
+ continue;
+ }
+ if (!accept.extra?.feePayer) {
+ errorMsg = 'missing_fee_payer';
+ results.push({ id: entry.id, status: 'skip', reason: errorMsg });
+ continue;
+ }
+
+ amountAtomic = Number(accept.amount || 0);
+ if (amountAtomic > remainingCap) {
+ log.info('autonomous_cap_would_exceed', { id: entry.id, amount: amountAtomic, remaining: remainingCap });
+ results.push({ id: entry.id, status: 'skip', reason: 'cap_would_exceed' });
+ continue;
+ }
+
+ // Step 2: check if receiver ATA exists (optimization — share lookup)
+ const receiverAta = getAssociatedTokenAddressSync(
+ new PublicKey(accept.asset), new PublicKey(accept.payTo),
+ false, TOKEN_PROGRAM_ID, ASSOCIATED_TOKEN_PROGRAM_ID,
+ );
+ const receiverAtaInfo = await conn.getAccountInfo(receiverAta).catch(() => null);
+
+ // Step 3: build signed tx
+ const txBase64 = buildPaymentTx({
+ accept, buyer, blockhash, mintInfo,
+ receiverAtaExists: receiverAtaInfo !== null,
+ });
+
+ const xPayment = Buffer.from(JSON.stringify({
+ x402Version: 2,
+ scheme: 'exact',
+ network: accept.network,
+ resource: { url: endpointUrl, mimeType: 'application/json' },
+ payload: { transaction: txBase64 },
+ accepted: accept,
+ })).toString('base64');
+
+ // Step 4: fire with payment
+ const paidRes = await fetchWithTimeout(endpointUrl, {
+ method: entry.method || 'POST',
+ headers: {
+ 'content-type': 'application/json',
+ 'user-agent': 'threews-x402-autonomous/1.0',
+ 'x-payment': xPayment,
+ },
+ ...(entry.body != null ? { body: JSON.stringify(entry.body) } : {}),
+ });
+
+ responseBody = paidRes.body;
+ success = paidRes.ok;
+
+ if (success) {
+ // Extract tx signature from X-PAYMENT-RESPONSE header if present.
+ const responseHeader = paidRes.headers?.get?.('x-payment-response');
+ if (responseHeader) {
+ try {
+ const settled = JSON.parse(Buffer.from(responseHeader, 'base64').toString('utf8'));
+ txSig = settled?.transaction || null;
+ } catch { /* non-fatal */ }
+ }
+
+ remainingCap -= amountAtomic;
+ await incrementDailySpend(redis, amountAtomic);
+ if (entry.extractSignal) signalData = entry.extractSignal(responseBody);
+ await setCooldown(redis, entry);
+ if (signalData) await upsertOracleSignal(entry, signalData);
+ } else {
+ errorMsg = `http_${paidRes.status}`;
+ }
+
+ results.push({ id: entry.id, status: success ? 'paid' : 'error', amount_usdc: amountAtomic / 1e6, tx: txSig });
+ } catch (err) {
+ errorMsg = err?.message || 'unknown_error';
+ results.push({ id: entry.id, status: 'error', reason: errorMsg });
+ }
+
+ await recordLog(runId, entry, {
+ amountAtomic,
+ txSig,
+ responseData: responseBody,
+ durationMs: Date.now() - t0,
+ success,
+ errorMsg,
+ signalData,
+ });
+ }
+
+ const paid = results.filter((r) => r.status === 'paid');
+ const totalUsdc = paid.reduce((s, r) => s + (r.amount_usdc || 0), 0);
+
+ log.info('autonomous_tick_complete', {
+ run_id: runId,
+ ready: ready.length,
+ called: results.length,
+ paid: paid.length,
+ total_usdc: totalUsdc.toFixed(4),
+ payer: buyer.publicKey.toBase58(),
+ });
+
+ return json(res, 200, {
+ ok: true,
+ run_id: runId,
+ ready: ready.length,
+ called: results.length,
+ paid: paid.length,
+ total_usdc: totalUsdc.toFixed(4),
+ daily_spent_usdc: (dailySpentSoFar / 1e6 + totalUsdc).toFixed(4),
+ daily_cap_usdc: (DAILY_CAP_ATOMIC / 1e6).toFixed(2),
+ results,
+ });
+});
diff --git a/content/threews-evolution-elevenlabs-COMPLETE.md b/content/threews-evolution-elevenlabs-COMPLETE.md
new file mode 100644
index 000000000..712d2d6ba
--- /dev/null
+++ b/content/threews-evolution-elevenlabs-COMPLETE.md
@@ -0,0 +1,81 @@
+This is three.ws. A platform where artificial intelligence agents are embodied in three dimensions, hold real wallets, work in public, and pay each other on a blockchain. Built in roughly ten weeks, in the open, with more than five thousand commits and over nine hundred dated, public changelog entries. This is the complete account of what was built, who it was built with, and what comes next. The only coin this platform has ever promoted, or ever will, is $THREE.
+
+Let us start with the partnerships, because three.ws did not build this alone.
+
+The flagship partnership is with IBM. three.ws built a three-dimensional artificial intelligence agent live, on stage, with IBM, and stood up a dedicated, self-updating IBM partnership page with a live Agent Galaxy. It wired IBM's Granite models into the platform, callable over the agent connectors and payable per use over the x402 standard. It integrated IBM watsonx dot ai for chat, text generation, embeddings, and tools. It shipped content safety and governance powered by IBM Granite Guardian. And it put live $THREE market intelligence, and a hands-on pose studio, right on the IBM showcase.
+
+The platform partnered with Amazon Web Services. three.ws listed on the AWS Marketplace, shipped a page to manage your AWS Marketplace key and usage, published builder-center guides for marketplace x402 and for agents over the connectors, and integrated Bedrock AgentCore payment sessions, so an agent can spend from a managed budget.
+
+It partnered with Alibaba Cloud, bringing the Qwen family of models and the DashScope service into the platform through a dedicated connector.
+
+It partnered with NVIDIA. Image to three dimensions runs free on NVIDIA hardware, the platform runs the TRELLIS model natively, the Forge generates on a free NVIDIA lane, and the avatar voice stack uses NVIDIA's Riva for speech recognition, Magpie for text to speech, and Audio2Face for turning a voice into a moving face.
+
+It partnered with Anthropic. three.ws is listed in Anthropic's connector registry, placed its Avatar Agent in that registry, was submitted to the Claude Connectors Directory, shipped a Claude Code plugin marketplace that installs agent, wallet, three-dimensional, and launch tools in one command, and wired the newest Claude models into every agent brain.
+
+And it integrated a wide field of best-in-class tools. Google Trends, powering live cultural narratives. MetaMask, whose Agent Wallet skills were given to every agent. Privy, for embedded wallet sign-in. Meshy, Tripo, Rodin, Stability, and Replicate, all available as Forge generation engines with bring-your-own-key. Avaturn, for studio-quality rigged avatars and avatar creation. Ready Player Me, whose avatars can be imported directly. Solana Mobile, for Seeker and Saga handsets. LobeHub, which gets an embodied avatar plugin. The Chrome Web Store, which hosts the Walk Avatar browser extension. Visual Studio Code, which gets an x402 extension. Telegram, which delivers oracle alerts and digests. And a partner security agent that moved into the $THREE town.
+
+Now the open-source arsenal, because nearly everything three.ws built ships as a package any developer can install.
+
+There are the core agent kits. The cross-chain agent SDK, which ships a three-dimensional agent with both EVM and Solana identity, a chat panel, and discovery. The agent JavaScript SDK for chat and embedding. The Solana Agent SDK, with a keypair and browser wallet, transfers, swaps, and the x402 exact-payment scheme. The agent payments engine, now at version three, multi-chain. The agent protocol SDK for on-chain agent-to-agent invocation. The reputation package, to read trust scores under the ERC-8004 standard and attest agent-to-agent feedback on-chain. The agent guards package, with per-agent spend policies and trade guards. The agent memory package, embeddings-backed and persistent. And the names package, with ENS and SNS resolution, threews dot sol subdomain minting, and pay-by-name in one import.
+
+There are the three-dimensional and avatar kits. The official avatar SDK, with a viewer, a creator iframe, and an augmented and virtual reality runtime. The avatar schema and validator, the canonical format for on-chain avatar manifests. An avatar command-line tool. Tuned viewer presets. The GLB tools package, to inspect, re-theme, and bake models. The Forge package, turning text, an image, or a sketch into a textured, rig-ready model in one call. The pose package, with deterministic named pose seeds. The motion-capture package, turning a webcam or video into face, pose, and hand animation. And Character Studio.
+
+There are the embedding and web kits. React components for dropping in a three-dimensional agent. The agent UI package, so an avatar reacts to buttons and navigation. The page-agent SDK, a rigged agent that talks visitors through any website. The walk SDK, a diverse avatar that walks and talks across your pages. The tour SDK, a guide avatar that spotlights real features. And the chat plugin for LobeHub.
+
+There are the payment kits. The x402 server package, the merchant side that turns any endpoint into a paid one. The x402 fetch wrapper, which pays a payment challenge automatically. The x402 connector, which gives any agent a self-custodial wallet. Two drop-in x402 payment modals. And the x402 extension for Visual Studio Code.
+
+There are the trading and economy kits. The strategies package, with dollar-cost-averaging, copy-trading, and mirroring. The skill-license package, where each purchased skill is a one-of-one token. The intelligence package, with sentiment and narrative scoring. The AgenC client, for the on-chain coordination protocol. The pump.fun skills, composable tools to create a coin, swap, and claim fees. The Granite Guardian safety package. The vanity package, mining custom Solana addresses fast, accelerated with web assembly. The real-world presence package, for geofenced check-ins. And the Solana Mobile integration layer.
+
+And there are the autonomous workers, the engines that run on their own. The sniper worker, which watches the live feed and snipes from an agent's wallet. The orders worker, executing limit, stop, trailing, dollar-cost-averaging, time-weighted, and conditional orders. The market-maker worker, the Launch Copilot, which defends a floor and recycles fees. The agent screen worker, which drives a real browser with Stagehand and streams the agent's live view. The Agora citizens engine, real agents living a daily loop on-chain. The multiplayer server, an authoritative Colyseus backend behind the walk world. And the connector bridge that turns any paid endpoint into a Claude-callable tool, alongside the free text-to-three-dimensional server.
+
+That is more than fifty published packages, and it leads directly into the most important distribution layer of all. The connector fleet.
+
+three.ws built a fleet of more than thirty connectors, the servers that let any capable assistant become a three.ws-native agent. Fourteen of them went live on the official registry, then the fleet kept growing. Listen to what an outside agent can now do, because each of these is a real, named server.
+
+It can spend $THREE through the three-token connector, the first connector whose actions burn a token. It can coordinate work through the AgenC connector, browsing the on-chain task board. It can claim jobs through the Agora connector. It can pay any endpoint from a managed budget through the AgentCore payments connector. It can discover what is trending through the activity connector. It can manage pump.fun alert rules through the alerts connector. It can reach Qwen models through the Alibaba Cloud connector. It can speak and show a face through the audio connector. It can govern its own autonomous execution through the autopilot connector. It can spawn and render a rotatable on-chain avatar through the avatar-agent and avatar connectors. It can read its plan, usage, and invoices through the billing connector. It can route to any model through the brain connector. It can play the faction game through the Coin Clash connector. It can manage copy-trade follows through the copy connector. It can reach IBM watsonx and pay-per-use Granite through the two IBM connectors. It can score smart money through the intelligence connector. It can track a single trader through the trader connector. It can browse the community gallery through the Loom connector. It can browse the marketplace and skills catalog through the marketplace connector. It can resolve Solana names and check threews dot sol availability through the naming connector. It can read its inbox through the notifications connector. It can read its portfolio and profit and loss through the portfolio connector. It can write a signed, append-only provenance log through the provenance connector. It can read pump.fun and Solana data free through the pump.fun connector. It can speak a three-dimensional world into being through the scene connector. It can subscribe to signal feeds through the signals connector. It can run a Pay-As-You-Learn tutor ledger through the tutor connector. It can read the vanity grind-bounty market through the vanity connector. It can see and describe images through the vision connector. And it can carry a self-custodial wallet and search the live bazaar through the x402 connector. Underneath those are platform connectors for three-dimensional studio work, agents, the bazaar, and IBM, all reachable as endpoints.
+
+An assistant that could only talk can now see, speak, remember, transact, trade, launch, hire, and verify. That is the connector fleet.
+
+Now the x402 economy layer, the rails that move the money.
+
+x402 is an open standard that revives the dormant HTTP status code four-oh-two, Payment Required, for instant stablecoin settlement. three.ws shipped x402 micropayments on the twenty-ninth of April, then a second version of the specification, with offer and receipt extensions. It built the x402 Bazaar, an open marketplace of paid endpoints. It built the x402 Console and merchant server, so any agent can run a paid service business end to end, with payout wallets per chain, spend caps, and a storefront. It shipped hosted checkout, product listings, a payment status surface, and a server-side payer. It shipped two drop-in payment modals, a fetch wrapper that pays automatically, the self-custodial wallet connector, and the Visual Studio Code extension. It turned on sixty live machine payments per minute. It made every payment produce a signed receipt of exactly what was bought. It added replay protection, so a captured payment cannot be re-spent. And it let agents pay any x402 endpoint in $THREE, not only in dollars.
+
+And the bazaar is full of real, named paid endpoints. There is an endpoint to check a three-dimensional model, and one to convert a mint into a mesh, in batches. There is an endpoint to forge a model, to download an animation, to download an asset, and to buy a cosmetic. There is an endpoint to fact-check a claim, to verify an on-chain identity, and to vet any agent before you pay it, the Agent Bouncer. There is an endpoint to read an agent's reputation, to audit a pump.fun agent, and to launch a coin. There is an endpoint to call a skill, to reach the skill marketplace, and to check whether a symbol is available. There is an endpoint for token intelligence, for three-token intelligence, and for crypto intelligence. There is an endpoint to resolve a name and pay by it, to grind a verifiable vanity wallet, to tip a performer, to pay a club cover, and to run a tutoring session. Every one of them is a machine paying a machine for a real service.
+
+Now the product surface itself, because all of this lives on more than one hundred and seventy-five distinct pages. Here is the breadth of it.
+
+For discovery and identity, there is the home page, the marketplace, the marketplace analytics page, the walk-through marketplace, Live Agents, the deployments feed, the integrations gallery, the partners page, the trending page, the activity feed, the communities directory, the leaderboard, the watchlist, the features showcase, the glossary, the launch-week page, the status page, the support page, the guided tour, and the tutorials.
+
+For building an agent, there is the create flow, the create-agent wizard, create-by-prompt, create-by-selfie, the create review, the character creator, Agent Studio, the agent editor, the Brain page, Brain Studio, the agent Mind page, the Mind Palace, the Genome page where you breed two agents, the Genesis page, and the Reasoning Ledger.
+
+For avatars and three-dimensional creation, there is Avatar Studio, the avatar editor, the avatar engines page, the avatar SDK page, the Ready Player Me import page, the Forge, Forge Studio, the Forge embed, the NVIDIA NIM Forge, Pose Studio, the animations page, the motion-capture studio, Scene Studio, the compose page, the diorama page, the Gaussian-splat lab, the labs page, the capture page, and the asset pipeline.
+
+For the immersive worlds, there is the Walk hub with its landing, analytics, leaderboard, and embed, the real-world augmented reality mode, the augmented reality page, the virtual reality page, the City world, the worlds directory, World Lines, the Cosmos world builder, the Galaxy and Constellation views, the Pole Club, the play worlds, the Arena, the theater, and the stage.
+
+For the economy, the wallet, and trading, there is the economy page, the agent economy page, the agent exchange, the agent trade page, the agent wallet, Claim Your Wallet, Money Pulse, the payments page, the pricing page, the billing page, the credits page, the skills page, the Vaults, the Mirror page, Trading Swarms, the strategies dashboard, the signals marketplace, the Smart Money directory, the trader pages, the Trades Terminal, the Oracle, Coin Radar, coin intelligence, the proof gallery, the Arm-your-agent page, the autopilot page and its activity feed, the bounties and bounty pages, the Labor Market, and Agora.
+
+For coins and launches, there is the launch page, the launches feed, the launch detail page, the Launchpad, the Launcher, bulk launch, the pump dashboard, the live pump view, and the pump visualizer. For watching an agent work, there is the agent screen, the Live Agents roster, the capture page, and the overlay control. For developers, there is the embed page, the widget, the handle page, the public profile, and the integrity and guardian pages. And there is a voice page, and a three-token page that tells the whole story of $THREE.
+
+That is the surface. Now the evolution that produced it, told from this week backward to the very first commit.
+
+This week, three.ws made the economy measurable. Money Pulse became a public feed of real tips, trades, agent-to-agent payments, and launches, every row carrying an on-chain signature, and it now reports whether agent trading is actually viable and tracks real marketplace demand. The platform turned on sixty x402 payments per minute, opened Live Agents mission control with a one-click session launcher, shipped one-tap agent activation with a welcome grant, added a Capabilities command center and a Top Performers podium, introduced the Memetic Launcher that reads live culture, and announced the Alibaba Cloud partnership.
+
+The week before, around the twenty-sixth of June, it shipped the agent screen, so you can watch an agent's real browser session and avatar camera on its profile and in the three-dimensional world, driven by a real browser-capture worker. It shipped four autonomous capabilities, Alpha Hunt, Coin Launcher, Creator Auto-Claim, and Market Maker, surfaced oracle win-rate data across eight pages, rebuilt the Trades Terminal, Sniper Arena, and Coin Radar, made any token viewable as a live three-dimensional trading scene, and built a three-dimensional agent live with IBM.
+
+In the third and fourth weeks of June came the soul of the product. The owned mind, through Brain Studio, Memory Studio, the Mind Palace, Reflection and Dreams, a portable exportable brain, and the Agent Genome. The self-sovereign wallet, through Money Streams that pay an agent by the second, Patronage, Embodied Finance where an agent wears its wallet, a shareable trading card, plain-English Wallet Intents, Autopilot that shows its receipts, Proof-of-Custody, the Reasoning Ledger, social recovery and inheritance, and a Treasury Autopilot. The labor market, through the Agent Labor Market where agents hire, pay, and verify each other, World Lines that prove you were there, and signed action provenance. The distribution layer, through eighteen SDKs on the public registry, the connector fleet, and an x402 wallet that pays in $THREE. Instant Agent Genesis, where a selfie or a sentence becomes a funded on-chain agent in under a minute. And a full trading suite, with draw-to-snipe, programmable orders, Portfolio Command, Pre-Launch Radar, the Arena tournaments, Copy Trading, Back-an-Agent Vaults, and the Signal Marketplace.
+
+In the middle of June came the skills economy and presence, with one-click subscriptions, gifting, on-chain skill-license tokens, gasless checkout, pay-what-you-want pricing, signed payment receipts, the x402 Console, on-chain buybacks of $THREE you can watch, holder tiers across the site, playable coin worlds with build mode, mature augmented reality with floor placement and occlusion and indoor markers, opt-in vanity wallets with a grind-bounty market, and the Agent Bouncer.
+
+In the second week of June, three pillars locked in. The Oracle, scoring every launch from zero to one hundred across pedigree, structure, narrative, and momentum, with a public win rate computed only from outcomes that resolved on-chain. The Forge, with text, sketch, selfie, and image to three dimensions, many engines, and auto-rigging. And on-chain identity under the ERC-8004 standard, where three.ws registered itself as an agent on Solana and the EVM networks, every agent could earn a Validated badge, and the real-world walk mode went live.
+
+In early June came the foundations. On the second, every agent got its own wallet. On the third, autonomous agent-to-agent trading. Then the first production connectors, the City world, voice cloning with lip-sync, the pump.fun autopilot, Privy sign-in, IBM Granite over the connectors and x402, a bounty board with an artificial-intelligence judge, public agent profiles with shared memories, the newest Claude models, MetaMask Agent Wallet skills, a pluggable memory system, and a public status page.
+
+In May, the economy was born. The plugin marketplace, reputation and staking, and Solana's one-click action links. Selling your agent's skills, real-time multiplayer, and the first JavaScript SDK. Monetization version two, the marketplace and creator dashboard version two, payments and trading inside chat, picking your agent's model, and the first $THREE utility, holder gating, with vanity addresses and a multi-chain payments kit. Then x402 commerce, the x402 Bazaar, the agent-to-agent protocol, pay-by-name, Launchpad Studio, multiplayer walk scenes, talking avatars, selfie-to-avatar, and an avatar kit with files five to ten times smaller. The AWS Marketplace listing. The Brain page to race models. And live three-dimensional coin communities with spatial voice and holder gating.
+
+And the genesis. The very first commit landed on the fourteenth of April, and it was not an economy. It was a three-dimensional model viewer and a validator. A tool that loaded a model, checked it, and rendered it in the browser. One day later, wallet sign-in and on-chain identity. Then Widget Studio, avatars that never sit still, on-chain agent discovery, and embeds with action bridges. And on the twenty-ninth of April, two weeks after a humble model viewer, the day that defined everything, on-chain agents on Solana and the EVM networks, a full launch and trading stack, x402 micropayments, the Solana Agent SDK, and a place in Anthropic's registry. The next day, agents learned to speak.
+
+Here is the evidence, and all of it is public. Five thousand and ninety-one commits. Nine hundred and sixty dated changelog entries. More than five hundred features, seventy-five SDK releases, and sixty-six dedicated security efforts. Ninety-two published packages. More than thirty connectors. Working partnerships with IBM, Amazon Web Services, Alibaba Cloud, NVIDIA, and Anthropic. More than one hundred and seventy-five product pages. All of it in about ten to eleven weeks. This is not a roadmap. It is a deployment history you can read line by line.
+
+So what comes next. First, the on-chain economy deepens. Agent tokens tied to real reputation, reputation markets where a proven track record becomes an asset others can back, and creator royalties that pay a skill's author automatically across every agent that ever uses it. Second, the labor market scales. Agora grows from a handful of professions into a full economy of machine labor, open to any outside agent through the connectors three.ws already publishes, with bounties paid in $THREE. Third, and furthest out, the intelligence itself decentralizes, so that identity, money, work, and mind all stand on open infrastructure. But the method never changes. Build it, ship it, log it in public with a date, and let anyone verify it on-chain.
+
+The machine economy used to be a slide in a deck. On three.ws, it is a browser tab. A body you can stand next to. A mind you own. A wallet that proves itself. A job that pays. Ninety-two packages, thirty connectors, a hundred and seventy-five pages, five partnerships, and one currency under all of it. This is three.ws. And the only coin is $THREE. Come watch it work.
diff --git a/public/changelog.json b/public/changelog.json
index f55d65f96..56c43992e 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-27T22:30:47.892Z",
+ "generated_at": "2026-06-27T22:51:18.622Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -151,6 +151,17 @@
"improvement"
]
},
+ {
+ "date": "2026-06-27",
+ "type": "update",
+ "title": "CAPTCHA relief for rate-limited sign-ins",
+ "summary": "Users who hit the sign-in rate limit (e.g. shared office/home network) now see a lightweight proof-of-work puzzle instead of a hard countdown. Solve it in a second or two and you can keep signing in immediately — no waiting, no support ticket. Built on Altcha (open source, MIT-licensed, no tracking or third-party service).",
+ "link": "/login",
+ "tags": [
+ "improvement",
+ "security"
+ ]
+ },
{
"date": "2026-06-27",
"type": "update",
@@ -312,6 +323,17 @@
"feature"
]
},
+ {
+ "date": "2026-06-27",
+ "type": "update",
+ "title": "Production stability fixes — genome lineage, screen streaming, and x402 seeder",
+ "summary": "Several reliability issues addressed: the agent genome breeding lineage page (/genome/lineage) was returning errors for all visitors due to a missing database table — now resolved. The live agent screen-streaming panel now correctly finds agents and loads their names. The x402 dance-tip seeder cron no longer floods the platform with thousands of failed payment attempts when Redis is temporarily unavailable — it detects the outage and skips the tick gracefully. Forge error logs now include the full vendor message from Replicate for faster ops triage.",
+ "link": null,
+ "tags": [
+ "fix",
+ "infra"
+ ]
+ },
{
"date": "2026-06-27",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index aa75fbd24..08a1b1663 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -118,6 +118,14 @@
<category>feature</category>
<description>New /dashboard/capabilities page surfaces live status for Alpha Hunt, Coin Launcher, Auto-Claim, and Market Maker in one view. KPI strips show daily budget, total volume, claimable fees, and net P&amp;L per capability. Tabbed tables show launched coins, schedule status, per-market inventory bars, and recent MM trades. Alpha Hunt trigger is now also configurable directly from the Sniper Strategies dashboard — full field set including min smart-money count, quality score, organic score, max market cap, and narrative keywords.</description>
</item>
+ <item>
+ <title>CAPTCHA relief for rate-limited sign-ins</title>
+ <link>https://three.ws/login</link>
+ <guid isPermaLink="false">2026-06-27:CAPTCHA relief for rate-limited sign-ins</guid>
+ <pubDate>Sat, 27 Jun 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>Users who hit the sign-in rate limit (e.g. shared office/home network) now see a lightweight proof-of-work puzzle instead of a hard countdown. Solve it in a second or two and you can keep signing in immediately — no waiting, no support ticket. Built on Altcha (open source, MIT-licensed, no tracking or third-party service).</description>
+ </item>
<item>
<title>Design your own Memetic Launcher</title>
<link>https://three.ws/launcher</link>
@@ -238,6 +246,14 @@
<category>feature</category>
<description>New /partners page showing all active technology partnerships — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, and Oracle — with what each powers on the platform, tier badges, and links to partner-specific pages and MCP servers.</description>
</item>
+ <item>
+ <title>Production stability fixes — genome lineage, screen streaming, and x402 seeder</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-06-27:Production stability fixes — genome lineage, screen streaming, and x402 seeder</guid>
+ <pubDate>Sat, 27 Jun 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Several reliability issues addressed: the agent genome breeding lineage page (/genome/lineage) was returning errors for all visitors due to a missing database table — now resolved. The live agent screen-streaming panel now correctly finds agents and loads their names. The x402 dance-tip seeder cron no longer floods the platform with thousands of failed payment attempts when Redis is temporarily unavailable — it detects the outage and skips the tick gracefully. Forge error logs now include the full vendor message from Replicate for faster ops triage.</description>
+ </item>
<item>
<title>Production stability fixes — payment sessions, Redis error handling, infra resilience</title>
<link>https://three.ws/changelog</link>
diff --git a/public/features.json b/public/features.json
index c3cfb3b2d..daa738a22 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-27T22:11:27.414Z",
+ "generated_at": "2026-06-27T22:51:18.605Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/vercel.json b/vercel.json
index e86d873b9..97eafb4d1 100644
--- a/vercel.json
+++ b/vercel.json
@@ -73,6 +73,9 @@
"api/cron/{forge-seed-cron,x402-seed-cron}.js": {
"maxDuration": 70
},
+ "api/cron/x402-autonomous-loop.js": {
+ "maxDuration": 120
+ },
"api/cron/pulse-tick.js": {
"maxDuration": 120
},
@@ -4655,6 +4658,10 @@
"path": "/api/cron/x402-seed-cron",
"schedule": "* * * * *"
},
+ {
+ "path": "/api/cron/x402-autonomous-loop",
+ "schedule": "*/5 * * * *"
+ },
{
"path": "/api/cron/pulse-tick",
"schedule": "*/2 * * * *"