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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
docs(issue-2696): note the migration-rerun caveat (#2770) in migration 198
[._.]/ Adam Eivyfc66197bf4c6
diff --git a/scripts/migrations/198-purge-poisoned-coordinator-learning-buckets.js b/scripts/migrations/198-purge-poisoned-coordinator-learning-buckets.jsindex c1eb800667..331512bab3 100644--- a/scripts/migrations/198-purge-poisoned-coordinator-learning-buckets.js+++ b/scripts/migrations/198-purge-poisoned-coordinator-learning-buckets.js@@ -41,6 +41,12 @@** No-op by construction on installs that never ran these types — the file is only* rewritten when at least one bucket is actually present.+ *+ * Known caveat (shared with migration 197, tracked in #2770): if data/migrations.applied.json+ * is lost/corrupt, the runner rebuilds the ledger from [] and reruns every migration — this+ * purge identifies its target by bucket PRESENCE, so a rerun would also drop legitimate+ * post-fix coordinator history. Deferred as a cross-cutting fix (a per-198 marker would diverge+ * from 197); see #2770.*/import { readFile, writeFile } from 'fs/promises';