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(issues): re-verify every open item against live production

nirholasdbc5caaa6e13
diff --git a/ISSUES.md b/ISSUES.md
index 8916a2faf..8dcd477b6 100644
--- a/ISSUES.md
+++ b/ISSUES.md
@@ -12,6 +12,20 @@ work that is still open.
---
+## Check the deploy gap before debugging anything here
+
+`curl -s https://three.ws/api/version` returns the live commit; compare it to
+`main`. On 2026-07-30 production ran `d6a7bf2a4` (2026-07-28) while `main` was
+~70 commits ahead, and **five of the items below are wholly or partly closed by
+shipping code that is already written and tested**. Reading the repo tells you
+what SHOULD be true in production, not what is: two items on this list carried
+confident claims about live mitigations that had never been deployed.
+
+Deploys are owner-gated (CLAUDE.md gate 2), so a correct fix can sit unshipped
+indefinitely. When an item says "needs deploy", no further engineering is
+required. `npm run db:status` reports all migrations already applied, so the gap
+is safe to ship.
+
## Open
Re-verified against the live Cloud Run services on 2026-07-22. The 2026-07-04
@@ -51,13 +65,16 @@ this repo:
Carried forward from the retired `prompts/x402-catalog/` tracker (campaign
closed 2026-07-28; full history in git):
-3. **No web-search key in prod** (owner action, now non-blocking). `BRAVE_API_KEY` /
- `TAVILY_API_KEY` / `EXA_API_KEY` / `SERPER_API_KEY` are all absent on
- `three-ws-api`. This no longer leaves the fact-checker on DuckDuckGo scraps:
- the search chain now leads with Vertex-grounded Google Search (service-account
- auth, GCP credits, no third-party key) and the keyless Wikipedia rung returns
- full intro extracts rather than 150-char highlight fragments. Setting one of
- the four keys is still an upgrade, not a prerequisite.
+3. **Web search runs on scraps, and the mitigation is NOT live** (needs deploy).
+ `BRAVE_API_KEY` / `TAVILY_API_KEY` / `EXA_API_KEY` / `SERPER_API_KEY` are all
+ absent on `three-ws-api`. This item used to claim the chain "now leads with
+ Vertex-grounded Google Search" so the fact-checker was off DuckDuckGo scraps.
+ Verified false on 2026-07-30: that is repo-only. `api/_lib/web-search.js`
+ exists solely in `db845e6e4`, which is not an ancestor of the deployed commit,
+ and the running `agents/fact-checker/src/search-sources.js` is still the
+ 2026-07-08 version. Production really is on Wikipedia and DuckDuckGo scraps
+ today. Action: deploy. Setting one of the four keys stays an upgrade, not a
+ prerequisite.
4. **Fact-check verdict quality, reworked in-repo 2026-07-29, benchmark
awaiting a clean run** (code). The chain-level defects behind the 20% score
are fixed: `computeVerdict` now judges direction over stance-BEARING weight
@@ -74,10 +91,23 @@ closed 2026-07-28; full history in git):
run with >10% errored claims. Action: re-run
`node scripts/fact-check-benchmark.mjs` against production once the deploy
below lands (Vertex answers there, so the chain is not degraded).
-5. **ASR/media backstops unconfigured** (owner action).
- `NVIDIA_ASR_FUNCTION_ID` unset in prod (`/api/v1/ai/asr` returns 503
- `not_configured`); the Replicate account is out of credit; Upstash Redis is
- absent on `three-ws-api`.
+ **Production is still publishing the stale 20% right now.** Deleting the file
+ in the repo does not remove it from the running image: it is still tracked at
+ the deployed commit, so `https://three.ws/api/fact-check-benchmark` serves the
+ 2026-07-08 run and the public `/fact-check` page renders 20% to visitors. The
+ deploy is what stops that, so it comes before the re-run. Note also that the
+ re-run stays blocked until item 1's LLM stall fix ships in the same deploy,
+ otherwise `refuseIfDegraded()` will correctly refuse again.
+5. **Replicate is an unfunded optional image lane** (owner action,
+ non-blocking). Narrowed on 2026-07-30: two of this item's three original
+ claims were stale and are struck. ASR **works**, `NVIDIA_ASR_FUNCTION_ID` is
+ set and `GET /api/v1/ai/asr` returns 200 `configured: true`, with a real 16kHz
+ WAV round-tripping in 1.5s via `riva-asr`. Redis is **present**, not absent:
+ `UPSTASH_REDIS_REST_URL` points at a self-hosted SRH proxy on the VPC, and the
+ ASR quota counter decrementing proves the store is live. Only
+ `REPLICATE_API_TOKEN` is genuinely absent, and `api/_lib/ai-image-lanes.js`
+ treats Replicate as one of three lanes with Vertex serving the traffic, so
+ nothing is degraded. Fund it only if a third image lane is wanted.
6. **ENS resolution was live-broken; fixed in-repo 2026-07-29, awaiting
deploy.** `GET /api/v1/resolve?name=vitalik.eth` returned 503
`ens_unavailable` (measured 9.7s and 12.4s against the 8s budget) while the
@@ -123,3 +153,77 @@ closed 2026-07-28; full history in git):
address exists, `/api/bnb/world-config` starts returning `deployed:true` for
real visitors and the sender/reader/ghost paths light up as already proven.
Full history: `prompts/bnb-chain/PROGRESS.md`.
+
+8. **The x402 sponsor has under a day of runway** (owner action: ~1 SOL).
+ Measured 2026-07-30: the sponsor
+ (`WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW`) holds 0.0502 SOL against a
+ burn of ~0.085 SOL/day, derived from 8,030 lamports per settle over 10,611
+ settles in `x402_self_facilitator_log`. Do not quote a remembered burn rate
+ here; the previously circulated "1 to 2 SOL/day" was wrong by roughly 10x.
+ ~1 SOL covers about 12 days. **Never top up per-agent wallets**, that strands
+ SOL and kills the rail. Related but already handled: the earlier
+ `fee_wallet_below_floor` outage (18:00 to 02:45) was a symptom of item 2, not
+ an independent fault, and cleared with no funding the moment `SOLANA_RPC_URL`
+ was repointed. Do not lower `X402_SPONSOR_SOL_FLOOR_LAMPORTS`; the shortfall
+ was 0.00018 SOL and the floor was doing its job.
+
+9. **`x402_settle` reports degraded, and what remains is rail faults**
+ (closes with item 2). The settle sensor sits near 78% on a rolling 3h window,
+ dragged down by the dead hours above; it ran 95.2% in the hour after the RPC
+ repoint. Every current failure is RPC-shaped rather than financial:
+ `broadcast_failed` with empty simulation logs, `Blockhash not found`, and
+ malformed-response parse errors. The test that settles this is grouping
+ failures by payment amount, because they are amount-independent and the
+ *smallest* bucket has the worst ratio, which insufficient funds cannot
+ produce. Free lanes cap the achievable rate at roughly 82-95%, so restoring
+ one paid RPC plan is the fix.
+
+10. **The OKX marketplace chat bot is logged out** (owner action: one login).
+ Chat for OKX agent #2632 is delivered by a local `okx-a2a` daemon plus an
+ `onchainos` wallet session, both outside this repo. The daemon is staged and
+ running with skills linked; only the wallet session is logged out, and
+ finishing it needs a human (email OTP as `[email protected]`). Run
+ `npm run okx:bot` for the current login URL and the follow-up poll command:
+ exit 0 means online, exit 2 means staged but logged out. A codespace cannot
+ stay up on its own, so an always-on host is the durable fix.
+
+---
+
+## Recently closed (2026-07-30; do not re-open without new evidence)
+
+Kept briefly because each one was previously mis-stated on this list, and the
+wrong version is what a future reader would otherwise trust.
+
+- **Neon storage pressure.** `isStoragePressured()` reports `pressured: false` at
+ 2768MB, and `SHOW neon.max_cluster_size` returns **16TB**, so the 8192MB
+ high-water on the service is a deliberate runaway backstop rather than a cap
+ being approached. Worth watching only because the branch grew ~230MB in a day.
+- **ASR and Redis.** See item 5: both were listed as unconfigured and both work.
+- **World blueprint assets.** The `world` subsystem reported "1 blueprint
+ asset(s) missing" while all 17 distinct assets served 200 to an independent
+ sweep. The sensor swept the blueprint list verbatim (136 entries for 17 files)
+ and treated a single transient HEAD timeout as a hard 404, parking a degraded
+ verdict for the full cache hour. Now it sweeps distinct assets, retries a
+ transient failure once, logs which URL is implicated, and only a 404/410
+ counts. `world` reports ok.
+- **Three shadowed agent routes.** `GET /api/agents/ens/:name`,
+ `GET /api/agents/8004/agent` and `GET /api/agents/8004/search` all answered the
+ agent-profile dispatcher's "agent not found": the broad
+ `/api/agents/([^/]+)(?:/.*)?` route sat above them and, being pre-filesystem,
+ the filesystem phase never saw them either. `api/agents/ens/[name].js` had
+ never served a request, and `/demos/erc8004` could neither search the registry
+ nor open an agent. Routes added above the catch-all and pinned by
+ `tests/vercel-agents-subpath-routes.test.js`. Ships with the next deploy.
+- **The seed cron's 409 storm.** Every payment in a batch was built from
+ identical inputs with a fixed priority fee, so all N serialized to the same
+ bytes, collided on one hashed payment id, and 409'd on all but one (about 40 of
+ 41 lost per tick, the largest single source of 4xx on the fleet). The compute
+ unit price now varies by index. Cover:
+ `tests/x402-seed-tx-uniqueness.test.js`.
+- **Redis proxy SIGBUS.** `three-ws-redis-proxy` was crashing on signal 10 at
+ 512Mi, which surfaced as cache SET timeouts and rate-limiter degradation while
+ healthz still read `cache: ok` because the memory fallback masked it. Raised to
+ 1Gi.
+- **The bridge-down alert carried no information.** Its message escaped its own
+ template interpolations, so it logged the literal source text instead of the
+ count and the bridge names.