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: strip the banned em-dashes from the lines this batch added

nirholas260b7ce2c783
diff --git a/api/_lib/agora-human.js b/api/_lib/agora-human.js
index 0d5d39ae9..812a8c1f5 100644
--- a/api/_lib/agora-human.js
+++ b/api/_lib/agora-human.js
@@ -178,7 +178,7 @@ async function faucetSources(connection) {
return sources;
}
-// Top up a devnet wallet from the faucet with backoff — mirrors the roundtrip
+// Top up a devnet wallet from the faucet with backoff: mirrors the roundtrip
// example. Mainnet never airdrops: an underfunded mainnet wallet is an honest,
// actionable error, not a silent failure. Returns the final balance; callers
// that are about to sign must gate on requireFunded(), because a rate-limited
@@ -196,7 +196,7 @@ export async function ensureDevnetBalance(connection, keypair, neededLamports) {
// falls through to the next source/chunk instead of hanging the window.
await confirmOrThrow(src, sig, 'confirmed', { timeoutMs: 30_000 });
} catch {
- continue; // this source is dry/throttled — try the next one
+ continue; // this source is dry/throttled: try the next one
}
bal = await connection.getBalance(keypair.publicKey);
if (bal >= neededLamports) return bal;
diff --git a/api/_lib/cron-auth.js b/api/_lib/cron-auth.js
index 0360587a4..cc7529534 100644
--- a/api/_lib/cron-auth.js
+++ b/api/_lib/cron-auth.js
@@ -5,7 +5,7 @@
// Why it is shared: the gate used to be copy-pasted per file. All the copies
// were fail-closed, but there were eleven distinct spellings of the same eight
// lines, two of them with INVERTED return semantics ("true" meant "handled",
-// i.e. rejected) — so a future paste had a real chance of landing an accidental
+// i.e. rejected): so a future paste had a real chance of landing an accidental
// fail-open, and no single place existed to review or harden. One export, one
// review surface, one set of semantics.
//
@@ -20,7 +20,7 @@
// either is a superset of what each call site accepted before, never a
// weakening.
// • The presence of an `x-vercel-cron` (or any other) header is NOT
-// authorization on its own — an inbound header is spoofable if it ever
+// authorization on its own: an inbound header is spoofable if it ever
// reaches the function unstripped.
//
// Returns true when the caller is the scheduler (handler may proceed). On
diff --git a/api/_lib/onchain.js b/api/_lib/onchain.js
index 08f748cc2..ba0e7d922 100644
--- a/api/_lib/onchain.js
+++ b/api/_lib/onchain.js
@@ -499,7 +499,7 @@ export async function resolveLatestValidation({ chainId, agentId, kind = KIND_GL
hashes = await _withTimeout(registry.getAgentValidations(BigInt(agentId)), 4000);
} catch (err) {
// An agent nobody has ever requested validation for reads as empty, and a
- // chain whose registry predates this agent reverts — both are "no verdict",
+ // chain whose registry predates this agent reverts: both are "no verdict",
// not an error worth surfacing on a badge.
const msg = String(err?.shortMessage || err?.reason || err?.message || '');
if (err?.code === 'CALL_EXCEPTION' || err?.code === 'BAD_DATA') {
diff --git a/api/_lib/validation-attest.js b/api/_lib/validation-attest.js
index db8850798..04edff80a 100644
--- a/api/_lib/validation-attest.js
+++ b/api/_lib/validation-attest.js
@@ -40,7 +40,7 @@ import {
} from '../../src/erc8004/validation-report.js';
// Just the ERC-721 authority reads the registry itself checks before accepting a
-// validationRequest — enough to tell "we can open this request" from "the owner
+// validationRequest: enough to tell "we can open this request" from "the owner
// has to".
const IDENTITY_AUTH_ABI = [
'function ownerOf(uint256 tokenId) external view returns (address)',
diff --git a/api/agenc/[action].js b/api/agenc/[action].js
index 592f219cb..c11ef6124 100644
--- a/api/agenc/[action].js
+++ b/api/agenc/[action].js
@@ -224,14 +224,14 @@ async function handleGetTask(req, res) {
}
// A task account records WHAT happened but not the signature of the transaction
-// that did it — Solana account state can't recover the signatures that wrote it,
+// that did it: Solana account state can't recover the signatures that wrote it,
// so every on-chain timeline event arrives with `txSignature: null` and a client
// can only render "no tx recorded". three.ws does know them: each write through
// the Agora rail is journalled into `agora_activity` with its real signature (and,
// for a completion, the deliverable URL + proofHash that the completion bound).
//
// So we fill the chain's blanks from our own journal, keyed by task PDA. Rules:
-// • The chain stays authoritative — an event that already carries a signature is
+// • The chain stays authoritative: an event that already carries a signature is
// never overwritten, and no event is invented that the chain didn't report.
// • Enrichment is best-effort: if the DB is unreachable the timeline is returned
// exactly as the chain gave it. A missing signature renders as an honest "no tx
diff --git a/api/agents/register/[action].js b/api/agents/register/[action].js
index 231533062..c1a6119e1 100644
--- a/api/agents/register/[action].js
+++ b/api/agents/register/[action].js
@@ -21,12 +21,12 @@ import { z } from 'zod';
const prepSchema = z.object({
name: z.string().trim().min(1).max(60),
- // agent_identities bios run up to 500 chars (api/agents.js) — accept the
+ // agent_identities bios run up to 500 chars (api/agents.js): accept the
// same cap here so a long bio doesn't 400 the deploy.
description: z.string().trim().max(500),
avatarId: z.string().uuid(),
// When deploying an EXISTING three.ws agent (the profile-page DeployButton),
- // its row id — confirm binds the on-chain identity onto that row instead of
+ // its row id: confirm binds the on-chain identity onto that row instead of
// inserting a duplicate.
agentDbId: z.string().uuid().optional(),
brain: z.object({ provider: z.string().optional(), model: z.string().optional(), instructions: z.string().optional() }).optional(),
@@ -130,7 +130,7 @@ async function handlePrep(req, res) {
const { cid, metadataURI } = await pinRegistrationJson(registrationJson);
const expiresAt = new Date(Date.now() + 60 * 60 * 1000);
// payload stores the pinned manifest plus a _local block confirm needs to
- // bind the identity row (never pinned — added after the pin above).
+ // bind the identity row (never pinned: added after the pin above).
const payload = { ...registrationJson, _local: { avatarId: body.avatarId, ...(body.agentDbId ? { agentDbId: body.agentDbId } : {}) } };
const [prep] = await sql`insert into agent_registrations_pending (user_id, cid, metadata_uri, payload, expires_at) values (${session.id}, ${cid}, ${metadataURI}, ${JSON.stringify(payload)}::jsonb, ${expiresAt}) returning id`;
return json(res, 200, { ok: true, cid, metadataURI, prepId: prep.id });
@@ -142,7 +142,7 @@ const confirmSchema = z.object({
prepId: z.string().uuid(),
chainId: z.number().int().positive(),
// The client's best-effort parse of the Registered event. '0'/absent means
- // "couldn't parse" — the server-decoded event id is authoritative either way.
+ // "couldn't parse": the server-decoded event id is authoritative either way.
agentId: z.union([z.string(), z.number()]).optional(),
txHash: z.string().regex(/^0x[a-f0-9]{64}$/i),
});
@@ -181,7 +181,7 @@ async function fetchTransactionReceipt(chainId, primaryUrl, txHash) {
/**
* Decode the Registered(uint256 indexed agentId, string agentURI, address
* indexed owner) event emitted by the Identity Registry. Returns the full
- * on-chain truth — id and owner from the indexed topics, URI from the data —
+ * on-chain truth: id and owner from the indexed topics, URI from the data
* so nothing security-relevant comes from the client.
*/
function parseRegisteredEvent(logs, registryAddress) {
@@ -241,7 +241,7 @@ async function handleConfirm(req, res) {
let identityId;
if (local.agentDbId) {
- // Bind onto the existing agent row the DeployButton was pressed on —
+ // Bind onto the existing agent row the DeployButton was pressed on
// merge meta.onchain, never clobber the agent's own name/description.
const [existing] = await sql`select id, meta from agent_identities where id = ${local.agentDbId} and user_id = ${session.id} and deleted_at is null limit 1`;
if (existing) {
diff --git a/api/brain/chat.js b/api/brain/chat.js
index 5ee998739..714c71f7c 100644
--- a/api/brain/chat.js
+++ b/api/brain/chat.js
@@ -971,7 +971,7 @@ export async function streamBrain(res, { plan, providerKey, messages, system, ma
// route, or the upstream returns an empty completion. Silently writing
// `done` there ends the response 200-with-no-text and skips the entire
// fallback chain, so the caller gets a blank answer while healthy routes
- // sit unused. Zero visible output is a failed attempt — throw so the next
+ // sit unused. Zero visible output is a failed attempt: throw so the next
// route runs, and if every route comes up empty the outer catch surfaces a
// real `error` event instead of a fake success.
if (firstTokenMs === null) throw streamErr || new Error('provider streamed no output');
diff --git a/api/swarms/index.js b/api/swarms/index.js
index 8ae30898b..b83bd125c 100644
--- a/api/swarms/index.js
+++ b/api/swarms/index.js
@@ -58,12 +58,12 @@ export default wrap(async (req, res) => {
return json(res, 200, { data });
}
- // POST — all mutations require auth, CSRF (session callers), and a budget.
+ // POST: all mutations require auth, CSRF (session callers), and a budget.
const auth = await resolveAccount(req, res);
if (!auth) return error(res, 401, 'unauthorized', 'sign in required');
if (!(await requireCsrf(req, res, auth.userId))) return;
const rl = await limits.swarmMutate(auth.userId);
- if (!rl.success) return rateLimited(res, rl, 'too many swarm actions — slow down');
+ if (!rl.success) return rateLimited(res, rl, 'too many swarm actions: slow down');
const body = await readJson(req).catch(() => ({}));
const action = String(body.action || '');
diff --git a/api/walk/metrics.js b/api/walk/metrics.js
index 6d04bfa63..e0a2dc67d 100644
--- a/api/walk/metrics.js
+++ b/api/walk/metrics.js
@@ -26,7 +26,7 @@
// resolves through resolveAttributableAvatar() below: a live avatar the caller
// owns, or a publicly-reachable one whose owner has not declared where it may
// run (or has, and this origin is on that list). Anything else records with no
-// avatar attribution rather than being rejected — an anonymous walker on a
+// avatar attribution rather than being rejected: an anonymous walker on a
// third-party embed is the normal case and must never lose their leaderboard
// distance over an attribution decision.
//
@@ -104,7 +104,7 @@ function deriveEmbedOrigin(req) {
// write or null to record the walk without an avatar.
//
// Three ways to earn attribution, cheapest first:
-// 1. the caller owns the avatar (their own dashboard — nothing to poison),
+// 1. the caller owns the avatar (their own dashboard: nothing to poison),
// 2. the avatar is publicly reachable and its owner has declared no embed
// origin allowlist, so it can legitimately run anywhere, or
// 3. the avatar is publicly reachable and THIS origin is on that allowlist.
@@ -112,7 +112,7 @@ function deriveEmbedOrigin(req) {
// A private, deleted, or unknown avatar never earns attribution, and neither
// does a walk claimed from an origin the owner's own policy excludes. What this
// deliberately cannot do is distinguish two anonymous visitors on the same
-// allowed origin — that would need a signed per-session ticket the deployed
+// allowed origin: that would need a signed per-session ticket the deployed
// embeds do not carry yet. The residual is bounded to "a public avatar's counts
// can be inflated from an origin it is actually allowed to run on".
async function resolveAttributableAvatar({ avatarId, userId, embedOrigin }) {
@@ -131,7 +131,7 @@ async function resolveAttributableAvatar({ avatarId, userId, embedOrigin }) {
const policy = await readEmbedPolicyByAvatarId(avatarId).catch(() => null);
const hosts = policy?.origins?.hosts ?? [];
// An unconfigured allowlist is the default for every avatar that has never
- // opened the embed settings — it means "unspecified", not "nowhere".
+ // opened the embed settings: it means "unspecified", not "nowhere".
if (!hosts.length) return avatar.id;
return originAllowed(`https://${embedOrigin}`, policy, APP_ORIGIN_HOST) ? avatar.id : null;
}
diff --git a/pages/tour-builder.html b/pages/tour-builder.html
index 6eda19323..a21460c49 100644
--- a/pages/tour-builder.html
+++ b/pages/tour-builder.html
@@ -315,11 +315,11 @@
<h2 data-i18n="tour_builder.featured_products">Featured products</h2>
<p class="sub" data-i18n="tour_builder.this_season_s_most_loved_pieces_restocked">This season's most-loved pieces, restocked weekly.</p>
<div class="grid">
- <a class="product" href="#" data-demo-link><div class="ph" style="background:linear-gradient(140deg,#dcd5c9,#b8ad99)"></div><div class="meta"><h3 data-i18n="tour_builder.stoneware_mug_fog">Stoneware Mug — Fog</h3><div class="price">$28.00</div></div></a>
+ <a class="product" href="#" data-demo-link><div class="ph" style="background:linear-gradient(140deg,#dcd5c9,#b8ad99)"></div><div class="meta"><h3 data-i18n="tour_builder.stoneware_mug_fog">Stoneware Mug: Fog</h3><div class="price">$28.00</div></div></a>
<a class="product" href="#" data-demo-link><div class="ph" style="background:linear-gradient(140deg,#d7e0d7,#9fb5a1)"></div><div class="meta"><h3 data-i18n="tour_builder.linen_table_runner">Linen Table Runner</h3><div class="price">$54.00</div></div></a>
<a class="product" href="#" data-demo-link><div class="ph" style="background:linear-gradient(140deg,#e6dccd,#c2a678)"></div><div class="meta"><h3 data-i18n="tour_builder.oak_serving_board">Oak Serving Board</h3><div class="price">$72.00</div></div></a>
<a class="product" href="#" data-demo-link><div class="ph" style="background:linear-gradient(140deg,#ded8d2,#a89f96)"></div><div class="meta"><h3 data-i18n="tour_builder.ceramic_pour_over_set">Ceramic Pour-Over Set</h3><div class="price">$96.00</div></div></a>
- <a class="product" href="#" data-demo-link><div class="ph" style="background:linear-gradient(140deg,#e0dbd3,#bfb2a0)"></div><div class="meta"><h3 data-i18n="tour_builder.wool_throw_oat">Wool Throw — Oat</h3><div class="price">$148.00</div></div></a>
+ <a class="product" href="#" data-demo-link><div class="ph" style="background:linear-gradient(140deg,#e0dbd3,#bfb2a0)"></div><div class="meta"><h3 data-i18n="tour_builder.wool_throw_oat">Wool Throw: Oat</h3><div class="price">$148.00</div></div></a>
<a class="product" href="#" data-demo-link><div class="ph" style="background:linear-gradient(140deg,#d9dfd9,#8fa892)"></div><div class="meta"><h3 data-i18n="tour_builder.botanical_candle_no_4">Botanical Candle No. 4</h3><div class="price">$36.00</div></div></a>
</div>
</section>
diff --git a/pages/walk-analytics.html b/pages/walk-analytics.html
index 87f43765d..58362526e 100644
--- a/pages/walk-analytics.html
+++ b/pages/walk-analytics.html
@@ -233,7 +233,7 @@
if (!res.ok) throw new Error('HTTP ' + res.status);
data = await res.json();
} catch (err) {
- document.getElementById('wa-chart-wrap').innerHTML = `<div class="wa-empty">Couldn't load analytics — ${esc(err.message || 'error')}. <button class="wa-cta ghost" type="button" style="margin-left:8px" data-action="retry">Retry</button></div>`;
+ document.getElementById('wa-chart-wrap').innerHTML = `<div class="wa-empty">Couldn't load analytics: ${esc(err.message || 'error')}. <button class="wa-cta ghost" type="button" style="margin-left:8px" data-action="retry">Retry</button></div>`;
return;
}
diff --git a/prompts/store-submissions/_generated/live-tools-list.json b/prompts/store-submissions/_generated/live-tools-list.json
index 57c7c29e4..2b12b536d 100644
--- a/prompts/store-submissions/_generated/live-tools-list.json
+++ b/prompts/store-submissions/_generated/live-tools-list.json
@@ -1 +1 @@
-{"jsonrpc":"2.0","id":1,"result":{"tools":[{"name":"forge_free","title":"Generate a 3D model from text","description":"Turn a text prompt into a textured, downloadable 3D model (GLB) — free. Describe a single object, character, or creature; the studio generates an interactive model you can rotate, view, and download. Optional quality tier (draft, standard, high); high is slower and may fall back to standard under load. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","minLength":3,"maxLength":1000,"description":"Description of the single object or character to model, e.g. \"a friendly round robot mascot, glossy white plastic\"."},"tier":{"type":"string","enum":["draft","standard","high"],"description":"Detail level: draft (fastest), standard (default), or high (best, slower; may fall back to standard under load)."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your 3D model…","openai/toolInvocation/invoked":"Here is your 3D model","openai/widgetAccessible":true}},{"name":"text_to_avatar","title":"Generate a 3D avatar","description":"Generate a textured 3D avatar (GLB) from a text description or a reference image URL. Best for characters and figures. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the avatar to generate."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct in 3D."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your avatar…","openai/toolInvocation/invoked":"Here is your avatar","openai/widgetAccessible":true}},{"name":"mesh_forge","title":"Generate a 3D mesh (art-directed)","description":"Generate a textured 3D mesh (GLB) from a text prompt or a reference image URL. In text mode an AI art-director first refines your prompt into an optimized single-subject spec for higher mesh quality. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the single object to model."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct directly."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your 3D mesh…","openai/toolInvocation/invoked":"Here is your 3D mesh","openai/widgetAccessible":true}},{"name":"rig_mesh","title":"Rig a 3D model for animation","description":"Auto-rig a static 3D model (GLB) into an animation-ready model: adds a humanoid skeleton and skin weights so it can be posed and animated. Provide the GLB URL of a model (e.g. one generated by the other tools). Renders the rigged result inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url"],"properties":{"glb_url":{"type":"string","format":"uri","description":"http(s) URL to the static GLB mesh to rig."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Rigging your model…","openai/toolInvocation/invoked":"Here is your rigged model","openai/widgetAccessible":true}},{"name":"forge_avatar","title":"Generate a rigged, animation-ready avatar","description":"Generate a rigged, animation-ready 3D avatar (GLB) from a single text prompt or a reference image — in one step. Generates the mesh, then auto-rigs it with a humanoid skeleton so it is ready to pose and animate. Best for characters; objects are steered to the mesh generator. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the character/avatar to generate."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct in 3D."},"allow_non_humanoid":{"type":"boolean","description":"Set true to rig a non-humanoid subject anyway (rigging assumes a humanoid figure)."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your rigged avatar…","openai/toolInvocation/invoked":"Here is your rigged avatar","openai/widgetAccessible":true}},{"name":"refine_model","title":"Refine a 3D model by describing a change","description":"Iterate on a model you already generated — just describe the change in words (\"make it metallic\", \"bigger helmet\", \"add wings\"). The studio re-generates a new version anchored to the previous one, carrying its form and materials forward. Pass the previous model's glb_url and, when you have it, the prompt that made it (parent_prompt) so the change builds on it. Each refinement is recorded as a new version in a lineage you can revert to or branch from — the returned lineage drives a version strip in the viewer. Renders the new version inline in the interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url","instruction"],"properties":{"glb_url":{"type":"string","format":"uri","description":"http(s) URL of the model to refine (e.g. the glbUrl a previous generation returned)."},"instruction":{"type":"string","minLength":1,"maxLength":500,"description":"The change to make, in plain language: \"make it metallic\", \"bigger helmet\", \"add a cape\"."},"parent_prompt":{"type":"string","maxLength":1000,"description":"Optional — the prompt that produced the model being refined, so the change builds on it instead of starting over."},"reference_image_url":{"type":"string","format":"uri","description":"Optional http(s) image of the current model to anchor the re-generation (image→3D). Omit for text-guided refinement."},"parent_lineage":{"type":"array","description":"Optional — the lineage array from a previous refine_model result, to extend the same version history.","items":{"type":"object","additionalProperties":true}},"parent_index":{"type":"integer","minimum":0,"description":"Optional — branch off an earlier version in parent_lineage (its index) instead of the latest."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Refining your 3D model…","openai/toolInvocation/invoked":"Here is the refined model","openai/widgetAccessible":true}},{"name":"check_job","title":"Check a pending 3D generation","description":"Check on a 3D generation that returned status \"pending\" and collect the finished model. Pass the job_id from the pending result. While it is still rendering you get updated timing; call again after the suggested wait. When it is done the model renders inline in the interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["job_id"],"properties":{"job_id":{"type":"string","minLength":8,"maxLength":4096,"description":"The job_id (or jobId) a pending generation returned."}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Checking your 3D model…","openai/toolInvocation/invoked":"Here is your 3D model","openai/widgetAccessible":true}},{"name":"create_agent_persona","title":"Save a rigged model as a living, persistent agent body","description":"Turn a generated GLB into a NAMED, persistent agent body — a \"persona\" the assistant reuses across turns and across sessions. The model is copied into durable storage so the body survives the source URL expiring, then registered under a stable persona_id. The returned view renders the LIVING body inline: it idles between turns, and persona_say makes it lip-sync and emote a reply. The persona_id is the handle — keep it and pass it to get_agent_persona or persona_say later to bring the exact same body back. No sign-in required.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url","name"],"properties":{"glb_url":{"type":"string","format":"uri","description":"Public https URL of the rigged GLB to embody (e.g. from forge_avatar)."},"name":{"type":"string","minLength":1,"maxLength":80,"description":"A display name for the persona, 1–80 characters."},"voice":{"type":"string","maxLength":64,"description":"Optional voice name to speak with (used for audio-driven lip-sync when available)."},"source_prompt":{"type":"string","maxLength":1000,"description":"Optional: the prompt that generated this body, kept as provenance."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Saving your agent…","openai/toolInvocation/invoked":"Your agent is ready","openai/widgetAccessible":true}},{"name":"get_agent_persona","title":"Reload a persona by id (continuity across sessions)","description":"Bring back a previously saved persona by its persona_id — the SAME body and identity, in a fresh session. Returns the persona name, its model, the accumulated turn count, and the inline living-body view. Use this at the start of a conversation when the user returns to a named agent.","inputSchema":{"type":"object","additionalProperties":false,"required":["persona_id"],"properties":{"persona_id":{"type":"string","minLength":8,"maxLength":64,"description":"The persona_id returned by create_agent_persona."}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Bringing your agent back…","openai/toolInvocation/invoked":"Your agent is back","openai/widgetAccessible":true}},{"name":"persona_say","title":"Speak a reply through a persona — lip-sync + emotion + gesture","description":"Make a persona PERFORM a reply: the body lip-syncs the text and shows the matching facial expression and body gesture. Pass the persona_id and the exact text the agent is saying this turn; the emotion is detected from the text automatically (or set it explicitly). The returned view animates the body for this turn — show it alongside the reply. This is the turn-by-turn embodiment hook.","inputSchema":{"type":"object","additionalProperties":false,"required":["persona_id","text"],"properties":{"persona_id":{"type":"string","minLength":8,"maxLength":64,"description":"The persona to speak through."},"text":{"type":"string","minLength":1,"maxLength":2000,"description":"The reply text the agent is saying this turn — drives lip-sync and emotion."},"emotion":{"type":"string","enum":["neutral","joy","sad","angry","surprised","thinking"],"description":"Optional explicit emotion override; omit to auto-detect from the text."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Performing the reply…","openai/toolInvocation/invoked":"Here is your agent","openai/widgetAccessible":true}}]}}
\ No newline at end of file
+{"jsonrpc":"2.0","id":1,"result":{"tools":[{"name":"forge_free","title":"Generate a 3D model from text","description":"Turn a text prompt into a textured, downloadable 3D model (GLB): free. Describe a single object, character, or creature; the studio generates an interactive model you can rotate, view, and download. Optional quality tier (draft, standard, high); high is slower and may fall back to standard under load. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","minLength":3,"maxLength":1000,"description":"Description of the single object or character to model, e.g. \"a friendly round robot mascot, glossy white plastic\"."},"tier":{"type":"string","enum":["draft","standard","high"],"description":"Detail level: draft (fastest), standard (default), or high (best, slower; may fall back to standard under load)."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your 3D model…","openai/toolInvocation/invoked":"Here is your 3D model","openai/widgetAccessible":true}},{"name":"text_to_avatar","title":"Generate a 3D avatar","description":"Generate a textured 3D avatar (GLB) from a text description or a reference image URL. Best for characters and figures. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the avatar to generate."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct in 3D."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your avatar…","openai/toolInvocation/invoked":"Here is your avatar","openai/widgetAccessible":true}},{"name":"mesh_forge","title":"Generate a 3D mesh (art-directed)","description":"Generate a textured 3D mesh (GLB) from a text prompt or a reference image URL. In text mode an AI art-director first refines your prompt into an optimized single-subject spec for higher mesh quality. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the single object to model."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct directly."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your 3D mesh…","openai/toolInvocation/invoked":"Here is your 3D mesh","openai/widgetAccessible":true}},{"name":"rig_mesh","title":"Rig a 3D model for animation","description":"Auto-rig a static 3D model (GLB) into an animation-ready model: adds a humanoid skeleton and skin weights so it can be posed and animated. Provide the GLB URL of a model (e.g. one generated by the other tools). Renders the rigged result inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url"],"properties":{"glb_url":{"type":"string","format":"uri","description":"http(s) URL to the static GLB mesh to rig."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Rigging your model…","openai/toolInvocation/invoked":"Here is your rigged model","openai/widgetAccessible":true}},{"name":"forge_avatar","title":"Generate a rigged, animation-ready avatar","description":"Generate a rigged, animation-ready 3D avatar (GLB) from a single text prompt or a reference image: in one step. Generates the mesh, then auto-rigs it with a humanoid skeleton so it is ready to pose and animate. Best for characters; objects are steered to the mesh generator. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the character/avatar to generate."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct in 3D."},"allow_non_humanoid":{"type":"boolean","description":"Set true to rig a non-humanoid subject anyway (rigging assumes a humanoid figure)."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your rigged avatar…","openai/toolInvocation/invoked":"Here is your rigged avatar","openai/widgetAccessible":true}},{"name":"refine_model","title":"Refine a 3D model by describing a change","description":"Iterate on a model you already generated: just describe the change in words (\"make it metallic\", \"bigger helmet\", \"add wings\"). The studio re-generates a new version anchored to the previous one, carrying its form and materials forward. Pass the previous model's glb_url and, when you have it, the prompt that made it (parent_prompt) so the change builds on it. Each refinement is recorded as a new version in a lineage you can revert to or branch from: the returned lineage drives a version strip in the viewer. Renders the new version inline in the interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url","instruction"],"properties":{"glb_url":{"type":"string","format":"uri","description":"http(s) URL of the model to refine (e.g. the glbUrl a previous generation returned)."},"instruction":{"type":"string","minLength":1,"maxLength":500,"description":"The change to make, in plain language: \"make it metallic\", \"bigger helmet\", \"add a cape\"."},"parent_prompt":{"type":"string","maxLength":1000,"description":"Optional: the prompt that produced the model being refined, so the change builds on it instead of starting over."},"reference_image_url":{"type":"string","format":"uri","description":"Optional http(s) image of the current model to anchor the re-generation (image→3D). Omit for text-guided refinement."},"parent_lineage":{"type":"array","description":"Optional: the lineage array from a previous refine_model result, to extend the same version history.","items":{"type":"object","additionalProperties":true}},"parent_index":{"type":"integer","minimum":0,"description":"Optional: branch off an earlier version in parent_lineage (its index) instead of the latest."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Refining your 3D model…","openai/toolInvocation/invoked":"Here is the refined model","openai/widgetAccessible":true}},{"name":"check_job","title":"Check a pending 3D generation","description":"Check on a 3D generation that returned status \"pending\" and collect the finished model. Pass the job_id from the pending result. While it is still rendering you get updated timing; call again after the suggested wait. When it is done the model renders inline in the interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["job_id"],"properties":{"job_id":{"type":"string","minLength":8,"maxLength":4096,"description":"The job_id (or jobId) a pending generation returned."}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Checking your 3D model…","openai/toolInvocation/invoked":"Here is your 3D model","openai/widgetAccessible":true}},{"name":"create_agent_persona","title":"Save a rigged model as a living, persistent agent body","description":"Turn a generated GLB into a NAMED, persistent agent body: a \"persona\" the assistant reuses across turns and across sessions. The model is copied into durable storage so the body survives the source URL expiring, then registered under a stable persona_id. The returned view renders the LIVING body inline: it idles between turns, and persona_say makes it lip-sync and emote a reply. The persona_id is the handle: keep it and pass it to get_agent_persona or persona_say later to bring the exact same body back. No sign-in required.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url","name"],"properties":{"glb_url":{"type":"string","format":"uri","description":"Public https URL of the rigged GLB to embody (e.g. from forge_avatar)."},"name":{"type":"string","minLength":1,"maxLength":80,"description":"A display name for the persona, 1: 80 characters."},"voice":{"type":"string","maxLength":64,"description":"Optional voice name to speak with (used for audio-driven lip-sync when available)."},"source_prompt":{"type":"string","maxLength":1000,"description":"Optional: the prompt that generated this body, kept as provenance."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Saving your agent…","openai/toolInvocation/invoked":"Your agent is ready","openai/widgetAccessible":true}},{"name":"get_agent_persona","title":"Reload a persona by id (continuity across sessions)","description":"Bring back a previously saved persona by its persona_id: the SAME body and identity, in a fresh session. Returns the persona name, its model, the accumulated turn count, and the inline living-body view. Use this at the start of a conversation when the user returns to a named agent.","inputSchema":{"type":"object","additionalProperties":false,"required":["persona_id"],"properties":{"persona_id":{"type":"string","minLength":8,"maxLength":64,"description":"The persona_id returned by create_agent_persona."}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Bringing your agent back…","openai/toolInvocation/invoked":"Your agent is back","openai/widgetAccessible":true}},{"name":"persona_say","title":"Speak a reply through a persona: lip-sync + emotion + gesture","description":"Make a persona PERFORM a reply: the body lip-syncs the text and shows the matching facial expression and body gesture. Pass the persona_id and the exact text the agent is saying this turn; the emotion is detected from the text automatically (or set it explicitly). The returned view animates the body for this turn: show it alongside the reply. This is the turn-by-turn embodiment hook.","inputSchema":{"type":"object","additionalProperties":false,"required":["persona_id","text"],"properties":{"persona_id":{"type":"string","minLength":8,"maxLength":64,"description":"The persona to speak through."},"text":{"type":"string","minLength":1,"maxLength":2000,"description":"The reply text the agent is saying this turn: drives lip-sync and emotion."},"emotion":{"type":"string","enum":["neutral","joy","sad","angry","surprised","thinking"],"description":"Optional explicit emotion override; omit to auto-detect from the text."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Performing the reply…","openai/toolInvocation/invoked":"Here is your agent","openai/widgetAccessible":true}}]}}
\ No newline at end of file
diff --git a/prompts/store-submissions/_generated/studio-resources-list.json b/prompts/store-submissions/_generated/studio-resources-list.json
index 0550b1b8c..05fa3cf8d 100644
--- a/prompts/store-submissions/_generated/studio-resources-list.json
+++ b/prompts/store-submissions/_generated/studio-resources-list.json
@@ -1 +1 @@
-{"jsonrpc":"2.0","id":2,"result":{"resources":[{"uri":"ui://widget/three-studio-model.html","name":"three.ws 3D model viewer","description":"Interactive 3D viewer that renders a generated GLB model inline.","mimeType":"text/html+skybridge","_meta":{"openai/widgetDescription":"Interactive 3D viewer for a generated model — rotate, view, and download the GLB.","openai/widgetCSP":{"connect_domains":["https://three.ws","https://*.three.ws","https://cdn.jsdelivr.net","https://replicate.delivery","https://*.replicate.delivery","https://pub-2534e921bf9c4314addcd4d8a6e98b7b.r2.dev"],"resource_domains":["https://three.ws","https://*.three.ws","https://cdn.jsdelivr.net","https://replicate.delivery","https://*.replicate.delivery","https://pub-2534e921bf9c4314addcd4d8a6e98b7b.r2.dev"]},"openai/widgetDomain":"https://three.ws","openai/widgetPrefersBorder":true}},{"uri":"ui://widget/three-studio-persona.html","name":"three.ws living agent","description":"Live agent body that idles between turns, lip-syncs replies, and emotes.","mimeType":"text/html+skybridge","_meta":{"openai/widgetDescription":"A live 3D agent body: it idles between turns, lip-syncs each reply, and shows emotion.","openai/widgetCSP":{"connect_domains":["https://three.ws"],"resource_domains":["https://three.ws"],"frame_domains":["https://three.ws"]},"openai/widgetDomain":"https://three.ws","openai/widgetPrefersBorder":true}}]}}
\ No newline at end of file
+{"jsonrpc":"2.0","id":2,"result":{"resources":[{"uri":"ui://widget/three-studio-model.html","name":"three.ws 3D model viewer","description":"Interactive 3D viewer that renders a generated GLB model inline.","mimeType":"text/html+skybridge","_meta":{"openai/widgetDescription":"Interactive 3D viewer for a generated model: rotate, view, and download the GLB.","openai/widgetCSP":{"connect_domains":["https://three.ws","https://*.three.ws","https://cdn.jsdelivr.net","https://replicate.delivery","https://*.replicate.delivery","https://pub-2534e921bf9c4314addcd4d8a6e98b7b.r2.dev"],"resource_domains":["https://three.ws","https://*.three.ws","https://cdn.jsdelivr.net","https://replicate.delivery","https://*.replicate.delivery","https://pub-2534e921bf9c4314addcd4d8a6e98b7b.r2.dev"]},"openai/widgetDomain":"https://three.ws","openai/widgetPrefersBorder":true}},{"uri":"ui://widget/three-studio-persona.html","name":"three.ws living agent","description":"Live agent body that idles between turns, lip-syncs replies, and emotes.","mimeType":"text/html+skybridge","_meta":{"openai/widgetDescription":"A live 3D agent body: it idles between turns, lip-syncs each reply, and shows emotion.","openai/widgetCSP":{"connect_domains":["https://three.ws"],"resource_domains":["https://three.ws"],"frame_domains":["https://three.ws"]},"openai/widgetDomain":"https://three.ws","openai/widgetPrefersBorder":true}}]}}
\ No newline at end of file
diff --git a/prompts/store-submissions/_generated/studio-tools-list.json b/prompts/store-submissions/_generated/studio-tools-list.json
index 57c7c29e4..2b12b536d 100644
--- a/prompts/store-submissions/_generated/studio-tools-list.json
+++ b/prompts/store-submissions/_generated/studio-tools-list.json
@@ -1 +1 @@
-{"jsonrpc":"2.0","id":1,"result":{"tools":[{"name":"forge_free","title":"Generate a 3D model from text","description":"Turn a text prompt into a textured, downloadable 3D model (GLB) — free. Describe a single object, character, or creature; the studio generates an interactive model you can rotate, view, and download. Optional quality tier (draft, standard, high); high is slower and may fall back to standard under load. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","minLength":3,"maxLength":1000,"description":"Description of the single object or character to model, e.g. \"a friendly round robot mascot, glossy white plastic\"."},"tier":{"type":"string","enum":["draft","standard","high"],"description":"Detail level: draft (fastest), standard (default), or high (best, slower; may fall back to standard under load)."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your 3D model…","openai/toolInvocation/invoked":"Here is your 3D model","openai/widgetAccessible":true}},{"name":"text_to_avatar","title":"Generate a 3D avatar","description":"Generate a textured 3D avatar (GLB) from a text description or a reference image URL. Best for characters and figures. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the avatar to generate."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct in 3D."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your avatar…","openai/toolInvocation/invoked":"Here is your avatar","openai/widgetAccessible":true}},{"name":"mesh_forge","title":"Generate a 3D mesh (art-directed)","description":"Generate a textured 3D mesh (GLB) from a text prompt or a reference image URL. In text mode an AI art-director first refines your prompt into an optimized single-subject spec for higher mesh quality. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the single object to model."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct directly."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your 3D mesh…","openai/toolInvocation/invoked":"Here is your 3D mesh","openai/widgetAccessible":true}},{"name":"rig_mesh","title":"Rig a 3D model for animation","description":"Auto-rig a static 3D model (GLB) into an animation-ready model: adds a humanoid skeleton and skin weights so it can be posed and animated. Provide the GLB URL of a model (e.g. one generated by the other tools). Renders the rigged result inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url"],"properties":{"glb_url":{"type":"string","format":"uri","description":"http(s) URL to the static GLB mesh to rig."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Rigging your model…","openai/toolInvocation/invoked":"Here is your rigged model","openai/widgetAccessible":true}},{"name":"forge_avatar","title":"Generate a rigged, animation-ready avatar","description":"Generate a rigged, animation-ready 3D avatar (GLB) from a single text prompt or a reference image — in one step. Generates the mesh, then auto-rigs it with a humanoid skeleton so it is ready to pose and animate. Best for characters; objects are steered to the mesh generator. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the character/avatar to generate."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct in 3D."},"allow_non_humanoid":{"type":"boolean","description":"Set true to rig a non-humanoid subject anyway (rigging assumes a humanoid figure)."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your rigged avatar…","openai/toolInvocation/invoked":"Here is your rigged avatar","openai/widgetAccessible":true}},{"name":"refine_model","title":"Refine a 3D model by describing a change","description":"Iterate on a model you already generated — just describe the change in words (\"make it metallic\", \"bigger helmet\", \"add wings\"). The studio re-generates a new version anchored to the previous one, carrying its form and materials forward. Pass the previous model's glb_url and, when you have it, the prompt that made it (parent_prompt) so the change builds on it. Each refinement is recorded as a new version in a lineage you can revert to or branch from — the returned lineage drives a version strip in the viewer. Renders the new version inline in the interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url","instruction"],"properties":{"glb_url":{"type":"string","format":"uri","description":"http(s) URL of the model to refine (e.g. the glbUrl a previous generation returned)."},"instruction":{"type":"string","minLength":1,"maxLength":500,"description":"The change to make, in plain language: \"make it metallic\", \"bigger helmet\", \"add a cape\"."},"parent_prompt":{"type":"string","maxLength":1000,"description":"Optional — the prompt that produced the model being refined, so the change builds on it instead of starting over."},"reference_image_url":{"type":"string","format":"uri","description":"Optional http(s) image of the current model to anchor the re-generation (image→3D). Omit for text-guided refinement."},"parent_lineage":{"type":"array","description":"Optional — the lineage array from a previous refine_model result, to extend the same version history.","items":{"type":"object","additionalProperties":true}},"parent_index":{"type":"integer","minimum":0,"description":"Optional — branch off an earlier version in parent_lineage (its index) instead of the latest."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Refining your 3D model…","openai/toolInvocation/invoked":"Here is the refined model","openai/widgetAccessible":true}},{"name":"check_job","title":"Check a pending 3D generation","description":"Check on a 3D generation that returned status \"pending\" and collect the finished model. Pass the job_id from the pending result. While it is still rendering you get updated timing; call again after the suggested wait. When it is done the model renders inline in the interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["job_id"],"properties":{"job_id":{"type":"string","minLength":8,"maxLength":4096,"description":"The job_id (or jobId) a pending generation returned."}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Checking your 3D model…","openai/toolInvocation/invoked":"Here is your 3D model","openai/widgetAccessible":true}},{"name":"create_agent_persona","title":"Save a rigged model as a living, persistent agent body","description":"Turn a generated GLB into a NAMED, persistent agent body — a \"persona\" the assistant reuses across turns and across sessions. The model is copied into durable storage so the body survives the source URL expiring, then registered under a stable persona_id. The returned view renders the LIVING body inline: it idles between turns, and persona_say makes it lip-sync and emote a reply. The persona_id is the handle — keep it and pass it to get_agent_persona or persona_say later to bring the exact same body back. No sign-in required.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url","name"],"properties":{"glb_url":{"type":"string","format":"uri","description":"Public https URL of the rigged GLB to embody (e.g. from forge_avatar)."},"name":{"type":"string","minLength":1,"maxLength":80,"description":"A display name for the persona, 1–80 characters."},"voice":{"type":"string","maxLength":64,"description":"Optional voice name to speak with (used for audio-driven lip-sync when available)."},"source_prompt":{"type":"string","maxLength":1000,"description":"Optional: the prompt that generated this body, kept as provenance."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Saving your agent…","openai/toolInvocation/invoked":"Your agent is ready","openai/widgetAccessible":true}},{"name":"get_agent_persona","title":"Reload a persona by id (continuity across sessions)","description":"Bring back a previously saved persona by its persona_id — the SAME body and identity, in a fresh session. Returns the persona name, its model, the accumulated turn count, and the inline living-body view. Use this at the start of a conversation when the user returns to a named agent.","inputSchema":{"type":"object","additionalProperties":false,"required":["persona_id"],"properties":{"persona_id":{"type":"string","minLength":8,"maxLength":64,"description":"The persona_id returned by create_agent_persona."}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Bringing your agent back…","openai/toolInvocation/invoked":"Your agent is back","openai/widgetAccessible":true}},{"name":"persona_say","title":"Speak a reply through a persona — lip-sync + emotion + gesture","description":"Make a persona PERFORM a reply: the body lip-syncs the text and shows the matching facial expression and body gesture. Pass the persona_id and the exact text the agent is saying this turn; the emotion is detected from the text automatically (or set it explicitly). The returned view animates the body for this turn — show it alongside the reply. This is the turn-by-turn embodiment hook.","inputSchema":{"type":"object","additionalProperties":false,"required":["persona_id","text"],"properties":{"persona_id":{"type":"string","minLength":8,"maxLength":64,"description":"The persona to speak through."},"text":{"type":"string","minLength":1,"maxLength":2000,"description":"The reply text the agent is saying this turn — drives lip-sync and emotion."},"emotion":{"type":"string","enum":["neutral","joy","sad","angry","surprised","thinking"],"description":"Optional explicit emotion override; omit to auto-detect from the text."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Performing the reply…","openai/toolInvocation/invoked":"Here is your agent","openai/widgetAccessible":true}}]}}
\ No newline at end of file
+{"jsonrpc":"2.0","id":1,"result":{"tools":[{"name":"forge_free","title":"Generate a 3D model from text","description":"Turn a text prompt into a textured, downloadable 3D model (GLB): free. Describe a single object, character, or creature; the studio generates an interactive model you can rotate, view, and download. Optional quality tier (draft, standard, high); high is slower and may fall back to standard under load. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","minLength":3,"maxLength":1000,"description":"Description of the single object or character to model, e.g. \"a friendly round robot mascot, glossy white plastic\"."},"tier":{"type":"string","enum":["draft","standard","high"],"description":"Detail level: draft (fastest), standard (default), or high (best, slower; may fall back to standard under load)."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your 3D model…","openai/toolInvocation/invoked":"Here is your 3D model","openai/widgetAccessible":true}},{"name":"text_to_avatar","title":"Generate a 3D avatar","description":"Generate a textured 3D avatar (GLB) from a text description or a reference image URL. Best for characters and figures. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the avatar to generate."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct in 3D."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your avatar…","openai/toolInvocation/invoked":"Here is your avatar","openai/widgetAccessible":true}},{"name":"mesh_forge","title":"Generate a 3D mesh (art-directed)","description":"Generate a textured 3D mesh (GLB) from a text prompt or a reference image URL. In text mode an AI art-director first refines your prompt into an optimized single-subject spec for higher mesh quality. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the single object to model."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct directly."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your 3D mesh…","openai/toolInvocation/invoked":"Here is your 3D mesh","openai/widgetAccessible":true}},{"name":"rig_mesh","title":"Rig a 3D model for animation","description":"Auto-rig a static 3D model (GLB) into an animation-ready model: adds a humanoid skeleton and skin weights so it can be posed and animated. Provide the GLB URL of a model (e.g. one generated by the other tools). Renders the rigged result inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url"],"properties":{"glb_url":{"type":"string","format":"uri","description":"http(s) URL to the static GLB mesh to rig."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Rigging your model…","openai/toolInvocation/invoked":"Here is your rigged model","openai/widgetAccessible":true}},{"name":"forge_avatar","title":"Generate a rigged, animation-ready avatar","description":"Generate a rigged, animation-ready 3D avatar (GLB) from a single text prompt or a reference image: in one step. Generates the mesh, then auto-rigs it with a humanoid skeleton so it is ready to pose and animate. Best for characters; objects are steered to the mesh generator. Renders inline in an interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"prompt":{"type":"string","maxLength":1000,"description":"Description of the character/avatar to generate."},"image_url":{"type":"string","format":"uri","description":"Optional http(s) URL to a reference image to reconstruct in 3D."},"allow_non_humanoid":{"type":"boolean","description":"Set true to rig a non-humanoid subject anyway (rigging assumes a humanoid figure)."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Generating your rigged avatar…","openai/toolInvocation/invoked":"Here is your rigged avatar","openai/widgetAccessible":true}},{"name":"refine_model","title":"Refine a 3D model by describing a change","description":"Iterate on a model you already generated: just describe the change in words (\"make it metallic\", \"bigger helmet\", \"add wings\"). The studio re-generates a new version anchored to the previous one, carrying its form and materials forward. Pass the previous model's glb_url and, when you have it, the prompt that made it (parent_prompt) so the change builds on it. Each refinement is recorded as a new version in a lineage you can revert to or branch from: the returned lineage drives a version strip in the viewer. Renders the new version inline in the interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url","instruction"],"properties":{"glb_url":{"type":"string","format":"uri","description":"http(s) URL of the model to refine (e.g. the glbUrl a previous generation returned)."},"instruction":{"type":"string","minLength":1,"maxLength":500,"description":"The change to make, in plain language: \"make it metallic\", \"bigger helmet\", \"add a cape\"."},"parent_prompt":{"type":"string","maxLength":1000,"description":"Optional: the prompt that produced the model being refined, so the change builds on it instead of starting over."},"reference_image_url":{"type":"string","format":"uri","description":"Optional http(s) image of the current model to anchor the re-generation (image→3D). Omit for text-guided refinement."},"parent_lineage":{"type":"array","description":"Optional: the lineage array from a previous refine_model result, to extend the same version history.","items":{"type":"object","additionalProperties":true}},"parent_index":{"type":"integer","minimum":0,"description":"Optional: branch off an earlier version in parent_lineage (its index) instead of the latest."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Refining your 3D model…","openai/toolInvocation/invoked":"Here is the refined model","openai/widgetAccessible":true}},{"name":"check_job","title":"Check a pending 3D generation","description":"Check on a 3D generation that returned status \"pending\" and collect the finished model. Pass the job_id from the pending result. While it is still rendering you get updated timing; call again after the suggested wait. When it is done the model renders inline in the interactive 3D viewer.","inputSchema":{"type":"object","additionalProperties":false,"required":["job_id"],"properties":{"job_id":{"type":"string","minLength":8,"maxLength":4096,"description":"The job_id (or jobId) a pending generation returned."}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-model.html","openai/toolInvocation/invoking":"Checking your 3D model…","openai/toolInvocation/invoked":"Here is your 3D model","openai/widgetAccessible":true}},{"name":"create_agent_persona","title":"Save a rigged model as a living, persistent agent body","description":"Turn a generated GLB into a NAMED, persistent agent body: a \"persona\" the assistant reuses across turns and across sessions. The model is copied into durable storage so the body survives the source URL expiring, then registered under a stable persona_id. The returned view renders the LIVING body inline: it idles between turns, and persona_say makes it lip-sync and emote a reply. The persona_id is the handle: keep it and pass it to get_agent_persona or persona_say later to bring the exact same body back. No sign-in required.","inputSchema":{"type":"object","additionalProperties":false,"required":["glb_url","name"],"properties":{"glb_url":{"type":"string","format":"uri","description":"Public https URL of the rigged GLB to embody (e.g. from forge_avatar)."},"name":{"type":"string","minLength":1,"maxLength":80,"description":"A display name for the persona, 1: 80 characters."},"voice":{"type":"string","maxLength":64,"description":"Optional voice name to speak with (used for audio-driven lip-sync when available)."},"source_prompt":{"type":"string","maxLength":1000,"description":"Optional: the prompt that generated this body, kept as provenance."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Saving your agent…","openai/toolInvocation/invoked":"Your agent is ready","openai/widgetAccessible":true}},{"name":"get_agent_persona","title":"Reload a persona by id (continuity across sessions)","description":"Bring back a previously saved persona by its persona_id: the SAME body and identity, in a fresh session. Returns the persona name, its model, the accumulated turn count, and the inline living-body view. Use this at the start of a conversation when the user returns to a named agent.","inputSchema":{"type":"object","additionalProperties":false,"required":["persona_id"],"properties":{"persona_id":{"type":"string","minLength":8,"maxLength":64,"description":"The persona_id returned by create_agent_persona."}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Bringing your agent back…","openai/toolInvocation/invoked":"Your agent is back","openai/widgetAccessible":true}},{"name":"persona_say","title":"Speak a reply through a persona: lip-sync + emotion + gesture","description":"Make a persona PERFORM a reply: the body lip-syncs the text and shows the matching facial expression and body gesture. Pass the persona_id and the exact text the agent is saying this turn; the emotion is detected from the text automatically (or set it explicitly). The returned view animates the body for this turn: show it alongside the reply. This is the turn-by-turn embodiment hook.","inputSchema":{"type":"object","additionalProperties":false,"required":["persona_id","text"],"properties":{"persona_id":{"type":"string","minLength":8,"maxLength":64,"description":"The persona to speak through."},"text":{"type":"string","minLength":1,"maxLength":2000,"description":"The reply text the agent is saying this turn: drives lip-sync and emotion."},"emotion":{"type":"string","enum":["neutral","joy","sad","angry","surprised","thinking"],"description":"Optional explicit emotion override; omit to auto-detect from the text."}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"openai/outputTemplate":"ui://widget/three-studio-persona.html","openai/toolInvocation/invoking":"Performing the reply…","openai/toolInvocation/invoked":"Here is your agent","openai/widgetAccessible":true}}]}}
\ No newline at end of file
diff --git a/public/vanity/premium/index.html b/public/vanity/premium/index.html
index bdc662b1a..eb81053bb 100644
--- a/public/vanity/premium/index.html
+++ b/public/vanity/premium/index.html
@@ -243,7 +243,7 @@
if (!res.ok) throw new Error('HTTP ' + res.status);
data = await res.json();
} catch (err) {
- listEl.innerHTML = `<div class="state"><h3>Couldn't load inventory</h3><p>${esc(err.message)}. The store may be warming up — try again.</p><button class="cta" type="button" data-action="reload">Retry</button></div>`;
+ listEl.innerHTML = `<div class="state"><h3>Couldn't load inventory</h3><p>${esc(err.message)}. The store may be warming up: try again.</p><button class="cta" type="button" data-action="reload">Retry</button></div>`;
return;
}
if (data.custodyNotice) document.getElementById('custody-copy').innerHTML = '<b>Custody:</b> ' + esc(data.custodyNotice);
diff --git a/scripts/agora-devnet-fund.mjs b/scripts/agora-devnet-fund.mjs
index 42eb97a04..b16e5634e 100644
--- a/scripts/agora-devnet-fund.mjs
+++ b/scripts/agora-devnet-fund.mjs
@@ -83,7 +83,7 @@ const conn = new Connection(DEVNET_RPC, 'confirmed');
if (args.list || args.targets.length === 0) {
const keys = cacheKeys();
if (!keys.length) {
- console.log('[agora-fund] no cached signers yet — run the engine once to mint them.');
+ console.log('[agora-fund] no cached signers yet: run the engine once to mint them.');
process.exit(0);
}
console.log(`[agora-fund] cached devnet signers (${DEVNET_RPC}):`);
@@ -102,7 +102,7 @@ const perTarget = Math.floor(args.sol * LAMPORTS_PER_SOL);
const BANK_RESERVE_LAMPORTS = 10_000_000; // 0.01 SOL
const bankStart = await conn.getBalance(bank.publicKey);
-console.log(`[agora-fund] bank ${args.bank} ${bank.publicKey.toBase58()} — ${(bankStart / LAMPORTS_PER_SOL).toFixed(4)} SOL`);
+console.log(`[agora-fund] bank ${args.bank} ${bank.publicKey.toBase58()}: ${(bankStart / LAMPORTS_PER_SOL).toFixed(4)} SOL`);
let spent = 0;
let funded = 0;
@@ -114,13 +114,13 @@ for (const name of args.targets) {
const kp = loadKeypair(name);
const have = await conn.getBalance(kp.publicKey);
if (have >= perTarget) {
- console.log(` skip ${name} — already holds ${(have / LAMPORTS_PER_SOL).toFixed(4)} SOL`);
+ console.log(` skip ${name}: already holds ${(have / LAMPORTS_PER_SOL).toFixed(4)} SOL`);
continue;
}
const need = perTarget - have;
if (bankStart - spent - need < BANK_RESERVE_LAMPORTS) {
console.error(
- ` STOP ${name} — bank would drop below its ${(BANK_RESERVE_LAMPORTS / LAMPORTS_PER_SOL).toFixed(3)} SOL reserve. Top the bank up at https://faucet.solana.com`,
+ ` STOP ${name}: bank would drop below its ${(BANK_RESERVE_LAMPORTS / LAMPORTS_PER_SOL).toFixed(3)} SOL reserve. Top the bank up at https://faucet.solana.com`,
);
break;
}
diff --git a/src/erc8004/abi.js b/src/erc8004/abi.js
index 4d3f226bb..9e71b35c0 100644
--- a/src/erc8004/abi.js
+++ b/src/erc8004/abi.js
@@ -81,7 +81,7 @@ export const REPUTATION_REGISTRY_ABI = [
];
/**
- * Validation Registry ABI — mirrors the deployed ERC-8004
+ * Validation Registry ABI: mirrors the deployed ERC-8004
* `ValidationRegistryUpgradeable` (and the canonical SDK ABI in
* sdk/src/erc8004/abi.js). Two-legged by design: the agent's owner (or an
* approved operator) opens a request naming a validator, and only that validator
diff --git a/src/onchain/deploy-button.js b/src/onchain/deploy-button.js
index 9b99e88e7..21931acf1 100644
--- a/src/onchain/deploy-button.js
+++ b/src/onchain/deploy-button.js
@@ -1,12 +1,12 @@
/**
- * OnchainDeployButton — the one-click "Deploy on-chain" chip.
+ * OnchainDeployButton: the one-click "Deploy on-chain" chip.
*
* Drives the unified prep → sign → confirm pipeline (src/onchain/deploy.js →
* /api/agents/onchain/*) against any chain in the chain-ref registry (CAIP-2
- * keyed — Solana, EVM, and any future family share one dropdown).
+ * keyed: Solana, EVM, and any future family share one dropdown).
*
* The persisted wire shape for `agent.onchain` is snake_case (`tx_hash`,
- * `onchain_id`, `contract_or_mint` — see api/agents/onchain/[action].js and
+ * `onchain_id`, `contract_or_mint`: see api/agents/onchain/[action].js and
* src/onchain/README.md). Every read in this file goes through
* `normalizeOnchain()` so a page reload always rehydrates the success chip
* instead of offering a second (paid) mint.
@@ -204,7 +204,7 @@ export class OnchainDeployButton {
}
_renderError(msg, action) {
- // Every error state keeps a way back to the deploy button — an external
+ // Every error state keeps a way back to the deploy button: an external
// action (install a wallet, open a faucet) never becomes a one-way door.
const actionHtml = action
? `<button class="deploy-action-btn">${_esc(action.label)}</button>` +
@@ -272,8 +272,8 @@ export class OnchainDeployButton {
ref,
onProgress: (step) => this._renderProgress(step),
});
- // Persist the canonical snake_case wire shape locally — the same block
- // the server just wrote — so badges, guards, and rehydration all agree.
+ // Persist the canonical snake_case wire shape locally: the same block
+ // the server just wrote: so badges, guards, and rehydration all agree.
this._agent.onchain = normalizeOnchain(result.agent?.onchain) ?? {
chain: toCaip2(result.ref),
family: ref.family,
diff --git a/tests/agenc-lifecycle-tx.test.js b/tests/agenc-lifecycle-tx.test.js
index 60fc08be4..eadb240c0 100644
--- a/tests/agenc-lifecycle-tx.test.js
+++ b/tests/agenc-lifecycle-tx.test.js
@@ -1,11 +1,11 @@
/**
- * /api/agenc/get-task?lifecycle=1 — the tx-signature + deliverable enrichment.
+ * /api/agenc/get-task?lifecycle=1: the tx-signature + deliverable enrichment.
*
* A Solana task account records WHAT happened but not the signature of the
* transaction that wrote it, so `getTaskLifecycleSummary` hands back a timeline
* with `txSignature: null` on every event. The Agora job-detail panel renders
* those as an honest "no tx recorded", which means the trust surface's Explorer
- * links were dead for real work — even though three.ws journals the real
+ * links were dead for real work: even though three.ws journals the real
* signature (and the completion's proofHash + deliverableUrl) into
* `agora_activity` on every write through the Agora rail.
*
@@ -16,7 +16,7 @@
* lifecycle so a deep link (/agora?task=<pda>) can run the verifier;
* • one journal row is consumed at most once, so a multi-worker task's second
* claim can't inherit the first claim's signature;
- * • a DB outage degrades to the chain's own timeline — never a fabricated link.
+ * • a DB outage degrades to the chain's own timeline: never a fabricated link.
*
* We drive the REAL wrapped handler and mock only the I/O boundary (DB, rate
* limiter, on-chain SDK), so the handler's own shaping runs unchanged.
diff --git a/tests/agora-life-engine.test.js b/tests/agora-life-engine.test.js
index e13ea8582..5e37305dd 100644
--- a/tests/agora-life-engine.test.js
+++ b/tests/agora-life-engine.test.js
@@ -1,5 +1,5 @@
/**
- * Agora life engine — the daily loop itself (Task 11 hardening).
+ * Agora life engine: the daily loop itself (Task 11 hardening).
*
* Every other Agora suite covers a pure module the loop calls; nothing covered
* `tickCitizen`, the state machine that actually drives the economy:
@@ -9,18 +9,18 @@
* Three properties matter enough to pin, because breaking any of them corrupts
* the world silently rather than loudly:
*
- * 1. TRANSITIONS — each node returns its honest outcome, and a citizen that
+ * 1. TRANSITIONS: each node returns its honest outcome, and a citizen that
* finds no work idles instead of inventing an action to project.
- * 2. IDEMPOTENCY — a re-run never double-projects an on-chain action. Every
+ * 2. IDEMPOTENCY: a re-run never double-projects an on-chain action. Every
* economic row carries the tx signature the DB's unique index dedups on
* (citizen_id, kind, tx_signature), and a task already worked in-process is
* never claimed twice.
- * 3. FAILURE ISOLATION — a throw anywhere in one citizen's tick is contained:
+ * 3. FAILURE ISOLATION: a throw anywhere in one citizen's tick is contained:
* it returns 'failed', releases the busy latch, and never propagates to the
* fleet loop.
*
* The chain (agenc.js), the work runners (work/index.js) and the demand policy
- * (demand.js) are mocked at the MODULE boundary — the same discipline
+ * (demand.js) are mocked at the MODULE boundary: the same discipline
* tests/agora-mcp-tools.test.js uses. The engine under test is the real one.
*/
@@ -79,7 +79,7 @@ import { maybePatronPost, maybePatronVerify } from '../workers/agora-citizens/de
* A recording stand-in for the projection sink (store.js). Records every write
* so a test can assert WHAT was projected, not just that something was, and
* applies the same (citizen_id, kind, tx_signature) uniqueness the real table's
- * partial index enforces — so "no double-projection" is tested against the real
+ * partial index enforces: so "no double-projection" is tested against the real
* dedup rule rather than a weaker in-memory one.
*/
function makeRecordingStore() {
@@ -157,7 +157,7 @@ function makeCtx(store, boardTasks = []) {
},
store,
readClient: {},
- dispatcher: null, // no devnet dispatcher — the board is the only supply
+ dispatcher: null, // no devnet dispatcher: the board is the only supply
citizens: [],
// `at: Date.now()` keeps refreshBoard inside its TTL so the tick never
// reaches out over HTTP; the board content is supplied directly.
@@ -227,7 +227,7 @@ describe('agenc mock fidelity', () => {
// ── 1. Loop transitions ──────────────────────────────────────────────────────
-describe('tickCitizen — loop transitions', () => {
+describe('tickCitizen: loop transitions', () => {
it('idles honestly when there is no claimable work, and projects NO activity', async () => {
const store = makeRecordingStore();
const node = await tickCitizen(makeCtx(store), makeCitizen());
@@ -270,7 +270,7 @@ describe('tickCitizen — loop transitions', () => {
const task = openBoardTask({ target: { taskPda: 'other-task', deliverableUrl: 'https://three.ws/x.json' } });
await tickCitizen(makeCtx(store, [task]), makeCitizen({ spec: { displayName: 'Wren', profession: 'sculptor' } }));
- // A Sculptor holding a verification bounty runs runVerifier — the trust loop
+ // A Sculptor holding a verification bounty runs runVerifier: the trust loop
// depends on the target, not on the claimant's headline profession.
expect(vi.mocked(runProfession).mock.calls[0][0]).toBe('verifier');
});
@@ -343,9 +343,9 @@ describe('tickCitizen — loop transitions', () => {
});
});
-// ── 2. Idempotency — no double-projection ────────────────────────────────────
+// ── 2. Idempotency: no double-projection ────────────────────────────────────
-describe('tickCitizen — idempotency', () => {
+describe('tickCitizen: idempotency', () => {
it('does not re-claim a task it already worked this process', async () => {
const store = makeRecordingStore();
const ctx = makeCtx(store, [openBoardTask()]);
@@ -450,7 +450,7 @@ describe('tickCitizen — idempotency', () => {
// ── 3. Failure isolation ─────────────────────────────────────────────────────
-describe('tickCitizen — failure isolation', () => {
+describe('tickCitizen: failure isolation', () => {
it('contains a WORK failure and releases the busy latch', async () => {
vi.mocked(runProfession).mockRejectedValue(new Error('forge lane down'));
const store = makeRecordingStore();
@@ -487,7 +487,7 @@ describe('tickCitizen — failure isolation', () => {
expect(citizen.busy).toBe(false);
});
- it('survives a total projection outage — even the recovery write failing', async () => {
+ it('survives a total projection outage: even the recovery write failing', async () => {
const store = makeRecordingStore();
store.appendActivity = vi.fn().mockRejectedValue(new Error('neon unreachable'));
store.setStatus = vi.fn().mockRejectedValue(new Error('neon unreachable'));
diff --git a/tests/brain-empty-stream-fallback.test.js b/tests/brain-empty-stream-fallback.test.js
index 1b3c408c2..a4af7f26d 100644
--- a/tests/brain-empty-stream-fallback.test.js
+++ b/tests/brain-empty-stream-fallback.test.js
@@ -2,7 +2,7 @@
// the per-attempt abort fires before the first token on a slow free route, or the
// upstream returns an empty completion. That used to be written out as a
// successful `done` event with no text, which ended the response 200-with-no-text
-// AND skipped the entire fallback chain — healthy routes sat unused while the
+// AND skipped the entire fallback chain: healthy routes sat unused while the
// caller got a blank answer. Observed in production 2026-08-06: a Scribe citizen's
// /api/brain/chat call returned `firstTokenMs: null, usage: null` and zero text.
//
@@ -68,7 +68,7 @@ function streamedText(res) {
.join('');
}
-// A model whose stream carries no text deltas and throws nothing — the exact
+// A model whose stream carries no text deltas and throws nothing: the exact
// shape a slow free route leaves behind when its abort fires pre-first-token.
function emptyModel() {
return new MockLanguageModelV3({
diff --git a/tests/cron-auth-fail-closed.test.js b/tests/cron-auth-fail-closed.test.js
index 430f19f79..c9f69bb9a 100644
--- a/tests/cron-auth-fail-closed.test.js
+++ b/tests/cron-auth-fail-closed.test.js
@@ -8,7 +8,7 @@
//
// 2026-08-06 (security review L8): the gate was copy-pasted into 78 files in
// eleven spellings, two of them with inverted return semantics. It now lives in
-// exactly one module, so this suite tests that module — and asserts no handler
+// exactly one module, so this suite tests that module: and asserts no handler
// has grown its own copy again, which is the failure mode that made a fail-open
// paste plausible in the first place.
diff --git a/tests/scrub-secrets.test.js b/tests/scrub-secrets.test.js
index 9ad053dc4..e8ce07358 100644
--- a/tests/scrub-secrets.test.js
+++ b/tests/scrub-secrets.test.js
@@ -58,7 +58,7 @@ describe('scrubSecrets', () => {
describe('redactUrlSecrets', () => {
it('masks a keyed RPC URL inside a network error message', () => {
- // The exact shape Solana web3.js produces when the RPC call fails — the leak
+ // The exact shape Solana web3.js produces when the RPC call fails: the leak
// this exists to stop (HELIUS_API_KEY into console / Sentry / ops alerts).
const out = redactUrlSecrets('FetchError: request to https://mainnet.helius-rpc.com/?api-key=abc123secret failed');
expect(out).not.toContain('abc123secret');
diff --git a/workers/agora-citizens/README.md b/workers/agora-citizens/README.md
index 21ab54203..aa5f42de5 100644
--- a/workers/agora-citizens/README.md
+++ b/workers/agora-citizens/README.md
@@ -83,7 +83,7 @@ Confirm tx signatures on <https://explorer.solana.com/?cluster=devnet>.
### Funding a devnet fleet (the faucet is per-IP rate limited)
Every citizen is a real AgenC agent that pays its own stake, rent and fees, but
-the public devnet faucet caps airdrops per IP — so a fleet of N citizens cannot
+the public devnet faucet caps airdrops per IP: so a fleet of N citizens cannot
each call `requestAirdrop` (the built-in `ensureBalance()` top-up gives up after
its backoff chain with a 429). Land **one** airdrop into a bank wallet, then fan
it out:
@@ -105,7 +105,7 @@ faucet top-up stays out of the way.
`AGORA_STANDALONE_ONLY=1` runs the standalone founding workforce (Aria, Sol,
Echo, …) and never the platform-agent seed. Without it, every engine pointed at
the same database selects the *same* first-N platform agents, so two concurrent
-runs drive one set of keypairs — double claims and contradictory on-chain state.
+runs drive one set of keypairs: double claims and contradictory on-chain state.
Use it for a local run, a CI smoke, or a second fleet alongside a live one:
```bash
@@ -122,7 +122,7 @@ AGORA_STANDALONE_ONLY=1 AGORA_MAX_CITIZENS=3 AGORA_DISPATCH_TASKS=0 node index.j
| `AGORA_CLUSTER` | no | `devnet` | `devnet` only for this worker |
| `AGORA_MAX_CITIZENS` | no | `4` | Fleet size cap (faucet-friendly) |
| `AGORA_MIN_CITIZENS` | no | `3` | Floor when seeding finds too few agents |
-| `AGORA_STANDALONE_ONLY` | no | `0` | Run the standalone founding workforce only — never the platform-agent seed. Use for an isolated fleet (see below) |
+| `AGORA_STANDALONE_ONLY` | no | `0` | Run the standalone founding workforce only: never the platform-agent seed. Use for an isolated fleet (see below) |
| `AGORA_TICK_MS` / `AGORA_TICK_JITTER_MS` | no | `45000` / `20000` | Per-citizen loop cadence ± jitter |
| `AGORA_DISPATCH_TASKS` | no | `1` (devnet) | Internal devnet work supply on/off |
| `AGORA_MIN_OPEN_TASKS` / `AGORA_MAX_OPEN_TASKS` | no | `3` / `8` | Dispatcher open-task pool bounds |
diff --git a/workers/agora-citizens/roster.js b/workers/agora-citizens/roster.js
index c8712ec64..be4d35659 100644
--- a/workers/agora-citizens/roster.js
+++ b/workers/agora-citizens/roster.js
@@ -156,7 +156,7 @@ export function buildRoster(seededAgents, cfg) {
// An isolated fleet (cfg.standaloneOnly) skips the platform-agent seed entirely
// and runs only the standalone founding workforce. Two engines pointed at the
// same DB otherwise select the SAME first-N platform agents and would drive one
- // set of keypairs concurrently — double claims and contradictory on-chain state.
+ // set of keypairs concurrently: double claims and contradictory on-chain state.
// This is also the deterministic fleet for a local devnet run or a CI smoke.
const seeds = cfg.standaloneOnly ? [] : seededAgents || [];
diff --git a/workers/agora-citizens/verify-supply-chain.mjs b/workers/agora-citizens/verify-supply-chain.mjs
index 236b295a2..c52ffb190 100644
--- a/workers/agora-citizens/verify-supply-chain.mjs
+++ b/workers/agora-citizens/verify-supply-chain.mjs
@@ -28,7 +28,7 @@ if (existsSync(dotenv)) {
try {
process.loadEnvFile(dotenv);
} catch {
- // malformed or unreadable .env — fall through to the ambient environment
+ // malformed or unreadable .env: fall through to the ambient environment
}
}