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.

Remove shipped task backlog files

nirholasda7068077586
diff --git a/tasks/launchpad/01-launch-modal-post-launch-cta.md b/tasks/launchpad/01-launch-modal-post-launch-cta.md
deleted file mode 100644
index 075debfae..000000000
--- a/tasks/launchpad/01-launch-modal-post-launch-cta.md
+++ /dev/null
@@ -1,77 +0,0 @@
-# 01 — Launch modal: post-launch CTA set
-
-## Problem
-
-After a user successfully launches a coin, the modal success screen (`_renderStep4` in [src/pump/launch-token-modal.js](../../src/pump/launch-token-modal.js), line ~806) shows:
-
-- A shareable canvas card
-- "Copy mint" button
-- "Download card" button
-- "Share on X" button
-- A bare `View on pump.fun →` text link
-
-There is no link to `/coin3d?mint=<X>` (the platform's own 3D token view), no link to `/pump-dashboard?agent=<Y>` (the management console), and the "Done" button just calls `location.reload()` with no navigation offer. A user who just launched a coin has nowhere obvious to go next within three.ws.
-
-This is the highest-visibility moment in the entire launch flow and it currently dead-ends.
-
-## Target files
-
-- [src/pump/launch-token-modal.js](../../src/pump/launch-token-modal.js) — `_renderStep4` method and its CSS companion
-- [src/pump/launch-token-modal.css](../../src/pump/launch-token-modal.css) — button/link styling
-
-## Outcome
-
-The step-4 success screen adds a styled CTA row beneath the share actions:
-
-```
-[ View in 3D ] [ Manage on Dashboard ] [ View on pump.fun ↗ ]
-```
-
-Behavior:
-- **View in 3D** → opens `/coin3d?mint=<mint>` in a new tab. Always shown (mainnet launches only; skip on devnet).
-- **Manage on Dashboard** → opens `/pump-dashboard?agent=<agentId>` in the same tab, then closes the modal. `agentId` is already threaded through `this._agentId` from the call site (`openLaunchTokenModal({ agentId, … })`). If `agentId` is not available (direct embed callers), link to `/pump-dashboard` without the query param.
-- **View on pump.fun ↗** — keep this, but style it as a tertiary button matching the others. Remove the bare `<a>` text link.
-- The "Done" button remains but changes label to "Close" and just closes the modal (`this._close()`). Remove `location.reload()` — the page already listens for the `agent-token-launched` CustomEvent and can refresh itself; a hard reload breaks callers that handle the event.
-
-Style:
-- CTA row uses `display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px;`.
-- Primary button (`ltm-btn ltm-btn-primary`) for "View in 3D".
-- Secondary button (`ltm-btn`) for "Manage on Dashboard".
-- Tertiary with `target="_blank"` for "View on pump.fun".
-
-## Implementation notes
-
-1. `_renderStep4(mint, pumpUrl, agentId)` — add `agentId` as a third parameter. Callers pass it from `this._agentId` which is already set when `open({ agentId })` is called.
-2. Build the dashboard URL: `agentId ? \`/pump-dashboard?agent=\${encodeURIComponent(agentId)}\` : '/pump-dashboard'`.
-3. Build the coin3d URL: `/coin3d?mint=\${encodeURIComponent(mint)}`.
-4. Only add the coin3d and pump.fun buttons when `this._network !== 'devnet'`.
-5. "Manage on Dashboard" click handler: `this._close(); window.location.href = dashboardUrl;`.
-6. Remove `location.reload()` from the "Done" handler; replace with `this._close()`.
-7. The `agent-token-launched` CustomEvent already fires (line ~857 of launch-token-modal.js) — do not remove it; callers rely on it to refresh their state.
-
-## Definition of done
-
-- Launch a coin on devnet via the modal (agent-detail page → "Launch Token").
-- Step 4 shows: canvas card, copy/download/share row, then a CTA row with correct buttons.
-- On devnet: only "Close" appears in the CTA row (no coin3d or pump.fun links since devnet).
-- On mainnet (or mocked): "View in 3D", "Manage on Dashboard", "View on pump.fun" all appear with correct hrefs.
-- "View in 3D" opens `/coin3d?mint=<mint>` in a new tab.
-- "Manage on Dashboard" navigates to `/pump-dashboard?agent=<agentId>` and the modal closes.
-- "Close" closes the modal without a hard reload; the page reflects the new coin state via the `agent-token-launched` event.
-- No console errors.
-- `npm test` green.
-- Completionist subagent run on changed files.
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/launchpad/01-launch-modal-post-launch-cta.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/launchpad/02-launches-feed-coin3d-action.md b/tasks/launchpad/02-launches-feed-coin3d-action.md
deleted file mode 100644
index 1882cc213..000000000
--- a/tasks/launchpad/02-launches-feed-coin3d-action.md
+++ /dev/null
@@ -1,101 +0,0 @@
-# 02 — /launches feed: add "View in 3D" action to every coin card
-
-## Problem
-
-Every launch card in [src/launches.js](../../src/launches.js) (`launchCard` function, lines ~398–470) has two action buttons:
-
-1. `pump.fun ↗` — external link to the pump.fun trading page
-2. `3D world` — links to `/communities/<mint>` (the social multiplayer world)
-
-There is no link to `/coin3d?mint=<mint>` — the platform's own 3D token visualization page. `/coin3d` renders a spinning coin medallion with the token's logo, a top-holder galaxy sized by balance, and a graduation ring tracking bonding-curve progress. It is one of the most visually compelling pages on the platform and it is invisible from the primary launch discovery surface.
-
-These are three distinct experiences:
-- `/coin3d?mint=X` — data-driven 3D token snapshot (what this task adds)
-- `/communities/<mint>` — social world for the coin's community
-- `pump.fun/<mint>` — external trading
-
-## Target files
-
-- [src/launches.js](../../src/launches.js) — `launchCard` function, `actions` array construction
-- [src/launches.css](../../src/launches.css) — `.lx-action` styling
-
-## Outcome
-
-Each mainnet launch card gains a third action button:
-
-```
-[ pump.fun ↗ ] [ 3D view ] [ 3D world ]
-```
-
-"3D view" is the new button:
-- `href: /coin3d?mint=<mint>`
-- `text: '3D view'`
-- `aria-label: \`View ${launch.symbol || launch.name} in 3D\``
-- Same `lx-action` class as the existing buttons
-- Opens in a new tab (`target="_blank"`)
-- Only rendered for mainnet launches (`!isDevnet`)
-
-On devnet, keep only "Explorer ↗" (no coin3d or pump.fun links since the mint doesn't exist on mainnet).
-
-## Implementation notes
-
-In `launchCard` (src/launches.js), the `actions` array is built just before the card element is assembled. Currently:
-
-```js
-const actions = [
- el('a', { class: 'lx-action', href: tradeHref, target: '_blank', … }),
-];
-if (!isDevnet) {
- actions.push(el('a', { class: 'lx-action', href: `/communities/${launch.mint}`, … }));
-}
-```
-
-Change to:
-
-```js
-const actions = [
- el('a', { class: 'lx-action', href: tradeHref, target: '_blank', … }),
-];
-if (!isDevnet) {
- actions.push(
- el('a', {
- class: 'lx-action',
- href: `/coin3d?mint=${encodeURIComponent(launch.mint)}`,
- target: '_blank',
- rel: 'noopener noreferrer',
- text: '3D view',
- 'aria-label': `View ${launch.symbol || launch.name || 'coin'} in 3D`,
- }),
- );
- actions.push(el('a', { class: 'lx-action', href: `/communities/${launch.mint}`, … }));
-}
-```
-
-Order: pump.fun ↗ | 3D view | 3D world — left to right from external to platform surfaces.
-
-Check if `.lx-action` styling wraps cleanly at three items on a card; if not, add `flex-wrap: wrap` to the `.lx-actions` container in `launches.css`.
-
-## Definition of done
-
-- Start `npm run dev`, visit `/launches`.
-- Every mainnet card shows three action buttons: "pump.fun ↗", "3D view", "3D world".
-- "3D view" opens `/coin3d?mint=<correct mint>` in a new tab.
-- On devnet cards, only "Explorer ↗" appears.
-- Cards display without overflow or layout shift at 320px, 768px, and 1440px viewport widths.
-- No console errors.
-- `npm test` green.
-- Completionist subagent run on changed files.
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/launchpad/02-launches-feed-coin3d-action.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/launchpad/03-pump-live-e2e-verify.md b/tasks/launchpad/03-pump-live-e2e-verify.md
deleted file mode 100644
index c2739d1a8..000000000
--- a/tasks/launchpad/03-pump-live-e2e-verify.md
+++ /dev/null
@@ -1,65 +0,0 @@
-# 03 — /pump-live: verify and fix end-to-end rendering
-
-## Problem
-
-[pages/pump-live.html](../../pages/pump-live.html) is the real-time showcase of new pump.fun launches — a 3D agent viewer on the left reacts to token events while a live feed streams on the right. The page has all the scaffolding (WebSocket to `wss://pumpportal.fun/api/data`, token list rendering, stat counters) but has never been formally verified end-to-end. Specific risks:
-
-1. **3D agent viewer** — the `<agent-3d>` web component embedded in `#viewer-container` may not load its avatar correctly without a valid `agent-id` or fallback avatar URL wired to a real three.ws agent. If the component silently fails, the left panel is blank.
-2. **WebSocket reconnection** — the 5-second reconnect timer (`setTimeout(connect, 5000)`) does not implement exponential backoff; on a production page with many concurrent users, all clients reconnect simultaneously after a PumpPortal outage.
-3. **Token card rendering** — new token events (received as `onmessage`) must be parsed from PumpPortal's JSON envelope, mapped to the card template, prepended to `#token-list`, and the overflow capped. Verify this pipeline renders real names/symbols/images and does not leave `undefined` in card text.
-4. **Stats bar** — the "Tokens Launched", "Volume", and "Age" counters must update in real time from incoming events. Verify they are wired to the WebSocket `onmessage` handler and not just initialized to zero.
-5. **Mobile layout** — the flex row (`#main-container`) must stack on mobile. Verify the CSS breakpoint.
-6. **PumpPortal envelope format** — PumpPortal's `subscribeNewToken` response format should be verified against the live feed; if the field names changed (e.g. `marketCap` → `usdMarketCap`), the card renderer is silently broken.
-
-## Target files
-
-- [pages/pump-live.html](../../pages/pump-live.html) — all logic is inline in a `<script>` block
-
-## Verification steps
-
-1. `npm run dev`. Open `http://localhost:3000/pump-live` in a browser.
-2. Open the browser console and network tab.
-3. Confirm the `wss://pumpportal.fun/api/data` connection opens and stays open (no immediate close/error).
-4. Wait 30 seconds for real tokens to arrive (pump.fun launches ~1–3 tokens per minute). Confirm:
- - Token cards appear in `#token-list` with real name, symbol, and image (or a placeholder if no image).
- - The launch counter increments.
- - No `undefined`, `null`, or `[object Object]` text in any card field.
-5. Open DevTools → Network → WS → inspect incoming frames. Map field names to what the renderer expects. Fix any field name mismatches.
-6. Resize to 375px width. Confirm the layout stacks vertically (viewer above feed).
-7. Simulate a WebSocket drop: `ws.close()` in the console. Confirm reconnect fires after 5s.
-
-## Fixes to apply
-
-- **Avatar loading**: in `#viewer-container`, the `<agent-3d>` tag (or its equivalent) must have a valid `avatar-url` pointing to a real three.ws platform avatar GLB from [public/avatars/](../../public/avatars/). Use the same default agent avatar used on [pages/home.html](../../pages/home.html) as the fallback. If `<agent-3d>` requires an `agent-id`, use the platform's demo agent ID (locate it via `grep -r 'demo.*agent\|agent.*demo' pages/ public/` or check [public/nav-data.js](../../public/nav-data.js)).
-- **Field mapping**: read the actual PumpPortal `subscribeNewToken` response envelope from the live stream (or from [docs/pumpfun-program/](../../docs/pumpfun-program/) if documented there). Update the card renderer's field references to match.
-- **Reconnect backoff**: replace the fixed 5s `setTimeout` with a capped exponential backoff: 2s → 4s → 8s → 16s → 32s → cap at 60s. Reset on successful open.
-- **Stats wiring**: if any stat counter is not updating from `onmessage`, wire it now — no fake increments, no `setInterval` tickers. Real counts from real events only.
-- **Empty state**: if the WebSocket hasn't delivered any tokens yet (first 5s), `#token-list` should show a skeleton row, not a blank void.
-- **Error state**: if the connection fails permanently (e.g. PumpPortal is down), show a styled error message in the feed panel with a "Retry" button that calls `connect()`.
-
-## Definition of done
-
-- Open `/pump-live` with no console errors.
-- Within 60 seconds, at least one real token card appears with correct name, symbol, and image (or placeholder). No `undefined` text anywhere.
-- The stat counters increment for every new token event.
-- Resizing to 375px width stacks the panels vertically.
-- Closing and reopening the WebSocket (`ws.close()` → wait) triggers reconnect with the new backoff.
-- The empty state (first 5 seconds) shows a skeleton or "Waiting for new launches…" message.
-- The error state (force-kill connection and disable reconnect) shows a styled error + retry button.
-- No console errors during normal operation.
-- `npm test` green.
-- Completionist subagent run on changed files.
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/launchpad/03-pump-live-e2e-verify.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/launchpad/04-pump-visualizer-data-wire.md b/tasks/launchpad/04-pump-visualizer-data-wire.md
deleted file mode 100644
index 51614dfd8..000000000
--- a/tasks/launchpad/04-pump-visualizer-data-wire.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# 04 — /pump-visualizer: verify and fix data pipeline + 3D interactivity
-
-## Problem
-
-[pages/pump-visualizer.html](../../pages/pump-visualizer.html) is a Three.js scene where trending pump.fun tokens appear as interactive spheres sized by market cap. The page has full Three.js setup (scene, camera, bloom post-processing, OrbitControls) and fetch calls to three data sources:
-
-- `TRENDING_API = '/api/pump/trending?limit=50'` — `/api/pump/helius-stats` → not the trending endpoint
-- `STATS_API = '/api/pump/helius-stats'` — Helius blockchain stats (TPS, slot, block time)
-- `LIVE_FEED_API = '/api/agents/pumpfun-feed?kind=mint'` — SSE stream of new launches (EventSource)
-- `MIGRATIONS_BACKFILL_API = '/api/pump/recent-graduations?limit=20'` — graduated coins
-
-However, it has never been formally verified. Specific risks:
-
-1. **Three.js sphere rendering** — the code that maps `/api/pump/trending` response tokens to `THREE.Mesh` sphere objects may have field name mismatches (e.g. `marketCap` vs `usdMarketCap` vs `market_cap`) resulting in all spheres being the same (minimum) size.
-2. **Texture loading** — coin logos are loaded as textures onto sphere faces. If the image URL field name is wrong or the image is blocked by CORS, every sphere shows as untextured (plain grey).
-3. **Click-to-navigate** — clicking a sphere should navigate to `/coin3d?mint=<mint>`. Verify the raycaster event is wired and the mint address is correctly threaded through to the navigation.
-4. **Live feed mode** — when mode switches to "feed", the page opens an `EventSource` to `/api/agents/pumpfun-feed?kind=mint`. Verify the SSE endpoint exists and returns the correct event format, that each new-mint event creates a new sphere, and that the sphere count caps to avoid scene overload.
-5. **Stats bar** — `STATS_API` populates TPS, slot, and block time. Verify `/api/pump/helius-stats` returns these fields and the DOM updates.
-6. **Mode switching** — the three modes (trending / feed / migrations) each have different data sources. Verify switching between modes cleans up the previous data source (closes EventSource, cancels timers) and initializes the new one correctly.
-
-## Target files
-
-- [pages/pump-visualizer.html](../../pages/pump-visualizer.html) — all Three.js and fetch logic is inline
-
-## Verification steps
-
-1. `npm run dev`. Open `http://localhost:3000/pump-visualizer`.
-2. Default mode is "trending". Open Network tab. Confirm:
- - `GET /api/pump/trending?limit=50` fires and returns a non-empty JSON array.
- - Each array item has the fields the renderer expects. If not, update the field references.
-3. Confirm spheres appear in the 3D scene with varying sizes.
-4. Click a sphere. Confirm navigation to `/coin3d?mint=<correct_mint>` (check the URL in the address bar or console).
-5. Switch to "feed" mode. Confirm:
- - `GET /api/agents/pumpfun-feed?kind=mint` opens as an EventSource.
- - New spheres appear when events arrive (may take up to 60s on mainnet).
-6. Switch to "migrations" mode. Confirm `GET /api/pump/recent-graduations?limit=20` fires.
-7. Verify the stats bar (`#vz-stat-tps`, `#vz-stat-slot`) updates from `/api/pump/helius-stats`.
-
-## Fixes to apply
-
-- **Field mapping**: read the actual `/api/pump/trending` response shape in [api/pump/[action].js](../../api/pump/[action].js) (`handleTrending` function). Align all field references in the sphere-creation code.
-- **Click navigation**: in the `pointerup`/`click` event handler, after raycasting, navigate via `window.location.href = \`/coin3d?mint=\${encodeURIComponent(intersect.object.userData.mint)}\``. If the handler already does this but uses `window.open`, keep `window.location.href` (same tab) as the default; opening a new tab for every click is jarring.
-- **Texture CORS**: coin logo URLs come from pump.fun metadata. If loading as `THREE.TextureLoader` fails due to CORS, use `crossOrigin = 'anonymous'` on the loader. For tokens with no image or failed image loads, use a generated SVG placeholder (use the same `mintIdenticon` approach from [src/launches.js](../../src/launches.js) or a simple colored sphere based on the mint's first byte).
-- **Live feed sphere cap**: cap the scene to 200 live-mode spheres. When the cap is hit, remove the oldest sphere before adding the new one (FIFO).
-- **Mode teardown**: each mode switch must call `eventSource?.close()`, `clearInterval(refreshTimer)`, and `clearTimeout(pendingFetch)` before initializing the new mode.
-- **Empty/loading states**: the `vz-status` element has `data-state="loading"` on init. When data arrives and spheres are placed, set `data-state="ready"`. On fetch error, set `data-state="error"` and update the status text to "Could not load data — retry?"
-
-## Definition of done
-
-- Open `/pump-visualizer`, wait 3 seconds. Spheres of varying sizes appear in 3D.
-- Clicking a sphere opens `/coin3d?mint=<correct mint>` in the same tab.
-- Switching to "feed" mode opens an SSE connection; new spheres appear when pump.fun events arrive.
-- Switching modes tears down the previous data source (no duplicate EventSource connections).
-- Stats bar populates with real TPS, slot, block time from `/api/pump/helius-stats`.
-- On load failure, `data-state="error"` shows with an actionable message.
-- No console errors during normal operation.
-- `npm test` green.
-- Completionist subagent run on changed files.
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/launchpad/04-pump-visualizer-data-wire.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/launchpad/05-launchpad-builder-avatar-picker.md b/tasks/launchpad/05-launchpad-builder-avatar-picker.md
deleted file mode 100644
index 0c01dd827..000000000
--- a/tasks/launchpad/05-launchpad-builder-avatar-picker.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# 05 — Launchpad Studio: wire the avatar picker to real platform avatars
-
-## Problem
-
-[src/editor/launchpad-studio.js](../../src/editor/launchpad-studio.js) is the no-code builder for white-label launchpads. Step 2 of the wizard ("Identity") asks the user to provide an avatar for their launchpad page. The current picker accepts a URL field as free-form text input. This puts the burden on the user to know and copy a valid GLB URL.
-
-Professional result: the picker should show the user's own three.ws avatars and the platform's gallery — with URL entry as a fallback for power users. This is the same pattern already implemented in the agent-edit and character-studio flows.
-
-## Target files
-
-- [src/editor/launchpad-studio.js](../../src/editor/launchpad-studio.js) — the wizard's identity step
-- [pages/launchpad.html](../../pages/launchpad.html) — the host page (no changes expected, but verify the module is correctly imported)
-
-## Data sources
-
-**User's own avatars** (if logged in):
-```
-GET /api/agents?owner=me&limit=20
-```
-Returns `{ agents: [{ id, name, avatar_url, meta: { avatar: { url } } }] }`.
-Use `agent.meta?.avatar?.url || agent.avatar_url` for the GLB URL.
-
-**Platform gallery avatars**:
-```
-GET /api/avatars?limit=24&sort=popular
-```
-Returns `{ avatars: [{ id, name, thumbnail_url, glb_url }] }`.
-
-Both endpoints already exist. Use `credentials: 'include'` on the fetch. If the user is not logged in, the `/api/agents?owner=me` call returns 401 or an empty list — skip it gracefully.
-
-## Outcome
-
-Replace the bare URL `<input>` in the identity step with a three-section picker:
-
-### Section 1 — My Agents (shown only when logged in, hidden if empty)
-A horizontal scroll strip of avatar thumbnails. Each card shows:
-- Thumbnail image (use `agent.meta?.avatar?.thumbnail_url` if available, else the GLB URL rendered via `<img>` with the platform viewer as a fallback icon)
-- Agent name
-
-On click: select this avatar, populate the hidden `avatar_url` field, highlight the selected card.
-
-### Section 2 — Platform Gallery
-Same card strip but from `/api/avatars`. Show 8 cards, with a "Show more" button that loads the next page.
-
-### Section 3 — Custom URL (collapsed by default, expandable with "Or enter a URL →")
-The existing URL `<input>`. Keep this for power users but de-emphasize it visually.
-
-## Implementation notes
-
-1. In `launchpad-studio.js`, find where the identity form is rendered (search for `avatar` or `url` field in the wizard step). Wrap the new picker in a `div.lsp-avatar-picker` container.
-2. Fetch both data sources in parallel (`Promise.allSettled`) when the identity step renders. Show a skeleton row while loading.
-3. Store the selected avatar URL in the same `formData.avatar_url` field the rest of the studio already uses. No new state shape.
-4. Selected state: `lsp-avatar-card.is-selected` CSS class + `aria-pressed="true"`. Only one card can be selected at a time. Clicking a different card deselects the previous.
-5. Thumbnail images: use `loading="lazy"`. Gracefully handle broken images with an `onerror` that shows a generic avatar icon (use `/public/avatars/default.png` or the site's existing fallback).
-6. Mobile: cards are `64px × 64px` with a `4px` selection ring. The strip is `overflow-x: auto` with `-webkit-overflow-scrolling: touch`.
-
-## Definition of done
-
-- `npm run dev`. Visit `/launchpad`. Proceed to the identity step.
-- If logged in: "My Agents" section appears with real agent thumbnails. Clicking one selects it and the preview renders that avatar.
-- "Platform Gallery" section shows real avatars from `/api/avatars`.
-- Clicking any gallery card selects it; the preview updates.
-- "Or enter a URL" expands and accepts a custom GLB URL as before.
-- If not logged in: "My Agents" section is hidden; Gallery and URL fallback still work.
-- The published launchpad config (`POST /api/launchpad/publish`) includes the selected `avatar_url`.
-- No console errors.
-- `npm test` green.
-- Completionist subagent run on changed files.
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/launchpad/05-launchpad-builder-avatar-picker.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/launchpad/06-agent-coin-shared-widget.md b/tasks/launchpad/06-agent-coin-shared-widget.md
deleted file mode 100644
index 215041622..000000000
--- a/tasks/launchpad/06-agent-coin-shared-widget.md
+++ /dev/null
@@ -1,88 +0,0 @@
-# 06 — Shared coin-status widget: extract and unify across pages
-
-## Problem
-
-Live coin status logic (price, market cap, % to graduation, 24h volume, quick buy/sell links) is independently implemented in at least three places:
-
-| File | What it does |
-|------|-------------|
-| [src/agent-detail.js](../../src/agent-detail.js) | `renderTokenSection` — displays the agent's current token chip + launch history rows with streamed market caps |
-| [src/agent-home-pumpfun.js](../../src/agent-home-pumpfun.js) | `mountPumpFunCard` — inline trade panel, live quote, graduation progress |
-| [src/launches.js](../../src/launches.js) | `launchCard` market cap enrichment — streams `/api/pump/coin` per card |
-
-Each implementation fetches `/api/pump/coin?mint=<mint>` independently, formats numbers independently, and handles loading/error states independently. When the API response shape changes, all three need to be updated. Adding a new field (e.g. holder count or recent trade sparkline) requires three edits.
-
-## Target files
-
-**New file to create**:
-- `src/pump/coin-status-card.js` — shared ES module
-
-**Files to refactor**:
-- [src/agent-detail.js](../../src/agent-detail.js) — replace inline market cap enrichment with the shared module
-- [src/agent-home-pumpfun.js](../../src/agent-home-pumpfun.js) — replace inline coin data fetch with the shared module
-- [src/launches.js](../../src/launches.js) — replace per-card `/api/pump/coin` fetch with the shared module
-
-## Outcome
-
-`src/pump/coin-status-card.js` exports a single function:
-
-```js
-/**
- * Mounts a live coin-status display into `container`.
- *
- * @param {HTMLElement} container — where to render
- * @param {string} mint — Solana mint address (base58)
- * @param {object} [opts]
- * @param {string} [opts.variant] — 'chip' | 'row' | 'card' (default: 'chip')
- * @param {number} [opts.refreshMs] — live-refresh interval (default: 30_000, 0 to disable)
- * @param {boolean} [opts.showBuy] — show "Buy" link (default: false)
- * @returns {{ destroy: () => void }} — cleanup handle
- */
-export function mountCoinStatus(container, mint, opts = {}) { … }
-```
-
-**Variants:**
-- `chip` (default) — compact inline chip: symbol, price, mcap, graduation %. Used in agent-detail token section.
-- `row` — table-row-style layout with mint address, volume, and time. Used in agent-detail launch history.
-- `card` — full card with name, price, mcap bar, volume, buy link, time-since-launch. Used in launches feed enrichment.
-
-**Data source**: single `GET /api/pump/coin?mint=<mint>`. Map response fields once in this module; all three consumers benefit.
-
-**Live refresh**: the module owns its own `setInterval` (default 30s). Call `destroy()` to stop it. Callers do not manage refresh timers.
-
-**States**: loading skeleton → populated → error (with "Retry" button that re-fetches).
-
-## Implementation notes
-
-1. Create `src/pump/coin-status-card.js`. It imports nothing from outside the `src/pump/` directory except shared utils from `src/shared/` if they exist.
-2. Internal helper: `formatMcap(n)` → `$1.2M`, `formatPrice(n)` → `$0.00012`, `formatPct(n)` → `34%`. Copy these verbatim from the existing implementations; do not invent new formatting.
-3. Graduation ring: the `card` variant renders a small SVG arc (same as `/coin3d` graduation ring concept) from 0 to `graduation_pct`. Use a `stroke-dasharray` trick on a `<circle>` element — no canvas.
-4. "Buy" link (when `showBuy: true`): `<a href="https://pump.fun/<mint>" target="_blank" rel="noopener noreferrer" class="csc-buy">Buy →</a>`. Plain external link; no trade modal in this widget.
-5. Refactoring the three callers: replace their inline fetch + render code with `mountCoinStatus(el, mint, { variant: '...', … })`. Each caller still owns the containing `HTMLElement` — the module only populates it.
-6. Accessibility: loading state has `aria-busy="true"` on the container. Error state has `role="alert"`. Price and mcap have `aria-label` with plain-language values ("Market cap: 1.2 million dollars").
-
-## Definition of done
-
-- `src/pump/coin-status-card.js` exists and exports `mountCoinStatus`.
-- Visit `/launches` — market cap enrichment on cards is powered by the shared module (verify by adding a `console.log` in the module and seeing it fire per card, then removing the log).
-- Visit an agent detail page with a coin — the token chip and launch history rows use the shared module.
-- Visit the agent home panel for an agent with a coin — coin data is fetched via the shared module (no duplicate fetch to `/api/pump/coin` from the old inline code).
-- All three variants render correctly at their target sites.
-- A single field-name change in `mountCoinStatus` (e.g. rename `market_cap` → `mcap`) propagates to all three surfaces without touching any other file.
-- No console errors.
-- `npm test` green (add at least one unit test for `formatMcap` and `formatPct` in a `coin-status-card.test.js` alongside the module).
-- Completionist subagent run on changed files.
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/launchpad/06-agent-coin-shared-widget.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/launchpad/08-nav-and-crosslinks.md b/tasks/launchpad/08-nav-and-crosslinks.md
deleted file mode 100644
index a8bec10c8..000000000
--- a/tasks/launchpad/08-nav-and-crosslinks.md
+++ /dev/null
@@ -1,103 +0,0 @@
-# 08 — Launchpad: audit and fix all cross-links and nav entries
-
-## Problem
-
-The token launchpad has seven distinct surfaces:
-
-| Surface | URL | Purpose |
-|---------|-----|---------|
-| Launchpad Studio | `/launchpad` | White-label launchpad builder |
-| Launches Feed | `/launches` | Public feed of every agent-launched coin |
-| Pump Dashboard | `/pump-dashboard` | Per-agent coin management console |
-| Pump Live | `/pump-live` | Real-time new launch stream |
-| Pump Visualizer | `/pump-visualizer` | 3D trending token scene |
-| Token in 3D | `/coin3d` | 3D snapshot of any individual token |
-| Coin/community world | `/communities/<mint>` | Social 3D world per coin |
-
-These surfaces are not consistently cross-linked. A user who discovers `/launches` has no way to get to `/pump-live` or `/pump-visualizer`. A user on `/coin3d` cannot navigate to the launch feed filtered for that token's agent. The main nav has no "Token" or "Launch" section linking these surfaces together.
-
-This task audits every surface and adds the missing links so the launchpad feels like a cohesive product, not seven isolated pages.
-
-## Target files
-
-- [public/nav-data.js](../../public/nav-data.js) — single source of truth for nav menus (see memory: Nav single source of truth)
-- [pages/launches.html](../../pages/launches.html) — page-level links
-- [src/launches.js](../../src/launches.js) — card actions (see Task 02 for coin3d link — if 02 is done, skip that part)
-- [pages/pump-live.html](../../pages/pump-live.html) — page-level links
-- [pages/pump-visualizer.html](../../pages/pump-visualizer.html) — page-level links
-- [pages/coin3d.html](../../pages/coin3d.html) — page-level links
-- [pages/launchpad.html](../../pages/launchpad.html) — page-level links
-
-## Nav changes (nav-data.js)
-
-Check whether a "Token" or "Launch" dropdown exists in the main nav. If not, add one (or extend the existing "Platform" / "Tools" dropdown — match the existing grouping convention already in nav-data.js). The new dropdown must include:
-
-| Label | URL | Description |
-|-------|-----|-------------|
-| Launch a Coin | `/launchpad` | Create a token for your agent |
-| All Launches | `/launches` | Public feed of every agent coin |
-| Live Stream | `/pump-live` | Real-time new launches |
-| 3D Visualizer | `/pump-visualizer` | Trending tokens in 3D |
-| Token in 3D | `/coin3d` | View any token as a 3D scene |
-
-Keep the existing nav structure — do not restructure menus that already work. Only add what is missing.
-
-## Per-page cross-link additions
-
-### /launches page
-
-In the page header or below the filters row, add a compact "explore" link row:
-```
-Live stream → | 3D Visualizer → | Launchpad Studio →
-```
-
-Each link must be plain `<a>` tags with `class="lx-explore-link"` and correct `href`. No JS required.
-
-### /pump-live page
-
-In the `#header` bar (already has the page title and stats), add an "All launches →" link to `/launches` and a "Visualizer →" link to `/pump-visualizer`.
-
-### /pump-visualizer page
-
-In the `.vz-controls` overlay, add a "Feed →" link to `/pump-live` and "All launches →" to `/launches`.
-
-### /coin3d page
-
-Below the HUD or in the page header, add:
-- "All launches →" link to `/launches`
-- "3D world →" link to `/communities/<current mint>` (the mint is already in `window.location.search` — read `new URLSearchParams(location.search).get('mint')` to build the link; render it only when a mint is present)
-
-### /launchpad page
-
-On the launchpad page, in the intro or hero section, add a "See all launched coins →" link to `/launches`.
-
-## Verification steps
-
-1. `npm run dev`. Open the main nav. Confirm the new dropdown exists and all links resolve (curl-verify each).
-2. Visit each of the 5 pages above. Confirm the added links appear, have correct hrefs, and do not break existing layout.
-3. On `/coin3d?mint=<valid_mint>`, confirm the "3D world" link resolves to `/communities/<that_mint>`.
-4. Confirm no existing nav links were removed or moved.
-
-## Definition of done
-
-- Main nav has a dropdown (or expanded existing dropdown) linking all 5 launchpad surfaces.
-- Each page listed above has the specified cross-links rendered with correct hrefs.
-- `/coin3d?mint=<X>` shows a "3D world →" link to `/communities/<X>`.
-- All new links return HTTP 200 when curl'd on the dev server.
-- No layout regressions on any changed page at 375px, 768px, 1440px.
-- `npm test` green.
-- Completionist subagent run on changed files.
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/launchpad/08-nav-and-crosslinks.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/mcp-agent-selfsufficiency/01-memory-mcp-tools.md b/tasks/mcp-agent-selfsufficiency/01-memory-mcp-tools.md
deleted file mode 100644
index 2fa0075e5..000000000
--- a/tasks/mcp-agent-selfsufficiency/01-memory-mcp-tools.md
+++ /dev/null
@@ -1,127 +0,0 @@
-# Task 01 — Memory MCP tools (`remember` / `recall` / `forget`)
-
-**Pillar:** Brain (LLM memory). **Server:** main `/api/mcp`.
-**Read first:** [`README.md`](README.md) (shared conventions, MCP authoring
-contract, Definition of Done) and `/CLAUDE.md`.
-
-## Goal
-
-Give agents persistent, recallable memory **through MCP**. The entire memory
-backend already exists and is battle-tested — it is simply not exposed as MCP
-tools. After this task, an agent connected to `/api/mcp` can store a memory,
-recall the most relevant memories for a query, and forget one — closing the
-"brain (LLM **memory**)" half of the narrative that IBM Granite _inference_
-(`/api/ibm-mcp`) does not cover.
-
-## What already exists (wire to this — do not rebuild)
-
-- **REST endpoint:** `api/agent-memory.js` - `GET /api/agent-memory?agentId=` — list an agent's memories (owner only),
- ordered `salience DESC, created_at DESC`, excluding expired (`expires_at`). - `POST /api/agent-memory` — upsert a memory: `{ agentId, type, content, tags,
-context, salience, expires_at }`. `type ∈ {user, feedback, project,
-reference}`; `salience` default `0.5`. - `DELETE /api/agent-memory/:id` — forget (owner only). - Ownership is enforced via `agent_identities.user_id` (see `resolveAuth` and
- the `SELECT user_id FROM agent_identities WHERE id = ${agentId}` checks).
-- **DB table:** `agent_memories (id, agent_id, type, content, tags, context,
-salience, created_at, expires_at, updated_at)`.
-- **Semantic recall:** `api/agents/_id/embed.js` produces Voyage AI embeddings
- (`voyage-3-lite`, 1024-dim) used for similarity search; an `AgentMemory.recall()`
- helper exists (find it — search `recall(` and `agent_memories`) that ranks by
- salience + vector similarity. **Reuse the existing recall logic**; do not
- re-implement embedding/ranking from scratch.
-
-Read all of `api/agent-memory.js` and the recall helper before writing.
-
-## Build
-
-Create `api/_mcp/tools/memory.js` exporting `toolDefs` with three tools, and wire
-it into `api/_mcp/catalog.js` (`import { toolDefs as memoryDefs }` → add to
-`allDefs`).
-
-### `remember` (scope: `memory:write`)
-
-Store a memory for one of the caller's agents.
-
-- Inputs: `agent_id` (required, uuid), `content` (required, 1–4000 chars),
- `type` (enum user|feedback|project|reference, default `reference`), `tags`
- (string[] optional), `context` (string optional), `salience` (number 0–1
- optional, default 0.5), `expires_at` (ISO-8601 string optional).
-- Behavior: verify `agent_identities.user_id === auth.userId` (reuse the
- endpoint's ownership query); upsert into `agent_memories`; if an embedding
- step is part of the existing write path, run it. Return the stored memory id +
- fields.
-
-### `recall` (scope: `memory:read`)
-
-Retrieve the most relevant memories for a query.
-
-- Inputs: `agent_id` (required), `query` (required, 1–1000 chars), `limit`
- (int 1–50, default 8), `type` (optional filter).
-- Behavior: ownership check, then call the existing `AgentMemory.recall()` (or
- equivalent) — semantic similarity over the query embedding, blended with
- salience, excluding expired. Return an ordered list of `{ id, type, content,
-tags, salience, score }`.
-
-### `forget` (scope: `memory:write`)
-
-Delete a memory the caller owns.
-
-- Inputs: `memory_id` (required), or (`agent_id` + `memory_id`).
-- Behavior: ownership check (join `agent_memories` → `agent_identities.user_id`,
- mirroring `handleDelete`), delete, return `{ ok: true, id }`.
-
-## Requirements & edge cases
-
-- **Ownership on every tool.** Reuse `api/agent-memory.js`'s ownership query —
- do not trust `agent_id` from input. If the agent isn't owned by `auth.userId`
- (or `auth.userId` is null on the x402 path), return a designed error
- ("sign in with three.ws OAuth and pass an agent you own"), not a throw.
-- Register `memory:read` and `memory:write` in the OAuth scope list (find where
- scopes like `avatars:read` / `avatars:delete` are defined — `api/_mcp/auth.js`
- / `api/_lib/auth.js`) so they can actually be granted.
-- Recall with zero stored memories returns an empty list with a helpful message,
- not an error.
-- If embeddings/Voyage are unconfigured, recall must still work by falling back
- to salience + recency ordering (the existing helper likely already does this —
- preserve that behavior; do not introduce a new failure mode).
-- Respect a sensible rate limit (reuse an existing limiter from
- `api/_lib/rate-limit.js`; recall/remember are cheap but DB-backed).
-
-## Wiring checklist
-
-- [ ] `api/_mcp/tools/memory.js` created; `toolDefs` = [remember, recall, forget].
-- [ ] Imported + added to `allDefs` in `api/_mcp/catalog.js`.
-- [ ] `memory:read` / `memory:write` scopes registered and grantable.
-- [ ] `INSTRUCTIONS` in `api/_mcp/dispatch.js` mention memory if appropriate.
-- [ ] `server.json` description updated to mention agent memory.
-
-## Definition of Done
-
-All items in [`README.md`](README.md) → "Definition of Done", plus:
-
-- [ ] Catalog assembles: `node --input-type=module -e "import('./api/_mcp/catalog.js').then(m=>console.log(m.TOOL_CATALOG.map(t=>t.name).join(', ')))"` lists `remember, recall, forget`.
-- [ ] `tests/api/mcp-memory.test.js`: ownership rejection, schema validation,
- a happy-path remember→recall→forget round-trip (mock `sql`/embed at the
- module boundary), and the "no memories" empty case. Green.
-- [ ] Manually verified via MCP inspector against `npm run dev`: `remember` then
- `recall` returns the stored item ranked first.
-
-## Out of scope
-
-- A dedicated memory MCP server (memory belongs on the main agent server).
-- Auto-seeding memory from external sources (Farcaster seed already exists at
- `api/agents/_id/memory-seed-farcaster.js` — leave it).
-- Wiring memory into IBM Granite chat (that's a future "memory-aware inference"
- task; this task only exposes store/recall/forget).
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/mcp-agent-selfsufficiency/01-memory-mcp-tools.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/mcp-agent-selfsufficiency/02-avatar-persist-and-render.md b/tasks/mcp-agent-selfsufficiency/02-avatar-persist-and-render.md
deleted file mode 100644
index e9fb9a439..000000000
--- a/tasks/mcp-agent-selfsufficiency/02-avatar-persist-and-render.md
+++ /dev/null
@@ -1,120 +0,0 @@
-# Task 02 — Persist & render an avatar (`save_avatar` / `render_avatar_image`)
-
-**Pillar:** Body. **Server:** 3D Studio `/api/mcp-3d` (+ reuse on main `/api/mcp`).
-**Read first:** [`README.md`](README.md) and `/CLAUDE.md`.
-
-## Goal
-
-The 3D Studio MCP can already _generate_ a GLB (`text_to_3d` → `generation_status`
-→ glb_url), but an agent cannot **persist** that GLB as a durable, named avatar,
-nor get a **rendered image** of it — both require the web app today. This task
-makes the body pipeline end-to-end over MCP: generate → **save** → **render**.
-Saving is the connective tissue that later unlocks embedding (Task 04), on-chain
-identity (Task 03), and OG/social images.
-
-## What already exists (wire to this — do not rebuild)
-
-- **Avatar storage / CRUD:** `api/avatars.js` and `api/agents.js`. Read them for
- the create/persist path — avatars live in the DB with a `model_url` (GLB in R2)
- and metadata (name, slug, visibility, owner `user_id`). Find the function that
- creates an avatar record + the R2 upload helper (search `putObject`,
- `model_url`, `INSERT INTO ... avatars`/`agent_identities`). Reuse it.
-- **MCP read tools already exist** on `/api/mcp`: `list_my_avatars`, `get_avatar`,
- `delete_avatar` (`api/_mcp/tools/avatars.js`) — match their scope/ownership
- style (`avatars:read`, `avatars:delete`).
-- **Render-to-image endpoint:** `api/avatar/render.js` —
- `GET /api/avatar/render?avatar=<uuid>&scene=&pose=&expression=&size=&bg=&format=`.
- Renders a stored avatar to PNG/JPEG/WebP via headless chromium + three.js and
- caches in R2. Scenes: `full-body | upper-body | portrait | headshot`. Pose ids
- come from `src/pose-presets.js`. **Note:** it currently requires a stored
- `avatar` UUID (it reads `avatar.model_url`).
-
-Read `api/avatars.js`, `api/agents.js` (the create path), and `api/avatar/render.js`
-fully before writing.
-
-## Build
-
-### A) `save_avatar` — add to `api/_mcp3d/tools/studio.js` (scope: `avatars:write`)
-
-Persist a public GLB URL (e.g. one returned by `generation_status`) as a durable
-avatar owned by the caller.
-
-- Inputs: `glb_url` (required, public https), `name` (required, 1–80 chars),
- `visibility` (enum `public|unlisted|private`, default `unlisted`),
- `source_prompt` (optional), `tags` (string[] optional).
-- Behavior:
- 1. SSRF-guard the `glb_url` (reuse `isPublicHttpsUrl` already in studio.js).
- 2. Require `auth.userId` (return a designed "sign in to save" error if null).
- 3. Copy the GLB into durable storage (reuse the existing R2 upload / the forge
- `materializeCreation` pattern — search `materializeCreation` in
- `api/_lib/forge-store.js`) so the avatar survives provider URL expiry.
- 4. Create the avatar record (reuse the avatars create function) with
- `model_url` = durable URL, owner = `auth.userId`.
- 5. Return `{ avatar_id, slug, model_url, view_url }` where `view_url` is the
- public avatar page.
-- This bridges Studio → the avatar system: after `save_avatar`, the existing
- `get_avatar` / `render_avatar` / Task 04 embed all work on the result.
-
-### B) `render_avatar_image` — add to `api/_mcp/tools/avatars.js` (scope: `avatars:read`)
-
-Render a stored avatar to an image and return its URL.
-
-- Inputs: `avatar_id` (required, uuid), `scene` (enum full-body|upper-body|
- portrait|headshot, default upper-body), `pose` (optional preset id),
- `expression` (optional ARKit-52 morph object), `size` (int 64–2048, default
- 512), `bg` (string, default transparent), `format` (enum png|jpeg|webp,
- default png).
-- Behavior: verify the avatar is the caller's or public (reuse the
- ownership/visibility check `get_avatar` uses), then produce the render URL via
- the **same code path** as `api/avatar/render.js`. Prefer calling the render
- endpoint's own logic over duplicating the chromium pipeline — if the render
- logic isn't importable, extract the param-building + cache-key + invocation
- into a small shared helper used by both the endpoint and this tool (no
- duplicated chromium code). Return `{ image_url, scene, cached }`.
-
-## Requirements & edge cases
-
-- **No duplicated render pipeline.** If you must share logic, extract a helper
- (`api/_lib/avatar-render.js` or similar) imported by both — delete-aggressively,
- per CLAUDE.md.
-- Ownership/visibility: `render_avatar_image` may render public avatars owned by
- others (matches `get_avatar`), but `save_avatar` always writes to `auth.userId`.
-- Validate `pose` against `src/pose-presets.js` ids and `expression` as a plain
- object (reuse the validation in `api/avatar/render.js`).
-- Designed states: missing avatar → clear not-found; chromium/render failure →
- actionable error, never a fabricated image URL.
-- Register `avatars:write` scope if it doesn't already exist.
-
-## Definition of Done
-
-All items in [`README.md`](README.md) → "Definition of Done", plus:
-
-- [ ] `/api/mcp-3d` catalog lists `save_avatar`; `/api/mcp` catalog lists
- `render_avatar_image` (assembly check for both).
-- [ ] `tests/api/mcp-avatar-persist.test.js`: save happy-path (mock R2 + DB),
- `auth.userId:null` rejection, SSRF rejection of a non-public glb_url, and a
- render happy-path (mock the render layer) + bad-pose rejection. Green.
-- [ ] `server-3d.json` and `server.json` descriptions updated.
-- [ ] Manually verified end-to-end via inspector: `text_to_3d` →
- `generation_status` → `save_avatar` → `render_avatar_image` returns an image
- URL.
-
-## Out of scope
-
-- New non-GLB export formats (FBX/USDZ already partly handled by `remesh_model`).
-- Avatar editing UI. Adding `render_avatar_image` to the 3D Studio server (keep
- it on `/api/mcp` next to the other avatar tools).
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/mcp-agent-selfsufficiency/02-avatar-persist-and-render.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/mcp-agent-selfsufficiency/03-register-agent-onchain.md b/tasks/mcp-agent-selfsufficiency/03-register-agent-onchain.md
deleted file mode 100644
index b126a797a..000000000
--- a/tasks/mcp-agent-selfsufficiency/03-register-agent-onchain.md
+++ /dev/null
@@ -1,117 +0,0 @@
-# Task 03 — Register an agent on-chain (`register_agent` / `identity_check`)
-
-**Pillar:** Network / on-chain digital identity. **Server:** main `/api/mcp`
-(agent-centric tools) — confirm placement; `/api/mcp-agent` is acceptable if it
-fits the wallet/identity grouping better.
-**Read first:** [`README.md`](README.md) and `/CLAUDE.md`.
-
-## Goal
-
-This is the "bootstrap problem." On-chain identity exists (Metaplex Agent
-Registry on Solana, ERC-8004 on EVM, Solana memo attestations), but MCP can only
-**read** reputation/passport — an agent cannot **register** itself. After this
-task, an agent connected over MCP can mint its on-chain identity and screen for
-impersonation, closing the "every digital identity needs a network" pillar.
-
-## What already exists (wire to this — do not rebuild)
-
-- **Metaplex Agent Registry (Solana), server-custodial:** `api/_lib/agent-registry.js`
- - `registerAgentIdentity(...)` — registers a Core asset into the Metaplex Agent
- Registry and mints an Agent Identity PDA. **Custody is held by the collection
- authority (three.ws), not the end user** — so this path can run **server-side
- without the user signing a wallet transaction**. This is the path to expose
- over MCP (headless agents cannot pop a browser wallet).
- - Related: `api/_lib/onchain-deploy.js` mints the Core asset (deploy step,
- separate from registry enrollment). Read both to understand the two-step flow
- and whether `registerAgentIdentity` handles or requires a prior deploy.
-- **ERC-8004 (EVM):** `src/erc8004/agent-registry.js` — requires the **user's
- browser wallet** (ethers `BrowserProvider`) + IPFS upload + `register()` on the
- Identity Registry contract. **Not headless-signable**, so do NOT try to drive
- it from MCP. Instead, for the EVM path, `register_agent` should return a
- **prepared, designed "continue in browser" payload** (the registration JSON +
- the deep link to the web register flow) — never fabricate a transaction or
- claim success.
-- **Identity integrity:** `api/agents/identity-check.js` (POST) — Granite
- embedding + cosine comparison against public agents (impersonation detection) +
- Granite Guardian content screening → `clear | review | block` verdict. REST
- only today.
-- **Existing read tools** (`api/_mcp/tools/solana.js`): `solana_agent_passport`,
- `solana_agent_reputation`, `solana_agent_attestations` — match their style.
-
-Read `api/_lib/agent-registry.js`, `api/_lib/onchain-deploy.js`,
-`api/agents/identity-check.js`, and `api/agents.js` (how an agent row maps to an
-owner + any existing registration metadata column) before writing.
-
-## Build
-
-### `register_agent` (scope: `agents:write` / `identity:write`)
-
-Register one of the caller's agents on-chain.
-
-- Inputs: `agent_id` (required, uuid), `chain` (enum `solana|base`, default
- `solana`), `force` (bool optional — re-register if already registered).
-- Behavior: - Ownership check (`agent_identities.user_id === auth.userId`); reject the
- x402-payer/null path with a designed "sign in" error. - If already registered (check the agent's registration metadata) and not
- `force`: return the existing identity (idempotent), do not double-mint. - **`chain: solana`** → call the server-custodial `registerAgentIdentity(...)`
- path (deploy Core asset first if required). Persist the resulting Agent
- Identity PDA / registration URI back onto the agent record. Return
- `{ status: 'registered', chain, agent_pda, registration_uri, explorer_url }`. - **`chain: base`** (EVM/ERC-8004) → build the registration JSON via the
- existing ERC-8004 helper and return `{ status: 'needs_wallet_signature',
-chain, registration_json, continue_url }` pointing at the web register flow.
- This is a **designed state**, not an error — the EVM path genuinely needs the
- user's wallet; surface that honestly with everything pre-filled. - If Solana registry env/keys are unconfigured → designed "registration not
- configured on this deployment" error (never a fake PDA).
-
-### `identity_check` (scope: `agents:read`)
-
-Screen an agent (or a proposed name/description) for impersonation + policy.
-
-- Inputs: `agent_id` (optional) OR (`name` + `description`), to match what
- `api/agents/identity-check.js` accepts.
-- Behavior: call the same logic as the identity-check endpoint (extract a shared
- helper if it isn't importable — no duplicated Granite calls). Return
- `{ verdict: 'clear'|'review'|'block', similar_agents: [...], reasons: [...] }`.
-
-## Requirements & edge cases
-
-- **Never fabricate an on-chain result.** Every returned PDA / tx / URI must come
- from a real call. Unconfigured or wallet-required → designed states.
-- **Idempotent** registration (guard against double-mint with `force` opt-in).
-- Persist the registration result onto the agent record so the existing read
- tools (`solana_agent_passport`, etc.) reflect it immediately.
-- Reuse `api/agents/identity-check.js` logic for `identity_check`; do not
- re-implement embeddings/Guardian.
-- Register the new scope(s) and gate writes; reject `auth.userId === null`.
-- `$THREE` only — if any registration metadata references a token, it is `$THREE`.
-
-## Definition of Done
-
-All items in [`README.md`](README.md) → "Definition of Done", plus:
-
-- [ ] Catalog lists `register_agent`, `identity_check` (assembly check).
-- [ ] `tests/api/mcp-register-agent.test.js`: ownership rejection, idempotent
- re-register without `force`, the `base` chain `needs_wallet_signature`
- designed payload, the unconfigured-Solana designed error, and an
- `identity_check` verdict path (mock the registry + Granite layers). Green.
-- [ ] `server.json` (and `server-agent.json` if placed there) description updated.
-- [ ] Manually verified: `register_agent(chain:solana)` against a dev/devnet
- config returns a real PDA + explorer URL, and a second call is idempotent.
-
-## Out of scope
-
-- Driving the EVM wallet signature headlessly (return the prepared payload only).
-- New on-chain contracts. SNS domain attachment (a separate, smaller follow-up).
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/mcp-agent-selfsufficiency/03-register-agent-onchain.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/mcp-agent-selfsufficiency/04-embed-code-tool.md b/tasks/mcp-agent-selfsufficiency/04-embed-code-tool.md
deleted file mode 100644
index 28d63a42f..000000000
--- a/tasks/mcp-agent-selfsufficiency/04-embed-code-tool.md
+++ /dev/null
@@ -1,112 +0,0 @@
-# Task 04 — Embed code tool (`get_embed_code`)
-
-**Pillar:** Embed ("as easy as a YouTube video"). **Server:** main `/api/mcp`.
-**Read first:** [`README.md`](README.md) and `/CLAUDE.md`.
-
-## Goal
-
-The post's promise is "embed a persistent, on-chain 3D avatar into any platform
-as easy as embedding a YouTube video." The embed **infrastructure** is mature
-(oEmbed, iframe pages, Open Graph, model-viewer), but there is no MCP tool that
-hands an agent a **copy-paste embed snippet / shareable URL**. After this task,
-an agent can call one tool and get exactly the HTML to paste into Notion,
-Webflow, Framer, a blog, etc.
-
-## What already exists (wire to this — do not rebuild)
-
-- **oEmbed (agents):** `api/agent-oembed.js` —
- `GET /api/oembed?url=<agent-url>` returns oEmbed JSON (`type: rich`) with an
- `html` field containing the `<iframe>` to the embed page, plus width/height.
- Supports JSON + XML, sandbox attributes, camera controls. Handles both
- on-chain agents (`/a/:chainId/:agentId`) and regular agents (`/agent/:id`).
-- **oEmbed (forge creations):** `api/play-oembed.js` — same, for Forge 3D
- creations (`/forge?share=:id` / play URLs).
-- **Embed pages:** `/agent/:id/embed`, `/a/:chainId/:agentId/embed` (the iframe
- targets), and the Forge share view.
-- **Open Graph images:** `api/agent/:id/og`, `api/a-og`, `api/forge-og` (social
- cards) — useful as a `thumbnail_url` in the response.
-
-Read `api/agent-oembed.js` and `api/play-oembed.js` fully; reuse their
-URL-resolution + HTML-building logic. The site origin resolution pattern is in
-`api/_mcp/tools/animations.js` (`resolveOrigin(req)`) — `req` is available to the
-handler.
-
-## Build
-
-### `get_embed_code` (scope: `avatars:read` — read-only)
-
-Return ready-to-paste embed artifacts for an agent or a Forge creation.
-
-- Inputs (one of):
- - `agent_id` (uuid) — embed a regular agent, OR
- - `chain_id` + `onchain_agent_id` — embed an on-chain agent, OR
- - `creation_id` — embed a Forge 3D creation.
- - Plus options: `width` (int, default 480), `height` (int, default 360),
- `autorotate` (bool, default true), `ar` (bool, default true).
-- Behavior:
- - Resolve the canonical public URL for the target (reuse the oEmbed resolver).
- If the target requires ownership/visibility (a private avatar), verify the
- caller may share it (reuse `get_avatar`'s visibility check); otherwise return
- a designed "make it public/unlisted first" error.
- - Build the embed `<iframe>` HTML via the **same logic** the oEmbed endpoint
- uses (extract a shared helper if not importable — no duplicated HTML
- string-building).
- - Return:
- ```json
- {
- "embed_html": "<iframe src=\"https://three.ws/agent/<id>/embed\" ...></iframe>",
- "share_url": "https://three.ws/agent/<id>",
- "oembed_url": "https://three.ws/api/oembed?url=...",
- "thumbnail_url": "https://three.ws/api/agent/<id>/og",
- "width": 480,
- "height": 360
- }
- ```
- - Also return a `content` text block with the raw snippet so a chat client
- shows it as copyable text, **and** (optional, nice) a `type: resource`
- `text/html` artifact so MCP clients that render HTML show a live preview
- (mirror how `preview_3d` returns a model-viewer resource).
-
-## Requirements & edge cases
-
-- **No duplicated embed/oEmbed logic.** Extract a shared builder if needed; both
- the existing endpoint and this tool call it.
-- Exactly one of `agent_id` / (`chain_id`+`onchain_agent_id`) / `creation_id`
- must be provided — validate and return a clear error otherwise.
-- Private/unlisted handling: don't leak a private agent's embed to a
- non-owner. Owner may embed their own private item; others only public/unlisted.
-- Width/height bounds sane (e.g. 240–1920 / 180–1080); clamp, don't error.
-- Origin must be the real site origin (`resolveOrigin(req)` / `APP_ORIGIN`), never
- hardcoded `localhost`.
-
-## Definition of Done
-
-All items in [`README.md`](README.md) → "Definition of Done", plus:
-
-- [ ] `/api/mcp` catalog lists `get_embed_code` (assembly check).
-- [ ] `tests/api/mcp-embed.test.js`: agent embed, on-chain agent embed, forge
- creation embed, the "exactly one target" validation, and a private-not-owner
- rejection. The returned `embed_html` contains the correct `/embed` URL and
- respects width/height. Green.
-- [ ] `server.json` description mentions embeddable output.
-- [ ] Manually verified: paste the returned `embed_html` into a blank HTML file
- and the avatar renders.
-
-## Out of scope
-
-- Platform-specific shortcodes (WordPress/Discord) — the oEmbed + iframe is the
- universal answer. Building new embed pages (they exist).
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/mcp-agent-selfsufficiency/04-embed-code-tool.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/mcp-agent-selfsufficiency/05-wallet-provision-and-monetize.md b/tasks/mcp-agent-selfsufficiency/05-wallet-provision-and-monetize.md
deleted file mode 100644
index 519a4f267..000000000
--- a/tasks/mcp-agent-selfsufficiency/05-wallet-provision-and-monetize.md
+++ /dev/null
@@ -1,119 +0,0 @@
-# Task 05 — Provision & monetize a wallet (`provision_wallet` / `monetize_endpoint`)
-
-**Pillar:** Wallet (jobs with x402). **Server:** agent wallet `/api/mcp-agent`.
-**Read first:** [`README.md`](README.md) and `/CLAUDE.md`.
-
-## Goal
-
-The wallet pillar is currently **consumption-only** over MCP: an agent can check
-status (`wallet_status`) and spend (`pay_and_call`), but it cannot **create/fund**
-a wallet or **earn** — both require the web app. This task makes the wallet
-two-sided: an agent can provision its own wallet and expose a paid x402 endpoint
-to earn USDC, completing "a wallet (jobs with x402)."
-
-## What already exists (wire to this — do not rebuild)
-
-- **Agent wallet MCP tools** (`api/_mcpagent/tools.js`): `wallet_status`,
- `find_services`, `pay_and_call`. Match their style, auth, and spend-cap logic.
-- **Solana wallet management (REST):** `api/agents/solana-wallet.js` —
- list address, check balance, **provision a wallet**, plus
- `api/agents/.../solana/activity` (recent signatures) and
- `api/agents/.../solana/airdrop` (devnet 1 SOL). Find the provisioning function
- (search `provision`, `getOrCreate`, `agent_wallets`/`solana_address`).
-- **Wallet internals:** `api/_lib/agent-wallet.js` (provisioning/custody),
- `api/_lib/x402-user-payer.js` (the payer side). Read these to understand how a
- wallet is created and custodied per agent.
-- **Monetization / earn:** there is an existing monetize path — the
- `monetize-service` skill and `api/_lib/x402-paid-endpoint.js` (paid-endpoint
- wrapper), plus the bazaar discovery (`api/mcp-bazaar.js`) where a service gets
- listed. Read `api/_lib/x402-paid-endpoint.js` and the monetize skill/flow, and
- any `agent_services` / paid-endpoint registry table, to see how an agent
- publishes a priced endpoint that others can `pay_and_call`.
-
-Read `api/agents/solana-wallet.js`, `api/_lib/agent-wallet.js`, and the
-monetize/paid-endpoint code fully before writing.
-
-## Build
-
-### `provision_wallet` (scope: `wallet:write`)
-
-Create (or return the existing) custodial wallet for one of the caller's agents.
-
-- Inputs: `agent_id` (required, uuid), `cluster` (enum `mainnet|devnet`, default
- `mainnet`), `airdrop` (bool, default false — devnet only).
-- Behavior:
- - Ownership check (`agent_identities.user_id === auth.userId`); reject the null
- x402 path with a designed "sign in" error.
- - Idempotent: if the agent already has a wallet, return it (do not re-create).
- - Provision via the existing `api/agents/solana-wallet.js` / `agent-wallet.js`
- path. If `cluster:devnet` and `airdrop:true`, trigger the existing devnet
- airdrop. **Never** airdrop or fabricate balances on mainnet.
- - Return `{ agent_id, address, cluster, sol_balance, usdc_balance, created }`.
-
-### `monetize_endpoint` (scope: `wallet:write` / `services:write`)
-
-Publish a priced x402 endpoint so other agents can pay this agent to use it.
-
-- Inputs: `agent_id` (required), `name` (required), `description` (required),
- `price_usdc` (required, number > 0), `target_url` (required, the upstream the
- agent already serves), `method` (enum GET|POST, default POST), `input_schema`
- (optional JSON Schema object), `network` (enum `base|solana`, default per the
- existing default).
-- Behavior:
- - Ownership check. Validate `target_url` (public https, SSRF-guard).
- - Register the priced endpoint via the existing paid-endpoint / monetize
- mechanism (`api/_lib/x402-paid-endpoint.js` + whatever registry the
- `monetize-service` skill writes to) so it becomes discoverable by
- `find_services` / the bazaar and callable by `pay_and_call`.
- - Return `{ service_id, resource_url, price_usdc, network, bazaar_listed }`.
- - If the wallet/monetize prerequisites aren't met (no provisioned wallet, no
- payout address), return a designed error telling the caller to
- `provision_wallet` first — do not half-create a listing.
-
-## Requirements & edge cases
-
-- **Idempotency** on `provision_wallet`; **no mainnet airdrops/fabricated funds.**
-- Ownership + scope on both tools; reject `auth.userId === null`.
-- `monetize_endpoint` must produce a **real, discoverable** listing that
- `find_services`/bazaar surface and `pay_and_call` can hit — verify the loop
- closes (list → discover → pay). If the existing monetize flow needs a payout
- wallet, enforce that prerequisite (link to `provision_wallet`).
-- Reuse spend-cap / rate-limit conventions from `api/_mcpagent/tools.js`.
-- `$THREE` is the only coin; prices are in **USDC** (the x402 settlement asset) —
- do not introduce any other token.
-- Register `wallet:write` (and `services:write` if used) scopes.
-
-## Definition of Done
-
-All items in [`README.md`](README.md) → "Definition of Done", plus:
-
-- [ ] `/api/mcp-agent` catalog lists `provision_wallet`, `monetize_endpoint`
- (assembly check).
-- [ ] `tests/api/mcp-wallet-provision.test.js`: provision happy-path + idempotent
- second call, ownership/null rejection, mainnet-airdrop refusal, a
- `monetize_endpoint` listing happy-path (mock the registry + wallet layers),
- SSRF rejection of a non-public `target_url`, and the "no wallet → provision
- first" designed error. Green.
-- [ ] `server-agent.json` description updated to reflect provisioning + earning.
-- [ ] Manually verified on **devnet**: `provision_wallet` → `monetize_endpoint`
- → the listing appears via `find_services` / bazaar `search_services`.
-
-## Out of scope
-
-- Token launch (pump.fun coin launch stays REST-only for now).
-- Cross-chain bridging. Changing the custody model. Fiat on-ramp (the `fund`
- skill covers that).
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/mcp-agent-selfsufficiency/05-wallet-provision-and-monetize.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/monetization-feature/03-backend-api-to-set-skill-prices.md b/tasks/monetization-feature/03-backend-api-to-set-skill-prices.md
deleted file mode 100644
index 95f74bb91..000000000
--- a/tasks/monetization-feature/03-backend-api-to-set-skill-prices.md
+++ /dev/null
@@ -1,95 +0,0 @@
----
-status: completed
----
-
-# Prompt 3: Backend - API to Set Skill Prices
-
-**Status:** Not Started
-
-## Objective
-Create an API endpoint that allows an agent creator to set or update the price of their skills.
-
-## Explanation
-With the `agent_skill_prices` table in place, we now need a way for creators to interact with it. This task involves creating a secure API endpoint that accepts pricing information for a skill and saves it to the database.
-
-## Instructions
-1. **Create the API Endpoint:**
- - Create a new API route file, for example, `/api/agents/[id]/skills.js`.
- - Implement a `POST` or `PUT` handler for this route.
- - The route should be protected, ensuring only the authenticated owner of the agent can set prices.
-
-2. **Implement the Handler Logic:**
- - The handler should accept a request body containing `skill_name`, `amount`, and `currency_mint`.
- - Validate the input: ensure `amount` is a positive number and `currency_mint` is a valid address.
- - Use an "upsert" operation:
- - If a price for that `agent_id` and `skill_name` already exists, `UPDATE` it.
- - If it doesn't exist, `INSERT` a new row.
- - Return a success response with the updated pricing information.
-
-## Code Example (Vercel Serverless Function - `api/agents/[id]/skills.js`)
-
-```javascript
-// Example using a hypothetical database client
-import { db } from '@lib/db';
-import { withAuth } from '@lib/auth';
-
-async function handler(req, res) {
- if (req.method !== 'POST') {
- return res.status(405).json({ error: 'Method Not Allowed' });
- }
-
- const { id: agentId } = req.query;
- const { userId } = req.auth;
- const { skill_name, amount, currency_mint } = req.body;
-
- // 1. Verify ownership
- const agent = await db.query('SELECT owner_id FROM agents WHERE id = $1', [agentId]);
- if (!agent.rows.length || agent.rows[0].owner_id !== userId) {
- return res.status(403).json({ error: 'Forbidden' });
- }
-
- // 2. Validate input
- if (!skill_name || typeof amount !== 'number' || amount < 0 || !currency_mint) {
- return res.status(400).json({ error: 'Invalid input' });
- }
-
- try {
- // 3. Upsert into database
- const result = await db.query(
- `INSERT INTO agent_skill_prices (agent_id, skill_name, amount, currency_mint)
- VALUES ($1, $2, $3, $4)
- ON CONFLICT (agent_id, skill_name)
- DO UPDATE SET amount = EXCLUDED.amount, currency_mint = EXCLUDED.currency_mint, updated_at = NOW()
- RETURNING *`,
- [agentId, skill_name, amount, currency_mint]
- );
-
- return res.status(200).json(result.rows[0]);
- } catch (error) {
- console.error('Error setting skill price:', error);
- return res.status(500).json({ error: 'Internal Server Error' });
- }
-}
-
-export default withAuth(handler);
-```
-
-## Definition of Done
-- The API endpoint is created and functional.
-- The endpoint is protected and only allows the agent owner to set prices.
-- The database is correctly updated with the new pricing information.
-- Automated tests are added for this endpoint.
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/monetization-feature/03-backend-api-to-set-skill-prices.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/monetization-feature/05-solana-define-skill-nft-standard.md b/tasks/monetization-feature/05-solana-define-skill-nft-standard.md
deleted file mode 100644
index cae9d1a21..000000000
--- a/tasks/monetization-feature/05-solana-define-skill-nft-standard.md
+++ /dev/null
@@ -1,93 +0,0 @@
----
-status: completed
----
-
-# Prompt 5: Solana - Define Skill NFT Standard
-
-**Status:** Not Started
-
-## Objective
-Define a clear and comprehensive metadata standard for NFTs that represent ownership of an agent's skill.
-
-## Explanation
-To represent skills as unique, tradable assets on the Solana blockchain, we need a robust metadata structure. This standard will ensure that all skill NFTs on the platform are consistent, making them easy to display in wallets and on secondary marketplaces. We will use the Metaplex Token Metadata standard as our base.
-
-## Instructions
-1. **Define Core Metadata Fields:**
- - `name`: The name of the skill (e.g., "Super-Resolution Image Generator"). Should be concise and clear.
- - `symbol`: A short symbol for the skill NFT (e.g., "SR-IMG").
- - `description`: A detailed explanation of what the skill does, its inputs, and its outputs.
- - `image`: A URL to an icon or banner image representing the skill.
- - `external_url`: A URL pointing to the agent's detail page on the three.ws marketplace (e.g., `https://three.ws/marketplace/agents/AGENT_ID`).
-
-2. **Define Custom Attributes (Metaplex `attributes` array):**
- - Create a list of `trait_type` and `value` pairs to store skill-specific information. This is crucial for filtering and discovery.
- - **`trait_type: "Skill Name"`**: `value: "text-to-image"` (The machine-readable name of the skill).
- - **`trait_type: "Agent ID"`**: `value: "AGENT_ID"` (The ID of the agent that this skill belongs to).
- - **`trait_type: "Agent Name"`**: `value: "Creator's Agent"` (The human-readable name of the agent).
- - **`trait_type: "Version"`**: `value: "1.0.0"` (The version of the skill).
- - **`trait_type: "Category"`**: `value: "Image Generation"` (To help with organization).
-
-## Code Example (JSON Metadata)
-
-This is an example of the JSON file that would be uploaded to a decentralized storage service like Arweave and linked in the NFT's metadata.
-
-```json
-{
- "name": "Super-Res Image Generator",
- "symbol": "SR-IMG",
- "description": "This skill allows the agent to take a low-resolution image and generate a high-resolution version using advanced AI models. Outputs a 4x upscaled image.",
- "image": "https://arweave.net/path-to-skill-icon.png",
- "external_url": "https://three.ws/marketplace/agents/AGENT_ID",
- "attributes": [
- {
- "trait_type": "Skill Name",
- "value": "super-resolution-image-generator"
- },
- {
- "trait_type": "Agent ID",
- "value": "f8a4e12d-6b3a-4f3e-8b1a-9c2d7e5f4a1b"
- },
- {
- "trait_type": "Agent Name",
- "value": "PixelPerfect"
- },
- {
- "trait_type": "Version",
- "value": "1.0.0"
- },
- {
- "trait_type": "Category",
- "value": "Image Generation"
- }
- ],
- "properties": {
- "files": [
- {
- "uri": "https://arweave.net/path-to-skill-icon.png",
- "type": "image/png"
- }
- ],
- "category": "image"
- }
-}
-```
-
-## Definition of Done
-- The NFT metadata standard is finalized and documented in this file.
-- The standard includes all necessary fields for discovery, display, and verification.
-- The team agrees on this structure before proceeding to the implementation prompts.
-
-<!-- AUTO:self-delete-on-complete -->
-
----
-
-## ✅ On completion — delete this file
-
-This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
-
-```bash
-git rm "tasks/monetization-feature/05-solana-define-skill-nft-standard.md"
-```
-
-Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.