Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: correct comment in run-migrations to match throw-on-corrupt behavior

Adam Eivyd830f7a43d84
diff --git a/scripts/run-migrations.js b/scripts/run-migrations.js
index b83b81123f..ffe6b70c59 100644
--- a/scripts/run-migrations.js
+++ b/scripts/run-migrations.js
@@ -12,7 +12,7 @@ async function run() {
// Ensure migrations directory exists
await mkdir(migrationsDir, { recursive: true });
- // Load applied migrations list (default to [] on read/parse failure)
+ // Load applied migrations list (default to [] on missing/unreadable file, throw on corrupted JSON)
let applied = [];
const raw = await readFile(appliedFile, 'utf-8').catch(err => {
if (err.code !== 'ENOENT') {