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.

style(repo): drop the banned dashes from the newest docs, guards and SDK sources

nirholas43de876e6ec8
diff --git a/docs/agent-abilities/chapters/04-the-mind.md b/docs/agent-abilities/chapters/04-the-mind.md
index f9becb44e..ffe2dd5a3 100644
--- a/docs/agent-abilities/chapters/04-the-mind.md
+++ b/docs/agent-abilities/chapters/04-the-mind.md
@@ -104,7 +104,7 @@ Read access to AgenC (agenc.tech, Tetsuo Corp) — an external Solana coordinati
An always-on strategy that scores every new token against converging quality signals — how many smart-money wallets are in, how organic the buying looks, the token's quality score, and its market cap — and autonomously buys only when your thresholds all pass at once. Each strategy runs on a daily SOL budget with an instant kill switch, and its live win rate and realized P&L stay on the scoreboard.
-**How it works:** The sniper worker (workers/agent-sniper/index.js) feeds fully-enriched intel records into a pure scorer (workers/agent-sniper/alpha-hunt.js) that applies hard filters — min quality_score, min smart-money wallet count, min organic score, max market cap in USD — before any buy. Strategies are configured via api/sniper/strategy.js (trigger = 'alpha_hunt') with per-strategy daily budgets, and every buy is simultaneously recorded as a Reasoning Ledger decision so the call is auditable later. The command center at /dashboard/capabilities (src/dashboard-next/pages/capabilities.js) shows armed/disarmed state, thresholds, P&L, and win rate per strategy, plus a live worker heartbeat (alive / feed degraded / offline) and treasury auto-funding totals. `/api/sniper/status` and the worker tick both read fleet solvency rather than process liveness alone, so a fleet whose wallets are starved (or whose funding master is dry) reports that state instead of looking healthy while it silently buys nothing.
+**How it works:** The sniper worker (workers/agent-sniper/index.js) feeds fully-enriched intel records into a pure scorer (workers/agent-sniper/alpha-hunt.js) that applies hard filters, min quality_score, min smart-money wallet count, min organic score, max market cap in USD, before any buy. Strategies are configured via api/sniper/strategy.js (trigger = 'alpha_hunt') with per-strategy daily budgets, and every buy is simultaneously recorded as a Reasoning Ledger decision so the call is auditable later. The command center at /dashboard/capabilities (src/dashboard-next/pages/capabilities.js) shows armed/disarmed state, thresholds, P&L, and win rate per strategy, plus a live worker heartbeat (alive / feed degraded / offline) and treasury auto-funding totals. `/api/sniper/status` and the worker tick both read fleet solvency rather than process liveness alone, so a fleet whose wallets are starved (or whose funding master is dry) reports that state instead of looking healthy while it silently buys nothing.
**Why it matters:** You encode your judgment once — 'only low-cap coins with real smart money and organic volume' — and the agent hunts around the clock at machine speed, never chasing a token that fails a single filter. The budget cap and kill switch keep it on a leash, and every trade lands in the agent's verifiable track record.
@@ -128,7 +128,7 @@ A fee harvester that watches every coin an agent launched and automatically coll
Agents provide range-based liquidity on coins they care about — defending a price floor, trimming into rallies — with Jito-accelerated execution and a rulebook that makes market manipulation structurally impossible, not just discouraged. Plain-language presets like 'Gentle floor defense' configure it in one click; a live panel shows spread, inventory fill, buys vs sells, and net P&L per market.
-**How it works:** Policies live in api/_lib/market-maker.js, the single source of truth shared by the API (api/agent/market-maker.js, api/launch/mm.js) and the engine worker. Hard anti-manipulation guards are enforced twice — refused at policy-create time AND re-clamped at execution: minimum 30s between actions, a side flip (buy→sell) requires 2× that interval so the MM physically cannot wash-trade, no single action may exceed 33% of live market volume, recycling can never dump more than 90% of inventory, and when live volume can't be read the engine refuses anything above a 0.05 SOL slice so it never paints a no-volume tape. Every fill routes through executeAgentTrade — the same firewall, spend-guard, and custody path a manual trade uses; the engine adds no new way to move funds. MEV tip modes (off/economy/turbo) control Jito priority. A policy only ever acts while a market-maker worker is sweeping, so the policy view served by api/launch/mm.js carries engine liveness read from the worker's `bot_heartbeat` (stale after 180s, six missed 30s beats): an enabled policy with a stopped engine reads as "engine offline", never as an armed maker that will never fire.
+**How it works:** Policies live in api/_lib/market-maker.js, the single source of truth shared by the API (api/agent/market-maker.js, api/launch/mm.js) and the engine worker. Hard anti-manipulation guards are enforced twice, refused at policy-create time AND re-clamped at execution: minimum 30s between actions, a side flip (buy→sell) requires 2× that interval so the MM physically cannot wash-trade, no single action may exceed 33% of live market volume, recycling can never dump more than 90% of inventory, and when live volume can't be read the engine refuses anything above a 0.05 SOL slice so it never paints a no-volume tape. Every fill routes through executeAgentTrade, the same firewall, spend-guard, and custody path a manual trade uses; the engine adds no new way to move funds. MEV tip modes (off/economy/turbo) control Jito priority. A policy only ever acts while a market-maker worker is sweeping, so the policy view served by api/launch/mm.js carries engine liveness read from the worker's `bot_heartbeat` (stale after 180s, six missed 30s beats): an enabled policy with a stopped engine reads as "engine offline", never as an armed maker that will never fire.
**Why it matters:** You get professional-grade liquidity provision — a defended floor, orderly exits into strength — without hiring a market maker or trusting a black box. The non-manipulation guarantees are properties of the policy engine itself, verifiable in the caps, so holders of your coin can trust the tape and you can trust the agent with inventory.
diff --git a/public/notifications.js b/public/notifications.js
index 781487364..b4d050d11 100644
--- a/public/notifications.js
+++ b/public/notifications.js
@@ -316,7 +316,7 @@
}
if (!loaded && !errored) { renderSkeleton(); return; }
if (errored && !items.length) {
- // Refetches in place — a control, not a destination, so it's a button.
+ // Refetches in place, a control, not a destination, so it's a button.
var retry = el('button', 'notif-signin-btn', 'Try again');
retry.type = 'button';
retry.addEventListener('click', function () { fetchList(); });
diff --git a/scripts/audit-route-shadowing.mjs b/scripts/audit-route-shadowing.mjs
index 23c3d935d..6caa4a748 100644
--- a/scripts/audit-route-shadowing.mjs
+++ b/scripts/audit-route-shadowing.mjs
@@ -30,7 +30,7 @@
// The line family 3 draws is the load-bearing one. A dispatcher that IMPORTS the
// sibling runs the sibling's code; a dispatcher that reimplements the action
// inline (`case 'channel-feed':`) does NOT, and the sibling is then a stale
-// duplicate of live logic — a real defect, still reported. So reachability
+// duplicate of live logic, a real defect, still reported. So reachability
// follows the import graph under api/ (transitively, since a dispatched module
// may itself dispatch further), seeded from the handlers families 1 and 2 reach.
//
@@ -414,7 +414,7 @@ for (const h of handlers) {
// Pass 3: the in-handler dispatch graph (reachability family 3).
//
// Seeded with every file a request already reaches, then walked over the import
-// edges between files under api/ — including through api/_lib, since a live
+// edges between files under api/, including through api/_lib, since a live
// handler routinely reaches a sibling endpoint's module by way of a shared
// library. Following the edges transitively is what makes the walk correct for
// api/agents/patronage.js, which api/agents/[id].js reaches only through
diff --git a/scripts/sync-tour-global.mjs b/scripts/sync-tour-global.mjs
index 11e47202a..e683020c5 100644
--- a/scripts/sync-tour-global.mjs
+++ b/scripts/sync-tour-global.mjs
@@ -2,7 +2,7 @@
// Rebuild @three-ws/tour's CDN bundle and sync it into public/tour-builder/.
// =========================================================================
// The Tour Builder page (/tour-builder) previews a REAL tour, not a mockup, by
-// loading /tour-builder/tour.global.js — the same IIFE the package publishes to
+// loading /tour-builder/tour.global.js, the same IIFE the package publishes to
// unpkg. That file used to be a hand-copied build output with nothing producing
// it, so it drifted: the copy served to visitors was built against an older
// walk-sdk than the one in this repo. This script is the missing wiring.
@@ -43,7 +43,7 @@ if (current === next) {
if (check) {
console.error(
- '[sync-tour-global] public/tour-builder/tour.global.js is stale — run `npm run build:tour-global`',
+ '[sync-tour-global] public/tour-builder/tour.global.js is stale, run `npm run build:tour-global`',
);
process.exit(1);
}
diff --git a/tests/server-404-routes.test.js b/tests/server-404-routes.test.js
index ea6500973..0994a5cd9 100644
--- a/tests/server-404-routes.test.js
+++ b/tests/server-404-routes.test.js
@@ -37,7 +37,7 @@ describe('unknown routes land on the designed 404', () => {
expect(res.headers.get('content-type')).toMatch(/text\/html/);
const html = await res.text();
// The designed page: its own title, and the ways back into the product.
- expect(html).toContain('three.ws — 404');
+ expect(html).toContain('three.ws, 404');
expect(html).toContain('href="/"');
expect(html).toContain('href="/sitemap"');
});
@@ -64,7 +64,7 @@ describe('shared-shell surfaces do not soft-404', () => {
const res = await get('/docs/definitely-not-a-real-doc-xyz');
expect(res.status).toBe(404);
const html = await res.text();
- expect(html).toContain('three.ws — 404');
+ expect(html).toContain('three.ws, 404');
});
it('an unknown nested /docs/ path returns 404', async () => {
@@ -76,7 +76,7 @@ describe('shared-shell surfaces do not soft-404', () => {
const res = await get('/tutorials/definitely-not-a-real-tutorial-xyz');
expect(res.status).toBe(404);
const html = await res.text();
- expect(html).toContain('three.ws — 404');
+ expect(html).toContain('three.ws, 404');
});
it('a real doc still serves the docs shell', async () => {
diff --git a/tour-sdk/src/index.js b/tour-sdk/src/index.js
index c793d4683..026424981 100644
--- a/tour-sdk/src/index.js
+++ b/tour-sdk/src/index.js
@@ -29,7 +29,7 @@ import { ExploreMode } from './explore.js';
import { resolveTourConfig } from './config.js';
import { createTourState, loadCurriculum } from './curriculum.js';
-// Kept in lockstep with package.json's version by test/index.test.mjs — the
+// Kept in lockstep with package.json's version by test/index.test.mjs, the
// CDN bundle reports this string, so a stale constant misidentifies the build.
export const VERSION = '0.5.1';
diff --git a/x402-payment-modal/examples/solana-crypto-paywall/README.md b/x402-payment-modal/examples/solana-crypto-paywall/README.md
index 0fa353288..2d8aa9e61 100644
--- a/x402-payment-modal/examples/solana-crypto-paywall/README.md
+++ b/x402-payment-modal/examples/solana-crypto-paywall/README.md
@@ -12,7 +12,7 @@ click ─▶ 402 challenge ─▶ Phantom connect ─▶ sign SPL transfer
Three things make it a real test, not a mock:
1. **The modal loads from npm.** `public/index.html` pulls
- `https://unpkg.com/@three-ws/[email protected]` — the exact artifact we
+ `https://unpkg.com/@three-ws/[email protected]`, the exact artifact we
publish — so you're testing the shipped code, not local source.
2. **The data is gated for real.** `/api/paid/crypto` returns live CoinGecko
prices **only** after the payment verifies *and* settles on-chain via the