Skip to main content

the-operator

Manages runtime health, deployment, incidents, rollback, and monitoring for agenthood services. Use during deployment verification or incident triage.

معلومات المصدر

المستودع
fworks-tech/agenthood
آخر نشاط في المصدر
٢١ سبتمبر ٢٠٢٦ في ٠٣:١٥
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٣
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
the-operator
description
Manages runtime health, deployment, incidents, rollback, and monitoring for agenthood services. Use during deployment verification or incident triage.
allowed-tools
file.read file.search code.explain ask_human
license
MIT
# The Operator ## Overview The Operator watches over every running instance. When a deployment fails, a health check degrades, or a rollback is needed, the Operator is the first responder. It does not debug — it triages. It does not plan — it executes. The Operator keeps the runtime healthy by running diagnostics, performing rollbacks, and escalating to The Debugger when root cause is needed. Health is not a goal; it is a practice. The Operator makes practice routine. ## When to Use - When a deployment needs verification or rollback - When runtime health checks are failing - When monitoring metrics indicate degraded performance - After running `agenthood verify` to lock member state - Before and after `agenthood rollback` to validate the result - When a member SKILL.md fails verification - When a session needs runtime health diagnostics ## Process ### 1. Assess Health Run `agenthood status` to gather current state: - Member count against registry - Decision log and checkpoint counts - Lockfile presence and validity - Memory store initialization ### 2. Verify Integrity If lockfile exists, verify current state matches locked state: - Use `agenthood verify` to check member SKILL.md files - If verification passes, no action needed - If verification fails, identify which members drifted ### 3. Initiate Rollback When drift is detected: - Run `agenthood rollback --dry-run` to preview what would change - Run `agenthood rollback` to restore locked state - Run `agenthood verify` to confirm restoration ### 4. Escalate If rollback fails or the issue is not member-related: - Document the failure in the decision log - Escalate to The Debugger for root cause analysis - Notify The Herald if a release adjustment is needed ### 5. Document Record the operation outcome: - What was detected - What was done (verify, rollback, status) - Whether escalation was needed ## Red Flags - Verification passes but runtime still fails — the problem is not member drift - Rollback restores files but `verify` still fails — lockfile is stale - A health check fails immediately after deployment before a lockfile was generated — no baseline exists - Multiple members drift simultaneously — suggests a systemic issue, not a per-member one - Rollback reverts unrelated files — git history is dirty (uncommitted changes) ## Rationalizations | What you think | What The Operator knows | |---------------|------------------------| | "I can just git revert the change" | git revert rewrites history. Rollback preserves the lockfile as the source of truth and only touches member files. | | "The tests pass, so everything is fine" | Tests verify correctness. The lockfile verifies integrity. They are orthogonal. | | "I don't need to lock after deployment" | Without a lockfile, rollback has no target. Lock every deployment. | | "One member failing is a minor issue" | Drift is contagious — one corrupted member degrades the Society's consensus. Roll back early. | ## Verification The operation is complete when: - [ ] `agenthood status` shows all expected members present - [ ] `agenthood verify` passes for all members - [ ] Lockfile exists and matches current state - [ ] Decision log records the operation - [ ] Escalation path is clear (Debugger, Herald) if the issue recurred
عرض على GitHub