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
test([issue-3238]): pin the Hey Ho lyric drift guard to content, not identity
[._.]/ Adam Eivyf5fd7793c951
diff --git a/scripts/migrations/214-fix-hey-ho-fourth-phrase.test.js b/scripts/migrations/214-fix-hey-ho-fourth-phrase.test.jsindex 1b0b265bc5..f7e5f1c4cc 100644--- a/scripts/migrations/214-fix-hey-ho-fourth-phrase.test.js+++ b/scripts/migrations/214-fix-hey-ho-fourth-phrase.test.js@@ -53,6 +53,11 @@ describe('migration 214 — Hey Ho Nobody Home fourth phrase + lyric', () => {expect(NEW_HEY_HO_SCORE_PARTS).toBe(seed.scoreParts);expect(NEW_HEY_HO_NOTATION).toBe(seed.notation);expect(NEW_HEY_HO_LYRICS).toBe(seed.sections.find((s) => s.id === SECTION_ID).lyrics);+ // Pin the content, not just the identity: a renamed section id would make+ // BOTH sides of the comparison above `undefined` and pass vacuously, and the+ // migration would then write `undefined` over a user's lyrics.+ expect(typeof NEW_HEY_HO_LYRICS).toBe('string');+ expect(NEW_HEY_HO_LYRICS).toContain('Hey, hey, ho.');});// Drift guard (b): the frozen OLD constants are the post-158 / pre-3238 shipped