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): close the three items the deploy fixed, verified live

nirholas7a15c20c376a
diff --git a/ISSUES.md b/ISSUES.md
index c6e3ed7ed..9ccf211d1 100644
--- a/ISSUES.md
+++ b/ISSUES.md
@@ -15,16 +15,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.
+`main`. Reading the repo tells you what SHOULD be true in production, not what
+is: this list has more than once carried confident claims about live mitigations
+that had never been deployed.
+
+**Deployed 2026-07-30: production moved `d6a7bf2a4` (2026-07-28) to `bbe5d2403`,
+closing a ~70 commit gap.** That alone fixed three items that had been sitting
+here as code-complete, each verified live afterwards rather than assumed:
+ENS resolution, web search running on scraps, and the stale accuracy number the
+`/fact-check` page was publishing. Post-deploy sweep was 465/466 pages
+(the one miss was a blog route that landed 6 minutes after the built commit).
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.
+required. `npm run db:status` reports all migrations already applied.
## Open
@@ -73,40 +77,26 @@ this repo:
Carried forward from the retired `prompts/x402-catalog/` tracker (campaign
closed 2026-07-28; full history in git):
-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
- with a coverage gate (all-neutral evidence returns `insufficient` instead of
- collapsing every class to `mixed`), the Wikipedia rung returns real intro
- extracts, `searchAll` interleaves the three query angles round-robin instead
- of letting query 1 take all five checked slots, and the stance prompt carries
- an explicit rubric that names a differing figure/date/record-holder as a
- contradiction rather than "neutral". The published number is NOT restated
- here because no trustworthy run exists yet: the last one scored 7.5% with 30
- of 40 claims errored (it measured the LLM outage in item 1, not accuracy) and
- `data/_generated/fact-check-benchmark.json` has been removed so `/fact-check`
- renders its honest "not yet run" state. The runner now refuses to publish any
- 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).
- **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,
+3. **Fact-check benchmark cannot be re-run from this machine** (owner action:
+ one credential). The two halves of this item that were about code and about
+ the deploy are both closed, verified live on 2026-07-30 after the deploy:
+ web search really does lead with Vertex-grounded Google Search now (a live
+ call to `POST /api/x402/fact-check` returned `supported` at 0.98 confidence
+ with `vertexaisearch.cloud.google.com` grounding sources, not DuckDuckGo
+ scraps), and `GET /api/fact-check-benchmark` now returns `ran: false` instead
+ of serving the stale 2026-07-08 run, so `/fact-check` renders its honest
+ "not yet run" state to visitors rather than a misleading 20%.
+ What remains is only the measurement. `scripts/fact-check-benchmark.mjs`
+ targets the PAID endpoint `https://three.ws/api/x402/fact-check`, which
+ answers a small free allowance and then 402s, so a 40-claim run needs a
+ bypass. Neither bypass exists: there is no token with the `x402:bypass`
+ OAuth scope, and `INTERNAL_API_KEY` (the `x-api-key` service path in
+ `api/_lib/x402/access-control.js`) is unset both locally and on the
+ `three-ws-api` Cloud Run service. Action: set `FACT_CHECK_BYPASS_TOKEN`, or
+ set `INTERNAL_API_KEY` on the service and pass it as `x-api-key`. Then
+ `node scripts/fact-check-benchmark.mjs`. The runner refuses to publish any
+ run with >10% errored claims, so a degraded run cannot poison the page.
+4. **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
@@ -116,34 +106,7 @@ closed 2026-07-28; full history in git):
`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
- `.sol` lane worked. Two root causes, both fixed: `RPC_URL_ETHEREUM` pointed
- at `eth.llamarpc.com`, which Cloudflare bot-walls with a 403 on datacenter
- POSTs, and an operator override is pinned first, so every call burned a
- guaranteed failure before failing over; and the handler used ethers
- `resolveName`, which walks registry, resolver, supportsInterface and addr as
- separate sequential round trips, multiplying that cost 3-5x. Now:
- `api/_lib/evm/rpc.js` sorts known-hard-fail keyless hosts last (kept, never
- dropped), and `api/v1/resolve.js` resolves through viem's ENS Universal
- Resolver in one `eth_call` per direction. Measured keyless (no Alchemy key,
- as production runs): 269ms forward, 234ms reverse, and a miss now returns a
- 404 instead of timing out. Cover: `tests/evm-rpc-endpoint-order.test.js`,
- ops probe: `node --env-file=.env scripts/probe-evm-rpc.mjs --chain 1 --ens`.
- The same broken walk was in three more call sites, all now routed through
- the shared `api/_lib/evm/ens.js` helper: `/api/agents/ens/:name` (3s budget,
- so it timed out on every name), the x402 identity-claim verifier (5s, which
- silently downgraded every ENS claim to "no evidence"), and `/api/v1/resolve`.
- All verified resolving keyless end to end.
- Verify after the next deploy, then drop this item. The related operator
- action is already moot: `RPC_URL_ETHEREUM` is not set on the `three-ws-api`
- Cloud Run service at all (checked 2026-07-30), so there is nothing to
- repoint or unset. Re-measured live the same day, production still returns
- 503 `ens_unavailable` on `vitalik.eth` while `three.sol` resolves in 246ms,
- which confirms the remaining gap is purely the undeployed fix.
-
-7. **BSC testnet contracts are code-complete but never publicly deployed**
+5. **BSC testnet contracts are code-complete but never publicly deployed**
(owner action; re-homed here 2026-07-30 when the BNB Chain campaign's work
orders were retired). Every contract proof in that campaign ran against an
anvil fork or a local instance because no funded deployer key exists:
@@ -162,7 +125,7 @@ closed 2026-07-28; full history in git):
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).
+6. **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
@@ -175,7 +138,7 @@ closed 2026-07-28; full history in git):
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**
+7. **`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:
@@ -186,7 +149,7 @@ closed 2026-07-28; full history in git):
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).
+8. **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