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.

Migrations: teach the real fix for comment-only drift

nirholasa582c02f7090
diff --git a/scripts/apply-migrations.mjs b/scripts/apply-migrations.mjs
index a32152873..0c0716a23 100755
--- a/scripts/apply-migrations.mjs
+++ b/scripts/apply-migrations.mjs
@@ -142,7 +142,12 @@ async function main() {
`\nERROR: ${drift.length} migration(s) have drifted (file changed after apply):`,
);
for (const d of drift) console.error(` - ${d.fname}`);
- console.error('Refusing to proceed. Roll forward with a new migration instead.');
+ console.error(
+ 'Refusing to proceed. An applied migration is an immutable record of what ran —\n' +
+ 'do NOT edit it. If the change was comment-only (schema byte-identical), restore\n' +
+ 'the file to its applied bytes: git show <commit-that-applied-it>^:<path> > <path>\n' +
+ 'If the schema genuinely needs to change, roll forward with a NEW migration.',
+ );
process.exit(3);
}