mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
5821eafb05
The gate that mirrors command-channel admission (commandConfigAllowedForToken) runs on every agent report, before the agent ever attempts channel registration. When it refuses, the server silently serves commandsEnabled=false, the agent never tries to register, so none of the channel rejection warnings fire, and an operator who enabled lifecycle management and granted agent:exec sees "Remote commands: Not enabled" with nothing in any log. Emit the refusal and the binding metadata it was judged against so the mismatch is diagnosable from journalctl. Refs #1728 Contract-Neutral: diagnostic logging only in agent command config gate, no behavioral or public contract change