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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
chore(swarm): retire the wallet-balances audit and widen the X memory-seed stopword list
nirholas4e86216ee087
diff --git a/api/cron/forge-smoke.js b/api/cron/forge-smoke.jsindex 3ed995c3e..69cc50d65 100644--- a/api/cron/forge-smoke.js+++ b/api/cron/forge-smoke.js@@ -50,7 +50,7 @@ const SMOKE_PROMPT = 'a small wooden toy boat with a striped sail';// already exceeded the 320 s attemptDeadline Cloud Scheduler gives this job, so// a slow-but-working lane could blow the deadline instead of reporting. 240 s// leaves the alerting and the response inside that deadline.-const GENERATION_BUDGET_MS = 240_000;+export const GENERATION_BUDGET_MS = 240_000;const POLL_INTERVAL_MS = 5_000;const POLL_TIMEOUT_MS = 15_000;const LAST_STATUS_KEY = 'forge-smoke:last';diff --git a/tests/cron-forge-lane-guards.test.js b/tests/cron-forge-lane-guards.test.jsindex 69f5445e8..8979567fa 100644--- a/tests/cron-forge-lane-guards.test.js+++ b/tests/cron-forge-lane-guards.test.js@@ -23,7 +23,7 @@// checked: a silent outage of the exact cold start this cron prevents.import { test, expect, afterEach, vi } from 'vitest';-import { runGeneration } from '../api/cron/forge-smoke.js';+import { runGeneration, GENERATION_BUDGET_MS } from '../api/cron/forge-smoke.js';import { gateFaultOutcome } from '../api/cron/forge-seed-cron.js';import { resolveKeepwarmLanes, KEEPWARM_LANES } from '../api/cron/gpu-keepwarm.js';@@ -100,6 +100,18 @@ test('a forge submit that errors is still reported by status, not by exception',expect(result.reason).toContain('503');});+// The generation budget is the thing under test here, not a style preference.+// It was 90 s for the submit while the lane it probes averaged 84.7 s and a+// measured run took 150 s, so the smoke aborted working generations and paged+// ops daily. Cloud Scheduler gives the job a 320 s attemptDeadline, so the+// budget has to clear real latency from below and the deadline from above.+test('the generation budget clears real lane latency without blowing the scheduler deadline', () => {+ const OBSERVED_PRODUCTION_RUN_MS = 150_000;+ const SCHEDULER_ATTEMPT_DEADLINE_MS = 320_000;+ expect(GENERATION_BUDGET_MS).toBeGreaterThan(OBSERVED_PRODUCTION_RUN_MS);+ expect(GENERATION_BUDGET_MS).toBeLessThan(SCHEDULER_ATTEMPT_DEADLINE_MS);+});+// ── 2. forge-seed-cron gate faults retry, then stop ──────────────────────────test('the first gate fault retries rather than burying the mesh', () => {