agent-system-stability-ops
Audit and harden AgentSystem scheduler reliability, cron contract compliance, and agent consistency. Use when bots skip jobs, show timeout spikes, leak raw logs, or run with wrong agent identity/sessi
SKILL.mdskills/agent-stability-ops/SKILL.md
GitHubAgentSystem Stability Ops
Run fast reliability checks before changing cron/model/memory behavior.
Quick Start
- Run reliability audit:
python3 scripts/reliability_audit.py --hours 24
- Run scheduler contract audit:
bash ~/.agent-evolution/scripts/agent-system-cron-audit.sh --json
- Regenerate health report:
bash ~/scripts/cron-health-monitor.sh
Workflow
Check scheduler contract first. If
isolated + payload.kind != agentTurnexists, fix or remove those jobs before any other tuning.Check agent consistency. If
runAgent != job.agentId, treat as high severity and verify session routing + explicitagentIdfor every enabled job.Check failure quality. Separate transport/provider failures from logic failures. Timeout-heavy clusters usually require timeout/model/prompt changes, not blind retries.
Enforce output hygiene. Any summary containing raw tool logs (
Exec, stack trace, raw JSON) is a regression.Re-run audits after changes. Do not declare stable until the last 6-12h window has zero contract violations and zero agent mismatches.
Resources
scripts/reliability_audit.py: Computes reliability metrics fromjobs.json+ run logs.references/runbook.md: Safe remediation order and command cookbook.