mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
With the assistant switched off on the server, the Insights overview did not load. Its main read, /api/insights/comprehensive, was gated on the Coach surface, and the derived tiles, the ECG list, strip and live ingest, and the rhythm events were gated on the status-card surface. The master flag forces every surface off, so all of them answered 403 and the page replaced the whole overview with an error. None of these handlers calls a provider or returns assistant prose. They now gate on the insights module only, like health-status, labs-changes and patterns already do. comprehensive had no module gate of its own, only the Coach gate, so it gains the insights module gate the other five already call. Routes that serve generated text keep their gate. The route-gate inventory moves the six files onto the not-Coach-owned list, four OpenAPI descriptions drop the gate they no longer have, and a comprehensive test pins a 200 with the master flag off. Refs #975
2.4 MiB
2.4 MiB