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
fix: baseline stranded prompt hashes (#12222)
Adam Eivy5288a60b57bd
diff --git a/scripts/ci-test-plan.js b/scripts/ci-test-plan.jsindex e30c8dcc4b..9f2e7c19c8 100644--- a/scripts/ci-test-plan.js+++ b/scripts/ci-test-plan.js@@ -295,6 +295,9 @@ export const ALWAYS_RUN_TESTS = ['scripts/ensure-deps.test.js','scripts/migrations/promptBumpMigrations.guard.test.js','scripts/migrations/shippedPromptHistory.guard.test.js',+ // Sweeps every migration export against independent prompt-hash baselines;+ // migration files have no import edge back to this guard.+ 'scripts/setup-data-drift.test.js','scripts/node-version-drift.test.js',// Whole-tree markdown scanner: a docs-only PR can reintroduce the stale band// in prose with no import edge back to this test (#11851).diff --git a/scripts/ci-test-plan.test.js b/scripts/ci-test-plan.test.jsindex 839337ba18..137edc7dfc 100644--- a/scripts/ci-test-plan.test.js+++ b/scripts/ci-test-plan.test.js@@ -577,6 +577,10 @@ describe('CI test impact planner', () => {}});+ it('runs the migration prompt-drift baseline on every plan', () => {+ expect(ALWAYS_RUN_TESTS).toContain('scripts/setup-data-drift.test.js');+ });+it('omits an untracked always-run guard rather than handing Vitest a missing selector', () => {const plan = buildCiTestPlan(['docs/GITHUB_ACTIONS.md'], {trackedFiles: TRACKED.filter((path) => path !== 'server/services/taskPromptDefaults.test.js'),diff --git a/scripts/setup-data-drift.test.js b/scripts/setup-data-drift.test.jsindex c22e7b4008..945daecc3e 100644--- a/scripts/setup-data-drift.test.js+++ b/scripts/setup-data-drift.test.js@@ -25,10 +25,10 @@ const migrationsDir = join(dirname(fileURLToPath(import.meta.url)), 'migrations'// that the sweep itself is expected to carry it.const EXPECTED_STAGE_OLD = {'cd-evaluate.md': ['c986613edbb595cece674403db0f069d'],- 'pipeline-idea-expansion.md': ['1ee44cf95851ff8debf18729ebcd40b4', '1f3c5d077a5ef9a4b610335d5e3edd9c', '41facefbc0c0549d456bef9111f95ab9', '49a208628290543ba2607a5ed48fdc8c', '93e9552c6662811e597a97296f3776a4', 'aee25112b2c596f643b17c559b772c22', 'b5c47c94ffc74637983c95761ab0c66c', 'c50f016639d41cd8244f5ff13429f997', 'd6fa86a435f978336661dcabca67258f'],+ 'pipeline-idea-expansion.md': ['1ee44cf95851ff8debf18729ebcd40b4', '1f3c5d077a5ef9a4b610335d5e3edd9c', '41facefbc0c0549d456bef9111f95ab9', '49a208628290543ba2607a5ed48fdc8c', '93e9552c6662811e597a97296f3776a4', 'aee25112b2c596f643b17c559b772c22', 'b5c47c94ffc74637983c95761ab0c66c', 'c50f016639d41cd8244f5ff13429f997', 'c5b2e719e232a281b3829a5348cb29c1', 'd6fa86a435f978336661dcabca67258f'],'pipeline-prose.md': ['30ac30ec2b9d3e2a9eb869c181732cc6', '84523d531eeafa60959c65c553b2563f', 'bef1bc2767b78f585f2bd89f3d615130', 'bfea5aeeb471aae9749baee765b473a7', 'd1f8e3f1d214725b5aa67f309a81cd7d', '25e3d58c2741bd98acd5d08ba70d8a5e', '430d38ed2da59e0d4212e65edc499a74'],'writers-room-continue.md': ['93bfe80543ceca39842201a78b8393fa', '67663696c97ebaeb23de25f7410cfdd4'],- 'pipeline-comic-script.md': ['133d200d069c2e8173b7c129eea58f53', '1e0af305c27d0c80c4b482d2ebcb4a0d', '40e5fdc1a1e68a7419b7dad936366c1a', '7c05ecde539f04c9fa91e87543057204', 'a4303016c34b65e4b0e641fe71252de3', 'beab031951859ca13579cdb9c4dbe769', 'dea7d497d1cb38e7574f236f4ff8e644', 'e530fc76b89cedaef848ad7ec99c934c', 'e9ee70bf18888492edada6633cd9928a'],+ 'pipeline-comic-script.md': ['133d200d069c2e8173b7c129eea58f53', '1e0af305c27d0c80c4b482d2ebcb4a0d', '40e5fdc1a1e68a7419b7dad936366c1a', '7c05ecde539f04c9fa91e87543057204', '9fe2451b573fc60eb6c971e1b8808ef3', 'a4303016c34b65e4b0e641fe71252de3', 'beab031951859ca13579cdb9c4dbe769', 'dea7d497d1cb38e7574f236f4ff8e644', 'e530fc76b89cedaef848ad7ec99c934c', 'e9ee70bf18888492edada6633cd9928a'],'pipeline-teleplay.md': ['1280ef6b1ad68fa44070ca7478ec2a5f', '2568e14beaa574d43f8018a5def51d04', '376f779f4687b598f1c92ca4e770fd5a', '3f6fecc25573ed054b47db392250034a', 'afa4215330bf856429d70d7e2f856605'],'pipeline-season-episodes.md': ['6e349ad26bed8a0ccb042571f03f03eb', 'c4928e2a5f833358116b29d2d669888d', '50c68a29c3ebc275db3095d06bd87100', 'a88e8e78a949b7aaf500d03314e2ea0b', '7c24df53c097c2525a52bfb766239647'],'pipeline-arc-overview.md': ['6a3ecab43d1f46b7ef9aab6c69ea0326', 'd34d72b8e49ba303d38607845dd87f1c', '0a1f6ffa6908522e3690c5e9e53a6ee0', '612f8b04950e2ff26dd350dd76a062fe', '74d6c26548660d85fc345b2099c63b6c', '648e11352cd1565aee490de1f662bef0', '5ed760caaf3cf88916ec28b220e2f590'],@@ -36,22 +36,22 @@ const EXPECTED_STAGE_OLD = {'importer-issue-proposal.md': ['a6838832f8289932836db84ee565b870'],'pipeline-volume-verify.md': ['03f3c874cb80e1c98abcf03168fa7a92', 'c6ea28e972ad6e229bafb2d602b4dda3', '49458d36700cb94e34806d536ffe2940', '3e8a8f00d5faaee9d8e08a49d801b812', '9c0839d7fe1760c0891464afd4a3b8fd'],'pipeline-arc-resolve.md': ['3f5ef41212890889811e4509a131c4e9', '122950b9f5ce84708ac1510ef13b1bce', '0611db539437083621e19bb88b005e8d', '0787128babf3c4c50e2f2cdb60214030', '5b340885c6e8f8afc63424d6b5bc7eb7', '87bc5c01f1a8a97b681727a38b05edc6', '8bb134554c122d1583c479ab3010e53d', '8e348f3d1894382889f9f0ee7d5c6792', '96f73a7e90526d65ef2bb100fb1cd4bf', 'a8677bbe1eb38f871fb152a5b0fec7c6', 'cc27b4da1d1a13c35e35d1c2d6183815', '31eca76b68f40de1b93734fe9bc9f4bb', '17fbb066d7957dc2e345df1795bb0d9d', 'ebd85d3a0b5949f16877c25ca498cce9', '2349bce80e9df8caafa391a6106327b6', 'aa2e463ebe0857859d79aa0c6ccb0256', '638b988c84b3e5599f7a2ce09fa149ce', '56926d795bd31f7e05e6bbbc646ecf9f'],- 'pipeline-script-verify.md': ['ed6c8101644cfe56a100eb6bfe3587f3'],+ 'pipeline-script-verify.md': ['cec35763c134fcac8bd4e9669ab5505a', 'ed6c8101644cfe56a100eb6bfe3587f3'],'pipeline-extract-scenes.md': ['59fa5ee305ce53d91eb15224d8b546d3', 'c51fb208568d0d903eb43b437478b0ba'],'writers-room-places.md': ['24a33628cc94d80fa5ca60831d973daf', '7f1f80eb63d67a21161994cde115045e', 'a7f68e51dd6b4421d20f5bd9d855d9b4'],'writers-room-characters.md': ['cdd99c7a3ef92bf798f30fa2fb4465f1', '4b19f6538ff3a602007ef8e32c8e5047'],'writers-room-objects.md': ['1115d2d7d2e52e1e10c38325b88a4d94'],- 'catalog-ideas-scenes-concepts.md': ['98aa063cec8ad5c0e017dbc7bc949054'],+ 'catalog-ideas-scenes-concepts.md': ['243074821ebc58eec63e26d284101b29', '98aa063cec8ad5c0e017dbc7bc949054'],'writers-room-evaluate.md': ['d3374472820df264731f435141e05270', 'd3b2b40bcabc9ca690fa67b69d64d628', '286e9498966187ed74126680da4a6a54'],'universe-character-expand.md': ['ef109eb8e12ddb664c11c790271b5139', '67b6e73ed47f318451a730088b4cff14', '177b6e4e8bdf445308cf8ac423cd5ad8', '924fe8836f3014873d1789e98e997db2'],'story-builder-idea-expand.md': ['778c86e2caa120856c36e4d5a4da3355', 'a23939626a226f7420cebfb45d47950c'],'pipeline-editorial-analysis.md': ['14d9879697c66d51830cc798040d5369'],'pipeline-manuscript-completeness.md': ['fd26f928c33803c12878a1bfb8561ece', '4f2b95778aed85f5fc461d71eb461b79', 'e6858c74ab2cead752d388e3f428406c', '1ee5ac936fbf1d365e0eaea99bcf1e77', 'cec8faeb75dfff74e41b8221145c2e92'],- 'pipeline-manuscript-fix.md': ['196625952f4a36f3cb962c729f60f0ee', 'c88a56304eb5e290ae0de9dadd20b310', '88199bf7b5b50155bd2e1624bd920ebd'],+ 'pipeline-manuscript-fix.md': ['196625952f4a36f3cb962c729f60f0ee', '87c6e47030df07b37ace44d2a15372cf', 'c88a56304eb5e290ae0de9dadd20b310', '88199bf7b5b50155bd2e1624bd920ebd'],'cos-agent-briefing.md': ['181b26838e526427173e4dccfc884d01', '3e1ca7f7b14b799f89a193c568003624', '699d053875472df455258724a0162bd5', '9bcd3a0167dd4aed7cfff7f404494dfb', 'af73fd50d6f29d561772474c12346e53', 'd761133753da290a0c02eca1c87709e4', 'dccb392a43cbd3dac900fee12c31619a'],'pipeline-editorial-telling-emotion.md': ['2c5c33709732fe7ffa319d32b8755354'],- 'pipeline-editorial-chekhov.md': ['bfacbf343ba2b9a3f6037bb45b94e1bb'],- 'pipeline-editorial-on-the-nose.md': ['48182b49149e6b5829fbed71b3ffc242'],+ 'pipeline-editorial-chekhov.md': ['21246b605f442f8c749fc2835bd293b5', 'bfacbf343ba2b9a3f6037bb45b94e1bb'],+ 'pipeline-editorial-on-the-nose.md': ['48182b49149e6b5829fbed71b3ffc242', '8d9038a2b197728f6edeedb84699f364'],'pipeline-tv-script.md': ['3f6fecc25573ed054b47db392250034a'],'cd-treatment.md': ['4da071646deff0001473502a7c4b5252', '1de973575a772db0544bbeda2ba5df77', '2ffa482e7bfb6fe8b7224505fedbf712', '16d0ef6a7fd2533719a846019122ebee', '95b7685690ecfee4f682b0293b790277', 'd940eadfb406ce584f0e244032f33382'],'cd-plan.md': ['02354df62fe776704669d3ff06f346e4', '41a61590896d1327df2c6915557361de', '3ce871196a8fd04781b71b6780e89c86', '0768d6809645c2c1fe73cacae9740fe9', 'ef0d96f6ebde43af6c4579969d31cfb7'],@@ -61,25 +61,39 @@ const EXPECTED_STAGE_OLD = {'pipeline-observer.md': ['f3dc51ac077050a887c2161ee7438181'],'pipeline-self-improve.md': ['ed0b0df42e0690d515b8dd88911931e4'],'fableloom-editorial-remediate.md': ['d73329e2341e7bea9935a96043ed045f', 'c0cce5cfe63ec4e94047415bbe83881b'],- 'fableloom-weave-episode.md': ['1fea11b8c4269008561ac22a30494d46', '1b27f5b0073a304c21079aa6e2c71447', '4c9454d1537c4ebb3becbfa04fae3ed8', '18a442e39b973e4074a0d595928a665d', 'e0f8d864caa8746912b56cd567f1c09d', 'b4d363db94fd8a9928fa977745c76ff9', 'abea2442af2be2039b70deee4919c00e'],- 'fableloom-branch-node.md': ['f558e4804b056a5961af1ea74fdef2ba', '6279b1c9912c300363a727245d22fe84', 'c14e2b9c435e43a8c3b134a62cd66d08'],+ 'fableloom-weave-episode.md': ['1fea11b8c4269008561ac22a30494d46', '1b27f5b0073a304c21079aa6e2c71447', '4c9454d1537c4ebb3becbfa04fae3ed8', '18a442e39b973e4074a0d595928a665d', '990cdecf9e46fa049ae4aae27e3b172d', 'e0f8d864caa8746912b56cd567f1c09d', 'b4d363db94fd8a9928fa977745c76ff9', 'abea2442af2be2039b70deee4919c00e'],+ 'fableloom-branch-node.md': ['f558e4804b056a5961af1ea74fdef2ba', '6279b1c9912c300363a727245d22fe84', 'c14e2b9c435e43a8c3b134a62cd66d08', 'e5005826c4577623ba362a0292741c7c', 'ff5d40b3090c775fc9c1f48c2ea96bbd'],'fableloom-play-turn.md': ['bb33dc9bc483668d88196ca972d5f364'],- 'fableloom-feedback-episode.md': ['43d1525fcedce99b933ae5b003516a36', 'd09bb405478d24c294b0c658ef365cd1'],+ 'fableloom-feedback-episode.md': ['43d1525fcedce99b933ae5b003516a36', 'd09bb405478d24c294b0c658ef365cd1', '9ff21b47c4251585da9500c306d91a28'],'fableloom-review.md': ['2802f269f246e00ec5a8937637d42de6'],'fableloom-outline-episode.md': ['3f5144103b2ab6203fa071ff5026251b', '513b2b5b8fa98766852cdde7b87198c9', '820b8c157c1977b34eb317e44236519e', '2ff6fb72777ff0c6fc70f3afd0ddfd53'],'fableloom-review-episode-outline.md': ['96d631104155ff11be08bcc5144cca1c', '8154b4c289b10268df8fd3c625bcdac2', '0f549ed25dea8566ce2d3c515968783b'],- 'fableloom-review-series-plan.md': ['1c1ab552f6f6a4d9d51f1d3bacd89122', '588c82fafd733581490f24cb6fb4bfa7'],- 'fableloom-feedback-series-plan.md': ['6c4f6c846acc6186eaa8da297080b9d9', '2d1b40041223baa02a1517a102f103c2'],+ 'fableloom-review-series-plan.md': ['1c1ab552f6f6a4d9d51f1d3bacd89122', '588c82fafd733581490f24cb6fb4bfa7', 'd7d3b306c82cea4d7f13a78512a46948'],+ 'fableloom-feedback-series-plan.md': ['6c4f6c846acc6186eaa8da297080b9d9', '2d1b40041223baa02a1517a102f103c2', 'c56a3de3776cf7ef8ba16782f0691144'],'fableloom-review-playthroughs.md': ['27843c9a77dc9dcfb8a9b12102253541'],'fableloom-review-series-teleplay.md': ['fc87fe58f599be451d245ce4f26d9691'],'fableloom-plan-shots.md': ['4cf0fb96d4e9a17a8ae8285ec134f37f'],'fableloom-review-shots.md': ['699ba1189f67338728b74834269759a9'],'fableloom-generate-series-plan.md': ['2591cf4ca6cc160765f029fcc497dc35', '27336d8c64e6193aecd1ba697f52315e'],+ 'manuscript-reformat.md': ['4df6381d5c685c683a518326b7908e18'],+ 'pipeline-editorial-appearance-continuity.md': ['25ccc731f1596a99d21600919896a8e3'],+ 'pipeline-editorial-endings-cliffhanger.md': ['3ef5e6fbc160f9f33902ab22d9284281'],+ 'pipeline-editorial-eyeline-match.md': ['5d0b8d0d4605225d208786165e26abb4'],+ 'pipeline-editorial-head-hopping.md': ['460e6449c4f1daec815b9ff0a6573f97'],+ 'pipeline-editorial-object-weight-proportionality.md': ['89f6f6c6856ebcf0183b7760d71a6898', 'c1b7b58e0255c86b6ba5cece4330ac48', 'f4f91a4ea55a9fd89eaebc70074a89ec'],+ 'pipeline-editorial-reaction-proportionality.md': ['38ca1b6edaa55c8989e22e7ffdbd76c7', '8787e6e40f8bb46067b8303b866c7ff8'],+ 'pipeline-editorial-timeline-contradiction.md': ['f39272a486d4cc031ebb7b3b8fc01ed3'],+ 'pipeline-editorial-unmodeled-names.md': ['2e562a414726b5b412537ad4ecbdbff5', '50029186d6009d50c3850f3f4b90a5d6', '9b9732f729c96dd7154175b77755fdd2', 'd34323ee9bf05fffc3584ad9d91146bd'],+ 'pipeline-editorial-world-cost-free-power.md': ['42db5691fa6e4b2db9a146a821ed1fe7'],+ 'pipeline-editorial-world-unforeshadowed-solution.md': ['9a23180e49fbac1699c846ced1625575'],+ 'pipeline-pov-rewrite.md': ['cd073c8dbca2bf25eea07b6103e27d81'],+ 'story-builder-reader-map-refine.md': ['befd154bb319c221f16ca357a23f1aa7'],+ 'story-builder-reader-map.md': ['af375710531a34b8fe265b425be42b3d'],'pipeline-editorial-character-consistency.md': ['69bbee3a1bb126b2675d8b00f5aef48c'],- 'pipeline-editorial-secondary-arc.md': ['8a96ce93f6592fed3d30e221497739a4'],- 'pipeline-editorial-arc-transitions.md': ['72e27707f0dc82eab84eed74e9707587'],+ 'pipeline-editorial-secondary-arc.md': ['6ad9eb7c4969d8baeb2c8c38d8f6695e', '8a96ce93f6592fed3d30e221497739a4'],+ 'pipeline-editorial-arc-transitions.md': ['4c297e92df472965be8641f8b9ce9853', '72e27707f0dc82eab84eed74e9707587'],'pipeline-editorial-arc-regression.md': ['85b15c9e913fe8a436d407f1562a2b10'],- 'pipeline-editorial-climax-agency.md': ['1bca84f9a0b7cde84e20e43702a12ffa'],+ 'pipeline-editorial-climax-agency.md': ['1bca84f9a0b7cde84e20e43702a12ffa', '55c25664b9904806146f92cc739d7208', 'f6611ff22e36d6738b3b4faa9c1310df'],'pipeline-editorial-plot-structure.md': ['400d829dd291753a299fa08d6afbe561'],};const EXPECTED_STAGE_NEW = {@@ -134,6 +148,20 @@ const EXPECTED_STAGE_NEW = {'fableloom-plan-shots.md': '9b1cd4b406ee327d6dc3fcbd57b48483','fableloom-review-shots.md': '8cf5fe685cc5f75537caddea1d272a00','fableloom-generate-series-plan.md': 'ab912a52879d8ce78e9998dec19ddaa8',+ 'manuscript-reformat.md': '1a02cf3ac59b5c253359357608c1c4ad',+ 'pipeline-editorial-appearance-continuity.md': '8ef03aa3ed15557febe85d7ee66b6cc6',+ 'pipeline-editorial-endings-cliffhanger.md': 'deaebfa026d40a6e576479ecc4f1e98b',+ 'pipeline-editorial-eyeline-match.md': '7c66926cbf8f7174ca17043e1f2e2251',+ 'pipeline-editorial-head-hopping.md': '00e596e9dea15b3154a6a9f3509e90a5',+ 'pipeline-editorial-object-weight-proportionality.md': '761890e3dcdc2cd828ec2be2a5f9cb82',+ 'pipeline-editorial-reaction-proportionality.md': 'b15471388a184d6f805e6dfac76fb164',+ 'pipeline-editorial-timeline-contradiction.md': '2d797a9fa3b55f4c9f85c22cc0baa547',+ 'pipeline-editorial-unmodeled-names.md': '6b35274e08ea9b5727c42f6ef6653cd5',+ 'pipeline-editorial-world-cost-free-power.md': '2b761163f63c2e4fbe8dc6d7f6e577f7',+ 'pipeline-editorial-world-unforeshadowed-solution.md': '09d5997e8c9ea77a5cf1bf446ef211f1',+ 'pipeline-pov-rewrite.md': 'eedcc03aaaf7e22e7726491f08d52974',+ 'story-builder-reader-map-refine.md': 'd8f02936a237a9e4e964d7250a118e17',+ 'story-builder-reader-map.md': '21929c9f7a7bd54c17c9dfdf00213987','pipeline-editorial-character-consistency.md': 'bbefd9b033cc7830752acf87722659a0','pipeline-editorial-secondary-arc.md': 'a9bd4dd9a06bc571f0363e0031d9a5d7','pipeline-editorial-arc-transitions.md': '46cb5444f41d05fb7bdbc219d62619b2',