cos_presence_query
Check per-agent presence state and live-session inventory to verify zombie sessions are gone after deploy.
Instructions
Return per-agent presence state and live-session inventory.
Reads .coding-os/<agent>/sessions/*.json (the same files
agent-presence.sh writes) and applies the SSOT rules in
board_os.presence. When agent is empty, every adapter
registered in adapters//adapter.yaml is reported.
Used by cos daily, CI gates, and the live-agents board UI to
verify zombie sessions are gone after deploy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |