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.

docs(ops): record what each CoinCommunities surface does without the API key

nirholascd73dbecaa4f
diff --git a/docs/ops/gcp-production.md b/docs/ops/gcp-production.md
index 9a749c80d..1d11ad703 100644
--- a/docs/ops/gcp-production.md
+++ b/docs/ops/gcp-production.md
@@ -388,7 +388,7 @@ only on Vercel, was never carried to Cloud Run, and nothing alerted. Restored
| Ops-alert Telegram push | `TELEGRAM_ALERTS_CHAT_ID` | `api/_lib/alerts.js` degrades to table-only (`ops_alerts`): no push notification for treasury-low, balance-floor, or breach alerts. This is why the 10-day Money Pulse flatline never pinged anyone. `TELEGRAM_BOT_TOKEN` survived; only the private ops chat id was lost in the migration. | Owner supplies the private ops chat/DM id (never the public holders' channel) and applies `--update-env-vars TELEGRAM_ALERTS_CHAT_ID=<id>`. |
| Collection authority | `SOLANA_AGENT_COLLECTION_AUTHORITY_KEY` | Agent NFT collection ops can't sign | Intentionally excluded from `scripts/wire-master-wallet.mjs` (on-chain update authority must stay its original wallet). Owner holds the key. |
| R2/S3 storage creds | `S3_ENDPOINT`, `S3_ACCESS_KEY_ID`, `S3_SECRET_ACCESS_KEY`, `S3_BUCKET`, `S3_PUBLIC_DOMAIN` | `/api/marketplace`, `/api/explore`, `/api/avatars/:id` — every route that resolves an asset URL — 503 `not_configured` | Real values already sit in the repo's `.env.local` (never committed). Apply with `scripts/gcp/apply-s3-env.sh` (needs a human-authed `gcloud auth login` first — the 89-var apply is still blocked on reauth per above). |
-| CoinCommunities API key | `CC_API_KEY` | `/api/clash/state` 503s `cc_unconfigured` (`api/_lib/coin-communities.js`); Town chat renders its designed locked state. `/api/community/worlds` no longer dies: it fails over to the live pump.fun trending feed (`api/_lib/pump-trending.js`) and tags the response `source: "pump-trending"`, so the world picker stays alive. | Keys are provisioned manually by the CoinCommunities team (their docs say "contact support": no self-serve signup, and the SDK's `business/register` endpoints are not deployed on `api.coin-communities.xyz`). Owner outreach to @CoinComms required; set `CC_API_KEY` (+ optional `CC_SERVER_KEY`/`CC_SERVER_SECRET`) on the Cloud Run service when granted. |
+| CoinCommunities API key | `CC_API_KEY` | `/api/clash/state` 503s `cc_unconfigured` (`api/_lib/coin-communities.js`); Town chat renders its designed locked state. `/api/community/worlds` no longer dies: it fails over to the live pump.fun trending feed (`api/_lib/pump-trending.js`) and tags the response `source: "pump-trending"`, so the world picker stays alive. The Play holders gate shows its `unavailable` state ("Holder check is offline") and offers a one-click path into the coin's open world, so a gated world is never a dead end. | Keys are provisioned manually by the CoinCommunities team (their docs say "contact support": no self-serve signup, and the SDK's `business/register` endpoints are not deployed on `api.coin-communities.xyz`). Owner outreach to @CoinComms required; set `CC_API_KEY` (+ optional `CC_SERVER_KEY`/`CC_SERVER_SECRET`) on the Cloud Run service when granted. |
| x402 ring payer USDC float | — (not a var: an on-chain balance) | The autonomous loop's payer wallet holds $0 USDC, so every paid call is skipped. Since 2026-07-09 this manifested as ~1 failed settle/minute (`broadcast_failed:Simulation failed`); the loop now skips paid calls instead. Free + monitoring entries are unaffected. | Send USDC to the payer wallet (`X402_SEED_SOLANA_SECRET_BASE58`'s pubkey). Floor is `X402_RING_PAYER_USDC_FLOOR_ATOMIC` (default $5) — fund meaningfully above it or it re-drains. See **x402 ring payer float** below. |
### x402 ring payer float — why an empty wallet used to storm Solana
diff --git a/docs/ops/production-log-triage.md b/docs/ops/production-log-triage.md
index 204b88172..68fce2d7c 100644
--- a/docs/ops/production-log-triage.md
+++ b/docs/ops/production-log-triage.md
@@ -627,11 +627,22 @@ ws error: Unexpected server response: 301
HTTP 503 GET /api/community/worlds body: {"error":"cc_unconfigured","error_description":"CoinCommunities is not configured"}
```
-- **Source:** [api/community/worlds.js](../../api/community/worlds.js) throws
- its designed `UnconfiguredError` 503 because `CC_API_KEY` is not set. Swept
- 2026-07-26: the key exists nowhere — not on the Cloud Run service, not in
- `.env`/`.env.local`, not in Secret Manager. The coin-worlds lobby renders its
- empty state; nothing is crashing.
+- **Source:** every `api/community/*` and `api/clash/*` handler throws the
+ designed `UnconfiguredError` 503 from [api/_lib/coin-communities.js](../../api/_lib/coin-communities.js)
+ because `CC_API_KEY` is not set. Re-swept 2026-08-08: the key still exists
+ nowhere, not on the Cloud Run service (checked all 200 env vars), not in
+ `.env`/`.env.local`, not in Secret Manager. Nothing is crashing, and every
+ surface has a designed answer for it:
+ - `/worlds` fails over to the live pump.fun trending feed and tags the
+ response `source: "pump-trending"`, so the world picker stays populated.
+ - `/messages` renders the town's unavailable state and a locked composer
+ ("Posting opens soon"); the live feed stays open.
+ - `/holder-pass` drives the Play holders gate to its `unavailable` state
+ ("Holder check is offline") with a working one-click path into the coin's
+ open world. Before 2026-08-08 this was the one dead end: the gate showed
+ the raw upstream string with retry-only actions that could never succeed.
+ - `/clash/*` pins the battle tabs on a human message and stops the 5s poll
+ on the first `cc_unconfigured` answer.
- **Resolve (owner, credential):** provision a CoinCommunities API key
(api.coin-communities.xyz), then:
`gcloud run services update three-ws-api --region us-central1 --update-env-vars CC_API_KEY=<key>`.