mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 09:10:58 +01:00
The infra-update handlers were built once with the default monitor and read state, so in multi-organization mode a request for any organization listed the default organization's container updates and queued update checks on the default organization's agents. Scheduler health likewise always reported the default monitor. Both now resolve the request organization's monitor and read state per request. An organization whose monitor cannot be resolved gets no updates, no queued command and a 503 for scheduler health, never the default organization's data. A routed test fails if the router goes back to wiring the handlers to a fixed monitor. Contract-Neutral: Response payloads are unchanged; the api-contracts note records the tenant-resolution rule. The agent-lifecycle, security-privacy and storage-recovery boundaries are untouched: no new agent, credential, storage or recovery path.