← 返回
未分类

Proof of Work

Automates verification that AI agents truly completed tasks by checking output files, system states, and logs for expected results and activity.
自动验证 AI 代理是否真正完成任务,通过检查输出文件、系统状态和日志中的预期结果和活动。
kgapol kgapol 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 321
下载
💾 0
安装
1
版本
#latest

概述

Proof of Work — Automated Completion Verification for AI Agents

Use this skill to verify that your AI agents actually completed what they claimed, not just that they said they did.

What This Skill Does

Runs automated verification checks after agent task completion:

  • Did the expected output file exist and contain valid content?
  • Did the expected system state change actually happen?
  • Did the agent log a completion that matches what was assigned?

Catches the most common AI agent failure mode: the confident-sounding completion that didn't actually do anything.

When to Use

  • Any time an agent reports TASK_COMPLETE on critical work
  • Before promoting an agent from "draft and review" to "act autonomously"
  • When debugging why something that "was done" isn't actually done
  • As a gate before downstream work depends on a previous agent's output

How It Works

A shell script that runs after agent task completion. Checks:

  1. File existence — Did the expected output path get created?
  2. Content validation — Does the file contain expected markers (non-empty, valid JSON, expected keywords)?
  3. State checks — Did the expected system state change? (process running, port listening, DB record created)
  4. Log correlation — Does the activity_log entry for this task show TASK_COMPLETE (not TASK_BLOCKED or silence)?

Returns exit code 0 on pass, 1 on fail. Integrates with any CI/cron pipeline.

Installation

chmod +x install.sh && ./install.sh

Usage

# Verify a file output
./proof-of-work.sh --check-file /path/to/expected/output.md

# Verify a process is running
./proof-of-work.sh --check-process "queue-manager"

# Verify a DB record exists
./proof-of-work.sh --check-db ~/.agentops/agentops.db --query "SELECT count(*) FROM queue_items WHERE status='done' AND id=42" --expected 1

# Full verification suite
./proof-of-work.sh --config verification.json

Sample Verification Config

{
  "task_id": 42,
  "checks": [
    {"type": "file", "path": "~/.agentops/output/report.md", "min_size": 100},
    {"type": "db", "db": "~/.agentops/agentops.db", "query": "SELECT status FROM queue_items WHERE id=42", "expected": "done"},
    {"type": "log", "event_type": "TASK_COMPLETE", "agent_id": "buzz"}
  ]
}

Part of Trust AI Suite

Proof of Work is the verification layer of the Trust AI Suite:

  • Accountable AI — Governance & accountability
  • Proof of Work (this) — Verify agents completed tasks
  • AgentOps Tracker — Full operational visibility ($49)
  • Total Recall — Forensic memory search ($69)
  • Anticipation — Predict what you need before you ask ($39)

→ Full suite: Trust AI Stack on ClawMart

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 11:02

安全检测

腾讯云安全 (Keen)

suspicious
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,379 📥 320,415
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,082 📥 810,014
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 676 📥 325,418