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: reword banned em-dashes and code-looking comments in the new commits

nirholas6839844cc053
diff --git a/api/_lib/skill-royalty.js b/api/_lib/skill-royalty.js
index c151de312..c30b0e712 100644
--- a/api/_lib/skill-royalty.js
+++ b/api/_lib/skill-royalty.js
@@ -92,7 +92,7 @@ export function computeSkillRoyaltySplit({ priceAtomics, platformBps }) {
* their wallet at settle time, so the row lands 'settled' with the rail's
* transaction as provenance (source 'x402'). Rows billed by the in-process
* runtime (source 'skill-runtime') stay 'pending' for the delegation redeem
- * leg instead — settleRoyalties in api/_lib/royalty.js owns those.
+ * leg instead; settleRoyalties in api/_lib/royalty.js owns those.
*
* @param {{ skillId: string, authorId: string, payer?: string|null,
* network?: string|null, txHash?: string|null, priceAtomics: bigint|number|string,
diff --git a/api/_lib/x402-paid-endpoint.js b/api/_lib/x402-paid-endpoint.js
index cfdb81a61..71aa5144a 100644
--- a/api/_lib/x402-paid-endpoint.js
+++ b/api/_lib/x402-paid-endpoint.js
@@ -338,7 +338,7 @@ export function paidEndpoint(spec) {
// Optional post-settlement accrual hook (Roadmap phase 3: per-call
// royalties). Called fire-and-forget AFTER settlement succeeds, with
// { payer, network, txHash, amountAtomics, asset, resourceUrl }. Use it
- // for ledger writes that must not delay or fail the settled response —
+ // for ledger writes that must not delay or fail the settled response,
// e.g. /api/x402/skill-call recording the author's royalty accrual. Any
// throw is logged and swallowed; the payment already settled.
onSettled,
diff --git a/api/nodes/jobs.js b/api/nodes/jobs.js
index 5e062a848..7dd67b0ab 100644
--- a/api/nodes/jobs.js
+++ b/api/nodes/jobs.js
@@ -1,4 +1,4 @@
-// GET /api/nodes/jobs — an inference node claims its next job (phase 4).
+// GET /api/nodes/jobs: an inference node claims its next job (phase 4).
//
// The operator client's poll loop hits this endpoint. Auth is a signed
// timestamp (`sig` = ed25519 over `threews-node-poll:{node}:{ts}`), so only
diff --git a/api/nodes/jobs/[id]/result.js b/api/nodes/jobs/[id]/result.js
index 1735682ce..5820716aa 100644
--- a/api/nodes/jobs/[id]/result.js
+++ b/api/nodes/jobs/[id]/result.js
@@ -1,4 +1,4 @@
-// POST /api/nodes/jobs/[id]/result — an inference node submits a finished job.
+// POST /api/nodes/jobs/[id]/result: an inference node submits a finished job.
//
// Success body: { node, output, startedAt, finishedAt, receipt }
// Failure body: { node, failed: true, error, startedAt, finishedAt, ts, signature }
diff --git a/api/nodes/register.js b/api/nodes/register.js
index 9203d7506..176d00334 100644
--- a/api/nodes/register.js
+++ b/api/nodes/register.js
@@ -1,4 +1,4 @@
-// POST /api/nodes/register — register an inference node (phase 4 open network).
+// POST /api/nodes/register: register an inference node (phase 4 open network).
//
// The operator client (packages/node-operator) calls this once at boot. The
// node's Solana ed25519 public key IS its identity: registration is an
diff --git a/api/x402/llm-proxy.js b/api/x402/llm-proxy.js
index 693ce125f..18f7f0609 100644
--- a/api/x402/llm-proxy.js
+++ b/api/x402/llm-proxy.js
@@ -10,8 +10,8 @@
//
// Roadmap phase 4: every paid job is METERED and SETTLED with a
// cryptographic receipt. After the job runs, the node signs the metered job
-// core (prompt hash, response hash, token counts) with INFERENCE_SIGNING_KEY;
-// after the payment settles, the receipt issuer signs job core + response
+// core (prompt hash, response hash, token counts) with INFERENCE_SIGNING_KEY.
+// After the payment settles, the receipt issuer signs job core + response
// signature + payment facts (network, payer, amount, asset, tx) into one
// `inferenceReceipt` object on the response body. Any holder of the receipt
// can prove the payment covered exactly this job: verify offline with
diff --git a/contracts/agent-invocation/tests/agent-invocation.ts b/contracts/agent-invocation/tests/agent-invocation.ts
index ea07ea853..26978ae19 100644
--- a/contracts/agent-invocation/tests/agent-invocation.ts
+++ b/contracts/agent-invocation/tests/agent-invocation.ts
@@ -180,7 +180,7 @@ describe("agent_invocation", () => {
});
// AI-1 (negative half): a caller cannot present somebody else's agent PDA as
- // their own — the seeds constraint re-derives the PDA from the signer, and
+ // their own. The seeds constraint re-derives the PDA from the signer, and
// the mismatched account fails the constraint before the body runs.
it("rejects an invoker_agent derived from a different authority", async () => {
const [foreignAgent] = deriveAgentPda(targetAuthority.publicKey, programId);
diff --git a/contracts/skill-license/tests/skill-license.ts b/contracts/skill-license/tests/skill-license.ts
index 458288190..df0a47a0e 100644
--- a/contracts/skill-license/tests/skill-license.ts
+++ b/contracts/skill-license/tests/skill-license.ts
@@ -205,7 +205,7 @@ describe("skill_license", () => {
assert.strictEqual(market.licensesMinted.toNumber(), 1);
});
- // SL-2 (negative half): the same purchase can never mint twice — the second
+ // SL-2 (negative half): the same purchase can never mint twice. The second
// init hits existing accounts and the transaction fails.
it("rejects minting the same (owner, agent, skill) twice", async () => {
const { license, nftMint, ownerTokenAccount } = deriveLicense(owner.publicKey, agentMint, "summarize");
diff --git a/public/nav-data.js b/public/nav-data.js
index c06f583ac..1d3142299 100644
--- a/public/nav-data.js
+++ b/public/nav-data.js
@@ -374,7 +374,7 @@ export const NAV_GROUPS = [
href: '/reputation/market',
badge: 'New',
badgeTone: 'new',
- desc: 'Stake conviction on an agent and earn from its attested action history — escrowed principal, withdraw any time',
+ desc: 'Stake conviction on an agent and earn from its attested action history: escrowed principal, withdraw any time',
},
],
},
diff --git a/scripts/inference-settlement-proof.mjs b/scripts/inference-settlement-proof.mjs
index a75e0d4a5..c29f24f58 100644
--- a/scripts/inference-settlement-proof.mjs
+++ b/scripts/inference-settlement-proof.mjs
@@ -122,7 +122,7 @@ async function airdrop(pubkeyB58, sol = 1) {
} catch (err) {
attempts.push(`faucet.solana.com: ${err.message}`);
}
- throw new Error(`airdrop failed on every source — ${attempts.join(' | ')}`);
+ throw new Error(`airdrop failed on every source: ${attempts.join(' | ')}`);
}
async function rpcCall(method, params) {
@@ -272,5 +272,5 @@ if (!verdict.ok) {
const st = await confirmSig(settled.transaction);
log('verify', `on-chain settlement confirmed at slot ${st.slot}`);
-console.log('\nPROOF RESULT: PASS — one inference job metered, settled on the devnet test lane, receipt verified against the job signature.');
+console.log('\nPROOF RESULT: PASS. One inference job metered, settled on the devnet test lane, receipt verified against the job signature.');
console.log(JSON.stringify({ jobId: job.jobId, tx: settled.transaction, receipt }, null, 2));
diff --git a/scripts/reputation-market-proof.mjs b/scripts/reputation-market-proof.mjs
index e3259fd9a..6c7049595 100644
--- a/scripts/reputation-market-proof.mjs
+++ b/scripts/reputation-market-proof.mjs
@@ -11,7 +11,7 @@
// 3. stake : the staker signs a market stake (transfer + rsm.v1 memo)
// 4. verify : verifyStakeTx re-derives the position from the chain alone
// 5. accrue : quoteEarnings over the on-chain action history (the same
-// function the HTTP surface and settlement path call)
+// routine the HTTP surface and settlement path call)
// 6. withdraw: the escrow signs the settlement (principal + earnings back to
// the staker, threews.unstake.v1 memo), then the chain is
// re-read to confirm both the transfer and the memo
diff --git a/tests/api/regenerate-status.test.js b/tests/api/regenerate-status.test.js
index fc69559f8..3895ba2c7 100644
--- a/tests/api/regenerate-status.test.js
+++ b/tests/api/regenerate-status.test.js
@@ -130,7 +130,7 @@ beforeEach(() => {
resetState();
});
-describe('regenerate-status — capture-to-avatar poll contract', () => {
+describe('regenerate-status: capture-to-avatar poll contract', () => {
it('finalizes a finished worker job and returns the new avatar id', async () => {
state.job = baseJob();
state.statusReturn = { status: 'done', resultGlbUrl: VALID_GLB };
diff --git a/workers/stylize/oin.py b/workers/stylize/oin.py
index 3279aef7e..e6d57d84a 100644
--- a/workers/stylize/oin.py
+++ b/workers/stylize/oin.py
@@ -356,7 +356,7 @@ def mount_oin(
result = run_job(envelope, report)
if hasattr(result, "__await__"):
await result
- except Exception as exc: # noqa: BLE001 — an unsigned crash still earns a signed failure
+ except Exception as exc: # noqa: BLE001 (an unsigned crash still earns a signed failure)
log.exception("oin job %s crashed; signing a failure response", job_id)
if not report.called:
report.failed(code="node_error", message=str(exc)[:500])