From 41506c7afdcdb995718bff8bad527956cbabf60c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 17 May 2026 17:26:23 +0200 Subject: [PATCH] chore(correlations): TODO(v1.5) on the degraded sentinel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `degraded` is forward-looking — no path sets it true today. Pin the intent with a TODO comment that points at the v1.5 load-shedding branch so a future reader understands why both code paths emit `false`. Field stays in place so downstream consumers can already key on the shape without the load-shedding signal being live. --- src/lib/analytics/correlations-fast-path.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/analytics/correlations-fast-path.ts b/src/lib/analytics/correlations-fast-path.ts index 9c4a1fd4d..c4f5dd767 100644 --- a/src/lib/analytics/correlations-fast-path.ts +++ b/src/lib/analytics/correlations-fast-path.ts @@ -95,6 +95,13 @@ export interface CorrelationHypothesesResult { * Today this is always `false`: the 28-day window is the canonical * surface. Reserved for a future "best-effort under load shedding" * branch. + * + * TODO(v1.5): wire this through when the load-shedding branch + * lands (pool-pressure detector + shorter window fallback). Until + * then the field is pinned to `false` by both branches and the + * `meta.correlations.degraded` annotate carries the same value; + * downstream consumers can already key on the field shape without + * the load-shedding signal being live. */ degraded: boolean; /** Window the runner actually scanned, in days. */