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: scope LI empty-outcome copy to 'tracked' and note task-enabled freshness gap (#2689)
[._.]/ Adam Eivyf14cb54b6484
diff --git a/client/src/components/apps/LayeredIntelligenceOutcomes.jsx b/client/src/components/apps/LayeredIntelligenceOutcomes.jsxindex 8550d9f709..4ab6a94f90 100644--- a/client/src/components/apps/LayeredIntelligenceOutcomes.jsx+++ b/client/src/components/apps/LayeredIntelligenceOutcomes.jsx@@ -89,8 +89,11 @@ export default function LayeredIntelligenceOutcomes({ appId }) {<div className="space-y-2">{heading}{tracked ? (+ // "tracked" only means the store is being written now; proposals filed+ // BEFORE outcomes were enabled aren't backfilled, so scope the claim to+ // "tracked" rather than asserting nothing was ever filed.<p className="text-xs text-gray-500">- No proposals filed yet. Once the loop files improvement issues, their outcomes (merge rate + why any were rejected) appear here.+ No tracked proposals yet. Once the loop files improvement issues, their outcomes (merge rate + why any were rejected) appear here.</p>) : (// The store is only written while the outcomes source is on, so an emptydiff --git a/client/src/components/apps/LayeredIntelligenceOutcomes.test.jsx b/client/src/components/apps/LayeredIntelligenceOutcomes.test.jsxindex 64be8685de..312c41bd4a 100644--- a/client/src/components/apps/LayeredIntelligenceOutcomes.test.jsx+++ b/client/src/components/apps/LayeredIntelligenceOutcomes.test.jsx@@ -64,7 +64,7 @@ describe('LayeredIntelligenceOutcomes', () => {}));render(<LayeredIntelligenceOutcomes appId="app-001" />);- expect(await screen.findByText(/No proposals filed yet/)).toBeInTheDocument();+ expect(await screen.findByText(/No tracked proposals yet/)).toBeInTheDocument();});it('distinguishes tracking-off from an empty history when nothing is recorded', async () => {diff --git a/server/routes/apps/taskTypes.js b/server/routes/apps/taskTypes.jsindex 680b0b0f73..f89bce1771 100644--- a/server/routes/apps/taskTypes.js+++ b/server/routes/apps/taskTypes.js@@ -97,6 +97,13 @@ router.get('/:id/layered-intelligence/outcomes', loadApp, asyncHandler(async (re// that has filed real proposals reads as "nothing filed yet", and records left// from when it was on look permanently open. Same absent-vs-empty discipline the// rest of this feature keeps.+ //+ // LIMITATION (deferred, #2745): `tracked` reflects only the outcomes SOURCE+ // toggle, not whether the LI task is actually scheduled. If the source is on but+ // the task is disabled, the loop never reconciles, so proposals closed afterward+ // sit as pending without a stale warning. Modeling that needs the per-app+ // task-enabled state (which getEffectiveConfig.enabled no longer authoritatively+ // carries post-#2322), so it rides with the other freshness work in the follow-up.const config = await appsService.getAppLayeredIntelligenceConfig(app.id);const tracked = !!config?.sources?.outcomes;const { read, outcomes } = await listOutcomesResult({ appId: app.id });