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
feat(x-content): ship what the line approves in the same command that approves it
nirholasd1cea90a43a2
diff --git a/docs/x-content-pipeline.md b/docs/x-content-pipeline.mdindex f4e424aca..2d6027b43 100644--- a/docs/x-content-pipeline.md+++ b/docs/x-content-pipeline.md@@ -225,6 +225,10 @@ says which one stopped it:| It tags no one | A tag puts a partner's name next to ours. A person decides that. || The review passed on the editor's own verdict | An `editorOverride` is a person's judgment, so it needs a person. |+`npm run x:content -- advance --ship` is the whole line in one command: it films what needs+filming, reviews it, releases what the policy allows, and publishes every approved post as a+bundle.+A release by policy is embargoed for `vetoHours` and written to the ops alerts (and pushed toTelegram when `TELEGRAM_ALERTS_CHAT_ID` is set), so there is always a window to take it back:diff --git a/scripts/x-content.mjs b/scripts/x-content.mjsindex 2bb5b4a90..f8aab2ff5 100644--- a/scripts/x-content.mjs+++ b/scripts/x-content.mjs@@ -15,6 +15,8 @@// npm run x:content -- adopt [<slug>...] move finished stories from data/x-content/stories/ into the queue// npm run x:content -- advance [<slug>] [--dry-run] take every draft and review item as far as it can go:// film, review, and release by policy where the queue allows it+// npm run x:content -- advance --ship and publish what is approved as bundles, so it goes out+// without waiting for a deploy (needs X_CONTENT_BUNDLE_SECRET)// npm run x:content -- pause <slug> take a post back before it goes out// npm run x:content -- review <slug> [--no-editor] the editorial bar: lint, live fact checks, AI editor// npm run x:content -- review --status review review every item awaiting review@@ -583,6 +585,12 @@ async function advance() {const { sendOpsAlert } = await import('../api/_lib/alerts.js');await sendOpsAlert(digest.title, digest.detail, { severity: 'info' }).catch((err) => console.log(`(the ops alert was not recorded: ${err.message})`));}+ if (has('ship') && !dryRun) {+ // Everything approved and not yet sent, whoever approved it: the bundles+ // are what production reads, so they should always say what the queue says.+ const ship = spawnSync(process.execPath, [resolve(root, 'scripts/x-bundle.mjs'), 'publish', '--approved'], { cwd: root, stdio: 'inherit' });+ if (ship.status !== 0) process.exitCode = 1;+ }}// --- review ----------------------------------------------------------------