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
docs(finish): close order 942 after re-verifying the perps desk, MCP tools, routes, page and prompt already shipped
nirholas942ebeb63cf2
diff --git a/prompts/finish/942-perps-go-live.md b/prompts/finish/942-perps-go-live.mddeleted file mode 100644index 5109224a3..000000000--- a/prompts/finish/942-perps-go-live.md+++ /dev/null@@ -1,11 +0,0 @@-Perpetuals exist as a library and nowhere else. api/_lib/perps/phoenix.js (about 790 lines) is a real Phoenix venue adapter: markets, market data, accounts, collateral deposit and withdraw, order quotes with liquidation distance, market, limit, take-profit and stop-loss orders, reduce-only, cancels. api/_lib/perps/index.js is a venue-agnostic contract. Its header promises a service layer, v1 routes, MCP tools and an /agents/:id/perps page, and none of them exist. api/_mcp/prompts.js already references perps_markets, perps_order_preview and perps_order_execute, which are not registered, so that prompt is broken today.--Make perps a finished product. Build api/_lib/perps/service.js that signs through the agent wallet under the existing spend policy and guards (api/_lib/agent-trade-guards.js), with a mandatory leverage cap and per-position margin cap per agent, defaults conservative. Expose MCP tools (perps_markets, perps_market_data, perps_account, perps_collateral_deposit, perps_collateral_withdraw, perps_order_preview, perps_order_execute, perps_order_cancel, perps_positions), REST routes under /api/v1/agents/:id/perps, and the agents/:id/perps page.--Every execute is two steps: a preview that returns a preview_id, the exact margin, leverage, size, entry, fees and liquidation price, then an execute that requires the preview_id, an explicit confirm flag and an Idempotency-Key, and fails if the quote moved beyond tolerance. Build a live position tracker (stream) with unrealised PnL, funding paid and distance to liquidation, alerts at thresholds the owner sets, and an agent-level kill switch that flattens everything with confirmation. Add a paper mode that fills at live prices so strategies can be tested before real margin is used; live mode needs an explicit per-agent enable.--Because Phoenix is one venue, keep the venue interface honest so a second one can be added later. Test with the venue's own simulation or devnet; never open a real position in a test. Fix the dangling prompt.-------This brief is standalone. Assume no other brief has run, and keep working if others run at the same time: use names unique to this work for tables, routes and files, give migrations a fresh timestamp, append to shared files instead of rewriting them, and re-read a shared file before you edit it. CLAUDE.md governs everything, including its spend gate (anything that signs or moves funds shows recipient, amount, asset and chain and waits for an explicit yes; test with devnet, simulation or paper mode) and the rule that nothing naming another crypto project is committed without the owner's approval, so list any new third-party names you introduce in your report. Never name any competitor in a committed file. Finish it fully: wire it, document it, add the changelog entry, verify it for real, and report what you observed.