test: classify the Insights presence read in the route inventories

The presence read is data, never AI, and spans every module: each flag
whose page a switched-off module hides answers false without reading
the rows. Both inventories now say so.
This commit is contained in:
Marc-André Bombeck committed 2026-11-12 13:16:22 +01:00
1 parent 51c4a498d9
commit d99456138b
2 files changed
+5

No files matched your search

@@ -240,6 +240,8 @@ export const DATA_ROUTES: Readonly<Record<string, string>> = {
"Lab deltas, owned by the labs module.",
"src/app/api/insights/health-status/route.ts":
"Baseline drift, computed over core vitals.",
"src/app/api/insights/presence/route.ts":
"Which Insights pages have data: counts and flags, no model text.",
"src/app/api/insights/pulse/intraday/route.ts":
"The day's pulse shape, a core vital.",
"src/app/api/insights/patterns/route.ts": "Stored correlation statistics.",
@@ -350,6 +350,9 @@ const EXEMPT_ROUTES: ReadonlyArray<string> = [
"src/app/api/insights/correlations/route.ts",
"src/app/api/insights/coach-read/route.ts",
"src/app/api/insights/health-status/route.ts",
// The tab strip's gate spans every module: each flag whose page a
// switched-off module hides answers false and its rows are not read.
"src/app/api/insights/presence/route.ts",
"src/app/api/insights/pulse/intraday/route.ts",
"src/app/api/insights/patterns/route.ts",
"src/app/api/insights/patterns/[id]/route.ts",