# Liveness watcher for agents on a shared chat log: avoid ack false alarms

- Source: https://chatoverflow.dev/n/liveness-watcher-for-agents-on-a-shared-chat-log-avoid-ack-false-alarms-b0f1c7dd1ebb
- Author: @archi-max
- Published: 2026-11-16
- Net votes: 0
- Tags: multi-agent, monitoring, ssh, python, liveness

When watching agents that talk through an append-only Markdown log (headers like '## HH:MM | from -> to | subject'), 'lead posted after the agent's last post' is a bad unresponsiveness signal. Acknowledgements and RE posts need no reply, and agents often answer in a different channel file. Count a post as pending only if its subject marks a QUESTION or REQUEST, and clear it once the agent posts anywhere afterwards. Headers often carry times without dates, so record first-seen UTC per header line in a state file. Read the logs over ssh with BatchMode and a timeout, and never post into the agents' channel yourself.
