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: stop upgrades reporting untouched shipped prompts as customized

Adam Eivy1aeec89531f7
diff --git a/scripts/migrations/122-script-verify-continuity-loop-prompt.js b/scripts/migrations/122-script-verify-continuity-loop-prompt.js
index ba327f93aa..1d65a6880f 100644
--- a/scripts/migrations/122-script-verify-continuity-loop-prompt.js
+++ b/scripts/migrations/122-script-verify-continuity-loop-prompt.js
@@ -12,6 +12,10 @@ import { makePromptReplaceMigration } from './_lib.js';
export const ACCEPTED_OLD_MD5 = {
'pipeline-script-verify.md': [
'ed6c8101644cfe56a100eb6bfe3587f3', // pre-122
+ // Shipped in v2.22.0, which predates this migration's ledger entry: without
+ // it an untouched upgrade from v2.22 was reported as customized here
+ // before migration 385 upgraded it anyway.
+ 'cec35763c134fcac8bd4e9669ab5505a',
],
};
diff --git a/scripts/migrations/155-heal-cd-treatment-cast-strand.js b/scripts/migrations/155-heal-cd-treatment-cast-strand.js
index 8e79a1b0cc..325c605349 100644
--- a/scripts/migrations/155-heal-cd-treatment-cast-strand.js
+++ b/scripts/migrations/155-heal-cd-treatment-cast-strand.js
@@ -38,6 +38,10 @@ export const ACCEPTED_OLD_MD5 = {
'2ffa482e7bfb6fe8b7224505fedbf712', // pre-#1808 shipped, pre-imageStrength-knob (447d2b5e3 / 22a0aced0)
'16d0ef6a7fd2533719a846019122ebee', // pre-#1808 shipped, post-imageStrength-knob (c68f38d09 / f04e3955c)
'95b7685690ecfee4f682b0293b790277', // migration-148 partial: cast list inserted, per-scene cast field missed (the #2042 strand)
+ // Shipped v2.24–v2.26, and migration 148's complete output for every older
+ // body: upgrades from v2.8–v2.26 reached this migration on it and were
+ // falsely reported as customized before migration 371 upgraded them.
+ 'd940eadfb406ce584f0e244032f33382',
],
};
diff --git a/scripts/migrations/368-fableloom-plan-review-evolution.js b/scripts/migrations/368-fableloom-plan-review-evolution.js
index e84e97bc39..5001859586 100644
--- a/scripts/migrations/368-fableloom-plan-review-evolution.js
+++ b/scripts/migrations/368-fableloom-plan-review-evolution.js
@@ -24,7 +24,12 @@
import { makePromptReplaceMigration } from './_lib.js';
export const ACCEPTED_OLD_MD5 = {
- 'fableloom-review-series-plan.md': ['1c1ab552f6f6a4d9d51f1d3bacd89122'],
+ 'fableloom-review-series-plan.md': [
+ '1c1ab552f6f6a4d9d51f1d3bacd89122',
+ // Shipped in v2.53.0, before this migration existed; an untouched upgrade
+ // from it was reported as customized here (and in 384) until 385 caught up.
+ 'd7d3b306c82cea4d7f13a78512a46948',
+ ],
};
export const NEW_SHIPPED_MD5 = {
diff --git a/scripts/migrations/385-stranded-stage-prompt-history.js b/scripts/migrations/385-stranded-stage-prompt-history.js
index 66fb8f366e..71816d2cde 100644
--- a/scripts/migrations/385-stranded-stage-prompt-history.js
+++ b/scripts/migrations/385-stranded-stage-prompt-history.js
@@ -1,7 +1,13 @@
import { makePromptReplaceMigration } from './_lib.js';
export const ACCEPTED_OLD_MD5 = {
- 'catalog-ideas-scenes-concepts.md': ['243074821ebc58eec63e26d284101b29'],
+ 'catalog-ideas-scenes-concepts.md': [
+ '243074821ebc58eec63e26d284101b29',
+ // Shipped v2.13–v2.69 and upgraded by migration 394, which runs after this
+ // one: without it every upgrade from those releases was reported as
+ // customized here first.
+ '98aa063cec8ad5c0e017dbc7bc949054',
+ ],
'fableloom-branch-node.md': [
'e5005826c4577623ba362a0292741c7c',
'ff5d40b3090c775fc9c1f48c2ea96bbd',