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.
- Add persistent volume mounts for Go/npm caches (faster rebuilds)
- Add shell config with helpful aliases and custom prompt
- Add comprehensive devcontainer documentation
- Add pre-commit hooks for Go formatting and linting
- Use go-version-file in CI workflows instead of hardcoded versions
- Simplify docker compose commands with --wait flag
- Add gitignore entries for devcontainer auth files
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add routes for infrastructure update detection API:
- GET /api/infra-updates - list all container updates with filtering
- GET /api/infra-updates/summary - aggregated stats per host
- GET /api/infra-updates/host/{hostId} - updates for specific host
- GET /api/infra-updates/{resourceId} - specific resource update status
- POST /api/infra-updates/check - trigger update check (placeholder)
- Update handlers to query Docker container updates from monitor state
- Protected by auth and monitoring_read scope