mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 15:23:29 +00:00
The list of provider tags that send data out through a credential the operator holds (admin-openai, admin-codex) existed four times: in the consent gate, in the capability resolver, in the shared-provider health read and in the admin provider-health ordering. A tag added to one and not the others would be consented for in one place and not the other. The list and the local-provider test now live in src/lib/ai/provider-egress.ts and every reader imports them. The guard meant to keep one copy matched a variable name, so the copy in the resolver, under another name, never tripped it. It now matches the list itself in either order and names the one file allowed to hold it.