mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
GET /api/auth/me gains ai: the state of every capability and the provider block, resolved for the active record and masked to the grant like moduleAccess. The authority comes from the switch the payload already resolved, so a delegate reads not_permitted_for_record and a guardian is limited to the operator's key. useAiCapability is the web reader and fails closed until the payload arrives. GET /api/feature-flags becomes a deprecated projection of the operator switches with a Deprecation header and a link to its successor.