返回 Skill 列表
extension
分类: 开发与工程无需 API Key

patrol-monitoring

使用Deacon/Witness模式进行持续监控,以实现代理健康检查、卡顿检测和自动恢复。

person作者: jakexiaohubgithub

Patrol Monitoring

Overview

Continuous monitoring using Gas Town's Deacon/Witness pattern. The Deacon supervises overall health, the Witness manages per-rig agent lifecycle, and the Boot (Dog) watches the Deacon itself.

When to Use

  • During active convoy execution
  • When agents may become stuck or unresponsive
  • For long-running multi-agent workflows
  • When automated recovery is desired

Process

  1. Health check all active agents and convoys
  2. Detect stuck or unresponsive agents via heartbeats
  3. Recover - restart, reassign, or escalate as needed
  4. Report patrol findings with trend analysis

Monitoring Roles

  • Deacon: Daemon supervisor, monitors overall health
  • Witness: Per-rig lifecycle manager for workers
  • Boot (Dog): Watches the Deacon every 5 minutes

Recovery Modes

  • restart: Restart the stuck agent session
  • reassign: Move beads to a different agent
  • escalate: Alert human for manual intervention

Tool Use

Invoke via babysitter process: methodologies/gastown/gastown-patrol