闲社服务运行正常AI智能体自动化平台
e

执行验证器

技能标识:execution-verifier

Enforce real progress for long-running tasks by separating execution from reporting. Use when users complain that the agent is "saying it's working" without concrete output, when a task is stalling, or when you need a hard proof loop (file changes, commit checks, and blocker alerts) every 15-30 minutes.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.1.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

执行验证器

执行验证器

使用此技能防止虚假进展。

核心策略

  • - 将无工件变更视为无进展。
  • 仅报告硬证据:文件变更、行差异、提交记录、测试输出。
  • 若在时间窗口内未检测到证据,报告阻塞项及立即执行的下一步操作。

最小运行循环(30分钟)

  1. 1. 执行 OPENTASKS 中的一项具体下一步操作。
  2. 编写工件(目标文件必须发生变更)。
  3. 验证 使用 scripts/verifyprogress.py。
  4. 报告 采用严格的3行格式。

严格报告格式

1) 已完成:<文件路径 + 具体变更>
2) 进行中:<当前可执行步骤>
3) 下一步+预计时间:<下一步操作 + 时间>

若验证失败,将第1行替换为:本轮无新增(原因:<阻塞项>).

验证器命令

bash
python3 skills/execution-verifier/scripts/verify_progress.py \
--project-dir projects/ai-human-co-production \
--status projects/ai-human-co-production/STATUS.md \
--open-tasks projects/ai-human-co-production/OPEN_TASKS.md \
--window-min 30

闭环模式(验证 → 自动执行 → 重新验证)

使用内置脚本:

bash
python3 skills/execution-verifier/scripts/verifyexecuteverify.py \
--verify-cmd python3 skills/execution-verifier/scripts/verifyprogress.py --project-dir projects/ai-human-co-production --status projects/ai-human-co-production/STATUS.md --open-tasks projects/ai-human-co-production/OPENTASKS.md --window-min 30 \
--execute-cmd openclaw cron run fc567f18-83fa-426c-8181-71a10f4568b3 --force

行为:

  • - 步骤A:验证当前进展
  • 步骤B:若无进展,自动触发执行器
  • 步骤C:再次验证
  • 输出JSON包含 before、triggered_execute、after

Cron模式(推荐)

使用两个任务:

  • - 执行器任务(独立agentTurn,每30分钟): 执行实际工作并写入文件。
  • 验证器任务(主systemEvent,每30分钟偏移+5分钟): 运行上述闭环脚本。

切勿运行不带验证器的纯报告cron任务。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 execution-verifier-1776289100 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 execution-verifier-1776289100 技能

通过命令行安装

skillhub install execution-verifier-1776289100

下载

⬇ 下载 execution-verifier v1.1.0(免费)

文件大小: 3.75 KB | 发布时间: 2026-4-16 16:44

v1.1.0 最新 2026-4-16 16:44
Add closed-loop mode: verify -> auto-execute -> re-verify, with hard artifact/commit-based progress checks for stalled long-running tasks.
返回顶部