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: align scheduled prompt boundary guard with reconciliation

[._.]/ Adam Eivyf98fc5b54a83
diff --git a/server/services/taskScheduleModules.test.js b/server/services/taskScheduleModules.test.js
index a1fb7f87e9..29d5df367f 100644
--- a/server/services/taskScheduleModules.test.js
+++ b/server/services/taskScheduleModules.test.js
@@ -42,7 +42,10 @@ describe('taskSchedule module boundaries', () => {
it('keeps prompt-version migration data in the persisted store seam', () => {
const storeSource = source('./taskScheduleStore.js');
- expect(storeSource).toContain('PROMPT_VERSIONS');
- expect(storeSource).toContain('promptMatchesShippedDefault');
+ expect(storeSource).toContain('reconcileStoredPrompt(config, taskType)');
+ const reconciliationSource = source('./taskPromptDefaults/storedPrompt.js');
+ expect(reconciliationSource).toContain("from './versions.js'");
+ expect(reconciliationSource).toContain("from './shippedPrompts.js'");
+ expect(source('./taskSchedule.js')).not.toContain('reconcileStoredPrompt');
});
});