watchdog_supervisor
Pass
Audited by Gen Agent Trust Hub on Mar 5, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill code demonstrates the implementation of a process watchdog that manages the lifecycle of worker processes.
- It utilizes the
multiprocessingmodule to spawn and execute local worker functions. - It uses the
psutillibrary to monitor process status (identifying zombie or unresponsive processes) and system resource usage (memory). - It implements process termination and forceful killing via
psutil.Process.terminate()andpsutil.Process.kill()when workers fail health checks. - These actions are limited to the processes explicitly registered with the supervisor and align with its primary purpose of ensuring system resilience.
- [EXTERNAL_DOWNLOADS]: The skill requires several external Python dependencies.
- It references
psutilfor process management. - It references
redisfor heartbeat tracking and queue management. - It references
prometheus-clientfor exporting performance and health metrics. - These are all well-known, trusted libraries commonly used for system-level operations and monitoring.
Audit Metadata