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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
docs(agent-tokens): document the two market sources and keep the retry button inside a row link
nirholase30d3fee46e6
diff --git a/STRUCTURE.md b/STRUCTURE.mdindex 0274d48bb..c1c248af1 100644--- a/STRUCTURE.md+++ b/STRUCTURE.md@@ -149,6 +149,7 @@ bottom.| Tokenized 3D (mint an avatar as an NFT) | [api/_lib/tokenize-3d.js](api/_lib/tokenize-3d.js) + [api/_lib/tokenize-3d-metadata.js](api/_lib/tokenize-3d-metadata.js), MCP tools [api/_mcp/tools/tokenize.js](api/_mcp/tools/tokenize.js) (`mint_3d_asset`, `get_3d_asset_onchain`), signed ledger provenance [api/_lib/asset-provenance.js](api/_lib/asset-provenance.js), launch directory [api/v1/tokenized/launches.js](api/v1/tokenized/launches.js) `→ GET /api/v1/tokenized/launches`, public gallery [pages/minted.html](pages/minted.html) + [src/minted.js](src/minted.js) `→ /minted` | In-repo | Mint a generated/owned GLB as a Metaplex Core NFT whose media is a live 3D viewer (GLB under `animation_url`), with baked provenance + enforced capped royalties (10%), idempotent, devnet-default. Every generated avatar AND every mint also appends an ERC-191-signed record to the `agent_actions` ledger (verifiable via `@three-ws/provenance-mcp`'s `query_action`). A mint naming `parent_mint` (a remix) routes the parent creator's royalty out of the mint fee as a real on-chain USDC transfer (mainnet, x402-collected calls only) — [api/_lib/remix-royalty.js](api/_lib/remix-royalty.js) split math, [api/_lib/remix-settlement.js](api/_lib/remix-settlement.js) payout wallet. Premium/token-gated generation: the Forge High tier (200k poly + PBR) is $THREE hold-or-pay gated — [api/forge.js](api/forge.js) `requireFeatureAccess('forge.high')` + [api/_lib/three-tier.js](api/_lib/three-tier.js) tier ladder, x402 pay-per-use or credits fallback; Draft/Standard stay free and ungated. Launch record: [tokenized_3d_assets](api/_lib/migrations/20260707120000_tokenized_3d_assets.sql) + [remix-royalty columns](api/_lib/migrations/20260708130000_tokenized_3d_remix_royalty.sql). Public gallery: `/minted` renders the launch directory live (model-viewer thumbnails, network toggle, royalty + remix badges) — the NFT counterpart of `/launches`. Docs: [docs/mcp.md](docs/mcp.md#mint_3d_asset). E2E: [scripts/tokenize-3d-devnet-e2e.mjs](scripts/tokenize-3d-devnet-e2e.mjs). Tests: [tests/tokenize-3d.test.js](tests/tokenize-3d.test.js), [tests/tokenize-3d-remix-royalty.test.js](tests/tokenize-3d-remix-royalty.test.js), [tests/asset-provenance.test.js](tests/asset-provenance.test.js) || Token-gated 3D embeds (holder-only interactive scenes) | Gate config + on-chain verify [api/_lib/embed-gate.js](api/_lib/embed-gate.js), access tokens [api/_lib/embed-gate-token.js](api/_lib/embed-gate-token.js), endpoints [api/embed/gate-create.js](api/embed/gate-create.js) + [api/embed/gate-verify.js](api/embed/gate-verify.js), gate-aware resolver [api/embed/resolve.js](api/embed/resolve.js), MCP tool [api/_mcp/tools/embed.js](api/_mcp/tools/embed.js) (`create_gated_embed`), widget [public/embed/v1.js](public/embed/v1.js) (`<three-d>`) + standalone host [public/embed/v1/gated.html](public/embed/v1/gated.html) `→ /embed/v1/gated` | In-repo | `create_gated_embed(asset_id, gate)` turns an avatar or on-chain agent you own into a holder-only interactive `<three-d>` embed — visitors must prove a real, server-verified SPL balance (SIWS challenge → nonce → signature → Solana RPC read, never a client-reported number) before the live scene renders; below the bar they see a designed locked teaser + connect-wallet CTA. `mint` defaults to $THREE but is a runtime parameter (coin-agnostic plumbing). Anti-abuse: short-lived signed access tokens (auto re-verify on expiry) + per-IP/per-wallet rate limits. Storage: [embed_gates + embed_gate_nonces](api/_lib/migrations/20260708120000_embed_gates.sql). Spec: [specs/EMBED_SPEC.md](specs/EMBED_SPEC.md#token-gating). Docs: [docs/token-gated-3d-embeds.md](docs/token-gated-3d-embeds.md). Tests: [tests/embed-gate.test.js](tests/embed-gate.test.js) || Agent token plans (the coin an agent will become) | Rules + storage [api/_lib/agent-token-plan.js](api/_lib/agent-token-plan.js) (migration [api/_lib/migrations/20260811130000_agent_token_plans.sql](api/_lib/migrations/20260811130000_agent_token_plans.sql)), API actions `plan` + `plan-dry-run` in [api/agents/tokens/[action].js](api/agents/tokens/%5Baction%5D.js) `→ /api/agents/tokens/{plan,plan-dry-run}`, profile panel [src/agent-token-plan.js](src/agent-token-plan.js) on `/agents/:id` | In-repo · Live | The launch configuration bound to the agent record: one saved, editable plan per (agent, network) carrying the coin's name, ticker, story, artwork, pairing, buyback share and dev buy, with a derived readiness verdict and SOL cost estimate. Saving costs nothing and mints nothing. `plan-dry-run` is the free proof lane: it builds the SAME pump.fun create instructions the real launch builds from the SAME plan, compiles them against a real blockhash and simulates them on the cluster (devnet by default), never signing and never broadcasting, and separates `funding_required` from a genuinely broken plan. Both launch paths (`/api/agents/tokens/launch-confirm` from the owner's wallet, `/api/pump/launch-agent` from the agent's custodial wallet) call `markPlanLaunched` and write a `pump_agent_mints` row, which is also what finally puts user-wallet launches into `/launches` and the profile's launch history. Docs: [docs/agent-tokens.md](docs/agent-tokens.md). Tests: [tests/agent-token-plan.test.js](tests/agent-token-plan.test.js), [tests/agent-token-plan-api.test.js](tests/agent-token-plan-api.test.js), [tests/agent-token-plan-render.test.js](tests/agent-token-plan-render.test.js) |+| Agent token market data (what the coin looks like on the profile) | Cluster read [api/_lib/pump-curve-view.js](api/_lib/pump-curve-view.js) `→ GET /api/pump/curve` + `GET /api/v1/pump/curve`, view model [src/widgets/bonding-curve.js](src/widgets/bonding-curve.js) (`computeView`), normalization + widget [src/pump/coin-status-card.js](src/pump/coin-status-card.js) (`mapCoin` / `mapCurve` / `mountCoinStatus`), profile wiring [src/agent-detail.js](src/agent-detail.js) (token chip + launch history) | In-repo · Live | The live market half of an agent token. Two sources, one normalized shape: pump.fun's indexer (`/api/pump/coin`, mainnet, carries logo + 24h volume) and the bonding curve read straight off the cluster (`/api/pump/curve`), which is the ONLY source on devnet and the fallback whenever the indexer has not indexed a fresh mint or cannot be reached. A devnet coin renders in SOL and is badged `DEVNET` (devnet SOL has no dollar value) and links to the explorer instead of a pump.fun page that does not exist for that cluster, so the free rehearsal path renders exactly like a real launch. The curve gate accepts a pump.fun-ground `pump` suffix, a three.ws `3ws` mark, any plausible devnet address, and otherwise asks `pump_agent_mints` whether the mint is one of ours: a coin launched from a user's own wallet carries no mark and used to be refused with a cached `not_a_pump_mint` 404. Market cap is derived as price × supply because the SDK's `price.marketCap` goes negative on live curves. Free proof: [scripts/agent-token-market-proof.mjs](scripts/agent-token-market-proof.mjs) (reads only, signs nothing). Docs: [docs/agent-tokens.md](docs/agent-tokens.md). Tests: [tests/pump-curve-mint-gate.test.js](tests/pump-curve-mint-gate.test.js), [tests/agent-detail-launch-history.test.js](tests/agent-detail-launch-history.test.js), [src/pump/coin-status-card.curve.dom.test.js](src/pump/coin-status-card.curve.dom.test.js) || Launch Studio (coin-launch use cases) | [api/_lib/launch/](api/_lib/launch) `→ /launch-studio`, [api/pump/launch-studio.js](api/pump/launch-studio.js), [public/launch-studio/launch-studio.js](public/launch-studio/launch-studio.js) | In-repo | Engine + catalog of 50 declarative launch recipes — reward coins for trending GitHub repos/creators ([github-trending.js](api/_lib/github-trending.js)) and coins riding live narratives ([launcher-trends.js](api/_lib/launcher-trends.js)). Live preview → `/launch` handoff. Docs: [docs/launch-usecases.md](docs/launch-usecases.md), [api/_lib/launch/README.md](api/_lib/launch/README.md) || Native launchpad (three.ws's own bonding curve) | Curve economics [api/_lib/native-launch/config.js](api/_lib/native-launch/config.js), curve wrapper [api/_lib/native-launch/dbc.js](api/_lib/native-launch/dbc.js), dispatcher [api/native-launch/[action].js](api/native-launch/%5Baction%5D.js) `→ /api/native-launch/{config,quote,pool,launch-prep,launch-confirm,launches}`, lane toggle in [public/studio/launch-panel.js](public/studio/launch-panel.js) | In-repo (devnet-verified; mainnet config not yet deployed) | The second launch lane beside pump.fun: a coin launch on a bonding curve three.ws configures and owns, so the platform earns a share of every trade instead of only creator fees. Runs on Meteora's audited Dynamic Bonding Curve program with three.ws as the on-chain partner — 1B supply, SOL-quoted, immutable metadata, 1% trading fee split 50/50 creator/platform, graduating at ~85 SOL raised into a DAMM v2 pool with **100% of LP permanently locked** (un-ruggable, both sides keep earning). Same custody model as the pump lane (server builds an unsigned tx, the launcher's wallet + mint keypair sign client-side, confirm verifies on-chain that the curve program actually ran before recording). The lane hides itself entirely until a partner config is pinned for that network (`NATIVE_LAUNCH_CONFIG_KEY[_DEVNET]`), so launches fall back to pump.fun rather than half-working. Not to be confused with `/api/launchpad/*` (Launchpad Studio, the page builder). Storage: [native_launches](api/_lib/migrations/20260726100000_native_launchpad.sql). Setup: [scripts/native-launchpad-create-config.mjs](scripts/native-launchpad-create-config.mjs). E2E: [scripts/native-launchpad-e2e-devnet.mjs](scripts/native-launchpad-e2e-devnet.mjs). Docs: [docs/native-launchpad.md](docs/native-launchpad.md). Tests: [tests/native-launch-curve.test.js](tests/native-launch-curve.test.js), [tests/native-launch-endpoint.test.js](tests/native-launch-endpoint.test.js) || Memetic Launcher (per-user autonomous coin launcher) | [pages/launcher.html](pages/launcher.html) `→ /launcher` + [src/user-launcher.js](src/user-launcher.js), API [api/launcher/me.js](api/launcher/me.js), engine [api/_lib/launcher-engine.js](api/_lib/launcher-engine.js) (cron [api/cron/launcher-tick.js](api/cron/launcher-tick.js)), trends [api/_lib/launcher-trends.js](api/_lib/launcher-trends.js) | In-repo | Every user designs their own autonomous pump.fun launcher: mode (trend/meme/hybrid/random), trend sources, cadence, network. Preview (default) records picks without moving SOL; **Live** mints for real, SELF-FUNDED - each launch paid by the user's own agent wallet (base ~0.022 SOL + dev buy), never master SOL, with typed go-live confirm, dev-buy + daily-SOL-cap clamps, unfunded-wallet skips (breaker-immune), and an agent-wallet funding panel with live balances. Docs: [docs/memetic-launcher.md](docs/memetic-launcher.md). Tests: [tests/user-launcher.test.js](tests/user-launcher.test.js), [tests/launcher-engine.test.js](tests/launcher-engine.test.js) |diff --git a/api/_lib/ipfs-pin.js b/api/_lib/ipfs-pin.jsindex 4a7c05334..7625edb21 100644--- a/api/_lib/ipfs-pin.js+++ b/api/_lib/ipfs-pin.js@@ -42,7 +42,13 @@ export const IPFS_READ_GATEWAYS = ['https://gateway.pinata.cloud/ipfs/',];-const GATEWAY_TIMEOUT_MS = 15000;+// Sized against measured cold reads of a freshly pinned manifest: the provider+// gateway answered in 6 to 12 seconds across repeated samples. A 15s budget put+// the slowest of those within 3s of being cut off and reported as unretrievable,+// which is the one outcome this path must not produce for a document that is+// genuinely pinned. Because the gateways race, this budget is only ever paid in+// full when every one of them fails.+const GATEWAY_TIMEOUT_MS = 25000;/*** Fetch a CID from every gateway at once and take the first usable answer.diff --git a/docs/agent-tokens.md b/docs/agent-tokens.mdindex eaa9c3dd3..5a7ddd7b8 100644--- a/docs/agent-tokens.md+++ b/docs/agent-tokens.md@@ -15,7 +15,7 @@ Solana; there is no EVM leg.| --- | --- | --- || **Token plan** | `agent_token_plans`, one row per (agent, network) | The coin this agent is configured to become. Saved, editable, costs nothing, mints nothing. || **Launch record** | `pump_agent_mints` | A coin this agent actually launched through three.ws. Powers [/launches](https://three.ws/launches), the agent profile's launch history, and `GET /api/v1/pump/launches`. |-| **Live market** | pump.fun / the bonding curve | Price, market cap and graduation progress, rendered on the agent's pages from the mint in the launch record. |+| **Live market** | pump.fun's indexer, or the bonding curve on chain | Price, market cap and graduation progress, rendered on the agent's pages from the mint in the launch record. See [where the market numbers come from](#where-the-market-numbers-come-from). |A plan becomes a launch record the moment a launch confirms: the plan flips to`launched`, records its mint, and stops being editable. The configuration that@@ -211,6 +211,49 @@ The profile at `/agents/:id` renders all three objects on one card:The panel is `src/agent-token-plan.js` and is self-contained: mount it on anysurface with an agent id.+### Where the market numbers come from++`mountCoinStatus` (`src/pump/coin-status-card.js`) reads two sources and+normalizes both into one shape, so the chip, the row and the card never know+which answered:++| Source | Endpoint | Used when |+| --- | --- | --- |+| pump.fun's indexer | `GET /api/pump/coin?mint=…` | Mainnet, once pump.fun has indexed the coin. Carries the logo and 24h volume. |+| The bonding curve itself | `GET /api/pump/curve?mint=…&network=…` | Every devnet coin, and any mainnet coin the indexer has not caught up to or cannot be reached for. Read straight off the cluster. |++Two consequences worth knowing:++- **A devnet coin is priced in SOL, not dollars, and badged `DEVNET`.** Devnet+ SOL is not worth money, so rendering a rehearsal coin's market cap as `$…`+ would be a fiction. It shows `◎31.00` and links to the explorer rather than to+ a pump.fun page that does not exist for that cluster. This is what makes the+ free rehearsal path render exactly like the real thing.+- **A fresh mainnet launch is never blank.** The indexer takes minutes to notice+ a new coin; the curve answers immediately, so the profile shows real market+ state from the first block.++Market cap is derived as per-token price × total supply. pump.fun sells a fixed+supply entirely through the curve, so that product is the market cap. (The+SDK's own `price.marketCap` field is not usable for this: on a live devnet curve+95% of the way to graduation it reports a negative number.)++### Proving the lane without spending anything++```bash+node scripts/agent-token-market-proof.mjs # devnet+node scripts/agent-token-market-proof.mjs --network mainnet # real agent tokens+node scripts/agent-token-market-proof.mjs --mint <base58> --network devnet+```++The script walks the whole path with real data: it discovers real mints (from+three.ws's own launch directory on mainnet, from the pump.fun program's live+bonding curves on devnet), runs the same `getCurveView` the endpoint relays,+normalizes it through `mapCurve`, mounts the real widget in a DOM, and prints the+text a visitor would read. Nothing is signed, broadcast or spent; it is a read of+state that already exists on chain. It exits non-zero if nothing renders, so it+doubles as a check on the lane.+## Related- [The pump.fun launcher](./pump-launcher.md): the launch transaction itselfdiff --git a/prompts/swarm-100/roadmap-p2-signed-manifest-ipfs.md b/prompts/swarm-100/roadmap-p2-signed-manifest-ipfs.mddeleted file mode 100644index cf91a4efb..000000000--- a/prompts/swarm-100/roadmap-p2-signed-manifest-ipfs.md+++ /dev/null@@ -1,98 +0,0 @@-# Roadmap build: Phase 2: signed per-agent system prompt pinned to IPFS--How to run: paste this file's repo path into a fresh Claude Code chat in this-repository and say "run this work order". This file is fully self-contained:-it depends on no other prompt file anywhere. If neighboring files in-prompts/swarm-100/ are gone, that work is done; if present, ignore them.-Every claim below rots; step 0 re-measures, and what you measure wins.--## Operating clause (binding)--- Read CLAUDE.md first. Its rules override everything, including this file.-- Finish 100% in this session. Never end the turn with a question, an option- list, or an unexecuted plan. A judgment call goes in one line of the final- report; it never becomes a question that halts work.-- The only permitted stops are the CLAUDE.md stop-and-ask gates: spending real- funds or any irreversible on-chain write, git push or a production deploy,- committing content that references a crypto project other than $THREE, and- destroying unrecoverable data.-- No mocks, no fake data, no placeholder stubs, no unfinished-work markers, no- commented-out code. Real APIs and real integrations only.-- The em-dash and en-dash characters are banned in everything you write.-- Concurrent agents share this worktree: stage explicit paths only (never a- bare add-everything), and commit finished work promptly.-- Before committing, run: npm run check:rules -- --paths <files you touched>.- It must exit 0.--## Context--This order builds one roadmap slice from the README Roadmap (the canonical-phase plan). It is independent of every other roadmap order: if adjacent-slices are absent, build to this slice's boundary with clean interfaces and-never block on them. Solana leads on every chain decision; EVM legs ship-behind flags and never stall the Solana path.--## Task--Roadmap: the per-agent system prompt stored in the manifest, signed, and-pinned to IPFS so an agent's behavior is verifiable and portable.--Step 0: read specs/ for the manifest spec and the existing provenance and-signing code (grep anchor_provenance and manifest signing across api/ and-packages/provenance-mcp); check what pinning infrastructure already exists-in the repo before adding any.--Build: on persona save, produce a canonical manifest document, sign it with-the platform's existing signing identity, pin it (reuse existing pinning-plumbing if present; otherwise select a maintained OSS pinning client and-wire it behind its env var), store the CID on the agent record, and expose-verification: anyone with the CID can check the signature and diff the-manifest against live agent config.--Documentation is part of the feature, not a follow-up: update the docs layer-that applies (data/pages.json for a new page, README for a new directory,-docs/ for a developer capability, specs/ for a wire format) and append a-holder-readable entry to data/changelog.json for anything user-visible.--## Definition of done--- [ ] A real agent's manifest signed, pinned, CID stored, and independently- verified by fetching the CID and checking the signature.-- [ ] Manifest spec in specs/ updated to cover the signed envelope.-- [ ] Verification path covered by a test; npm test green; check:rules clean.-- [ ] Docs and changelog layers updated per the CLAUDE.md documentation- rules; npm run audit:docs clean if docs changed.-- [ ] git diff reviewed line by line before claiming completion.--## Never blocked--| Blocker | Resolution (act, do not ask) |-|---|---|-| Missing env var or credential | Check .env and .env.local, then the Cloud Run service env, then Secret Manager (the CLAUDE.md self-unblock playbook has the exact commands). If it truly exists nowhere, wire the code fully behind the env var, prove the wiring with a dry run, and name the single missing var in the report. |-| gcloud not on PATH | Run: export PATH="$HOME/google-cloud-sdk/bin:$PATH" |-| Dev server port 3000 busy | Another agent may be serving this repo; probe it and reuse if so. Otherwise start your own on a free port: npx vite --port 3101 |-| Playwright browser missing | npx playwright install chromium |-| A surface needs a signed-in user | Register a fresh account through the real /register flow against the real API and use it. Never mock the session. |-| A defect sits in code you did not touch | Fix it if it blocks a Definition of done line (root cause it, never mask it). Otherwise note it in the report and continue. |-| An unrelated test is red | Same rule. Never pipe npm test through tail; it masks exit codes. |--## Close out (required)--1. Verify every Definition of done line with the actual command output in- front of you. Never claim a line you did not verify.-2. Commit with explicit paths and a subject that describes the diff (house- style: type(scope): what changed and why a reader cares).-3. Delete this prompt file in that same commit:-- git rm prompts/swarm-100/roadmap-p2-signed-manifest-ipfs.md-- The shrinking directory is this campaign's only progress ledger; there is- no progress log to update.-4. Final report: what step 0 measured, what changed (file list), evidence per- Definition of done line, and any one-line judgment calls. No trailing- questions, no unexecuted plans.--If a line genuinely cannot pass inside this session (an external party must-respond, or an owner-gated action is the final step), finish everything else,-leave this file in place, and state exactly which line remains and who owns-it. Never delete this file on a partial.diff --git a/prompts/swarm-100/roadmap-p3-agent-tokens-solana.md b/prompts/swarm-100/roadmap-p3-agent-tokens-solana.mddeleted file mode 100644index 07866cde5..000000000--- a/prompts/swarm-100/roadmap-p3-agent-tokens-solana.md+++ /dev/null@@ -1,102 +0,0 @@-# Roadmap build: Phase 3: agent tokens with bonding-curve or fair launch, Solana first--How to run: paste this file's repo path into a fresh Claude Code chat in this-repository and say "run this work order". This file is fully self-contained:-it depends on no other prompt file anywhere. If neighboring files in-prompts/swarm-100/ are gone, that work is done; if present, ignore them.-Every claim below rots; step 0 re-measures, and what you measure wins.--## Operating clause (binding)--- Read CLAUDE.md first. Its rules override everything, including this file.-- Finish 100% in this session. Never end the turn with a question, an option- list, or an unexecuted plan. A judgment call goes in one line of the final- report; it never becomes a question that halts work.-- The only permitted stops are the CLAUDE.md stop-and-ask gates: spending real- funds or any irreversible on-chain write, git push or a production deploy,- committing content that references a crypto project other than $THREE, and- destroying unrecoverable data.-- No mocks, no fake data, no placeholder stubs, no unfinished-work markers, no- commented-out code. Real APIs and real integrations only.-- The em-dash and en-dash characters are banned in everything you write.-- Concurrent agents share this worktree: stage explicit paths only (never a- bare add-everything), and commit finished work promptly.-- Before committing, run: npm run check:rules -- --paths <files you touched>.- It must exit 0.--## Context--This order builds one roadmap slice from the README Roadmap (the canonical-phase plan). It is independent of every other roadmap order: if adjacent-slices are absent, build to this slice's boundary with clean interfaces and-never block on them. Solana leads on every chain decision; EVM legs ship-behind flags and never stall the Solana path.--## Task--Roadmap: agents become real economic objects via agent tokens. Solana is the-home chain and the pump.fun rail already exists; build the agent-token lane-on it first.--Step 0: read the existing launch plumbing (pump launcher APIs, pump_agent_mints,-/launches, the launch-studio surface) and the bonding-curve simulation the-repo already carries; measure what an agent token launch can already do.--Build: a first-class agent-token flow where an agent identity gets its own-token: launch configuration bound to the agent record, launch history on the-agent profile, and the token's market data rendered on the agent's pages.-Every actual mint or spend stays behind the CLAUDE.md gate: the automated-proof path is devnet or the launcher's dry-run lane, and the one-command-mainnet activation is documented for the owner. $THREE remains the only-promoted coin; agent tokens are user-launched product features rendered from-launch records.--Documentation is part of the feature, not a follow-up: update the docs layer-that applies (data/pages.json for a new page, README for a new directory,-docs/ for a developer capability, specs/ for a wire format) and append a-holder-readable entry to data/changelog.json for anything user-visible.--## Definition of done--- [ ] Agent-to-token binding, launch config, profile history, and market- rendering exercised end to end on the free proof path (devnet or- dry run), evidence in the report.-- [ ] No mainnet mint occurred; the activation step is documented.-- [ ] Tests cover the binding and rendering; npm test green; check:rules- clean.-- [ ] Docs and changelog layers updated per the CLAUDE.md documentation- rules; npm run audit:docs clean if docs changed.-- [ ] git diff reviewed line by line before claiming completion.--## Never blocked--| Blocker | Resolution (act, do not ask) |-|---|---|-| Missing env var or credential | Check .env and .env.local, then the Cloud Run service env, then Secret Manager (the CLAUDE.md self-unblock playbook has the exact commands). If it truly exists nowhere, wire the code fully behind the env var, prove the wiring with a dry run, and name the single missing var in the report. |-| gcloud not on PATH | Run: export PATH="$HOME/google-cloud-sdk/bin:$PATH" |-| Dev server port 3000 busy | Another agent may be serving this repo; probe it and reuse if so. Otherwise start your own on a free port: npx vite --port 3101 |-| Playwright browser missing | npx playwright install chromium |-| A surface needs a signed-in user | Register a fresh account through the real /register flow against the real API and use it. Never mock the session. |-| A defect sits in code you did not touch | Fix it if it blocks a Definition of done line (root cause it, never mask it). Otherwise note it in the report and continue. |-| An unrelated test is red | Same rule. Never pipe npm test through tail; it masks exit codes. |--## Close out (required)--1. Verify every Definition of done line with the actual command output in- front of you. Never claim a line you did not verify.-2. Commit with explicit paths and a subject that describes the diff (house- style: type(scope): what changed and why a reader cares).-3. Delete this prompt file in that same commit:-- git rm prompts/swarm-100/roadmap-p3-agent-tokens-solana.md-- The shrinking directory is this campaign's only progress ledger; there is- no progress log to update.-4. Final report: what step 0 measured, what changed (file list), evidence per- Definition of done line, and any one-line judgment calls. No trailing- questions, no unexecuted plans.--If a line genuinely cannot pass inside this session (an external party must-respond, or an owner-gated action is the final step), finish everything else,-leave this file in place, and state exactly which line remains and who owns-it. Never delete this file on a partial.diff --git a/src/pump/coin-status-card.js b/src/pump/coin-status-card.jsindex 09377bc53..560c2955d 100644--- a/src/pump/coin-status-card.js+++ b/src/pump/coin-status-card.js@@ -483,7 +483,19 @@ function skeleton(variant) {function errorState(variant, retry) {return el('div', { class: `csc csc-${variant} csc-error`, role: 'alert' }, [el('span', { class: 'csc-error-msg', text: 'Coin data unavailable.' }),- el('button', { class: 'csc-retry', type: 'button', text: 'Retry', onclick: retry }),+ el('button', {+ class: 'csc-retry',+ type: 'button',+ text: 'Retry',+ // Hosts mount this inside a link (an agent profile's launch-history+ // rows are anchors), so a bare click would navigate away from the page+ // instead of retrying the load.+ onclick: (event) => {+ event.preventDefault();+ event.stopPropagation();+ retry();+ },+ }),]);}