mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
Add `src/app/api/insights` to the inventory's walked trees so every `route.ts` beneath it must classify: the 14 AI-narrative routes as insights-module-gated, the Coach sub-tree as coach-delegated, and the AI-settings / provider-chain / tile-layout / feedback / targets / glp1-timeline routes as explicit infra-and-config EXEMPT entries with documented reasons. A future ungated insights AI route now fails the inventory BY NAME rather than leaking the surface over a Bearer token when the account turned insights off. Add representative insights-off → 403 module.disabled coverage to the blood-pressure-status and correlations route tests (alongside the existing insights-on → 200 path).