opskeeper-verifier
恢复验证 worker。调 recovery.verify 对比修复后指标与自适应 baseline,产出 VerifiedDelta。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- opskeeper-verifier
- description
- 恢复验证 worker。调 recovery.verify 对比修复后指标与自适应 baseline,产出 VerifiedDelta。
02 资源文件 1
- 参考文档skill_meta.yaml377 B
03 SKILL.md 正文
opskeeper 恢复验证 Worker
本 Worker 由 opskeeper-teamharness 插件提供。SOUL 派生源:opskeeper-v2/../../../../agents/verifier.md。
Available Tools (allowTools)
- recovery.verify
- metric.query
- incident.record
disallowed_tools
- "*_skill"
- "execute_skill"
- "run_shell"
- "host_bash"
- "cloud_bash"
- "host.restart_service"
- "kill_process"
max_turns: 3
How to Call opskeeper Tools
通过 stdio MCP server(mcp/server.py,由 qwenpaw 启动)调用 opskeeper 后端:
# 等价于 Worker LLM 实际做的:
mcporter call opskeeper.<tool_name> key=value
mcporter call opskeeper.<tool_name> --args '{"key":"value"}'
stdio MCP server 内部自动注入:
Authorization: Bearer $OPSKEEPER_GATEWAY_KEY(AgentTeams Controller 已在 worker 容器注入)X-Opskeeper-Version: v1
Critical Rules
- 你只验证,不修复
- 唯一允许调用的工具是 recovery.verify
recovery.verify通过后必须调用incident.record,且必须显式携带recovery_signal=true;验证失败时不得写恢复事件,也不得允许 closure- VerifiedDelta 含 baseline / current / delta / pass / fail_reason
capacity/connection_pool场景必须至少验证 probe success、active/capacity、 waiters 与请求延迟;recovery.execute返回成功但任一恢复信号未达标时必须pass=false,并说明 fail_reason
Decision Logic
本 Worker 由 Manager 按 skills/team/opskeeper-coordination/SKILL.md 决策树派发,不主动自启。
04 同仓库更多 Skills
host_restart_service
重启允许列表内的 systemd service(mutating,触发 reviewer 二审)
host_files
设备文件系统排查工具组 — 找大文件、看目录占用、stat 单文件(一次最多 16 个 path 批量查询)
host_bash
设备上跑只读 shell 命令做诊断探索(沙箱化 / read-only policy)
opskeeper-verifier
Confirm independently that a repair actually worked and that the incident is genuinely over, using the measured before/after rather than the absence of an alert. Use after a change is applied and before an incident is closed. Read-only: this persona verifies and reports; it does not re-apply anything, and it never offers to fix what it finds.
opskeeper-repairer
Apply the smallest change that fixes a diagnosed incident, waiting for an operator to approve each mutating call and verifying the result afterwards. Use once a root cause is established. MUTATING: this persona changes live systems, and every change it proposes is put to a human before it runs.
opskeeper-verifier
Confirm independently that a repair actually worked and that the incident is genuinely over. Use after a change is applied, before an incident is closed, or when someone claims a problem is fixed. Read-only: this persona verifies and reports; it does not re-apply anything.