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: cover task catalog tracker caching
Adam Eivyc0d63dcbd946
diff --git a/server/services/persistentMindTaskCapability.test.js b/server/services/persistentMindTaskCapability.test.jsindex 1acaaeca80..fc5a26eba2 100644--- a/server/services/persistentMindTaskCapability.test.js+++ b/server/services/persistentMindTaskCapability.test.js@@ -104,6 +104,14 @@ describe('persistent mind CoS-task capability', () => {expect(prompt).toContain('provider-0');});+ it('reuses tracker resolution for repeated catalog reads', async () => {+ mocks.apps = [{ id: 'cached-app', name: 'Cached App', repoPath: '/example/cached-app' }];+ await readPersistentMindTaskCatalog();+ await readPersistentMindTaskCatalog();++ expect(mocks.resolveAppWorkTracker).toHaveBeenCalledTimes(1);+ });+it('queues an auto-approved isolated task with the chosen run and PR policy', async () => {const recordCapabilityEvent = vi.fn(async () => true);const results = await executePersistentMindTaskRequests({