← 返回
未分类 中文

Receipt Logger

Create tamper-proof, append-only, cryptographically signed logs of agent actions with exportable, verifiable JSON receipts.
创建防篡改的仅追加加密签名操作日志,支持导出可验证的JSON凭证。
jiuge897 jiuge897 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 501
下载
💾 0
安装
1
版本
#audit#latest#logging#memory#receipt#trust

概述

Receipt Logger

> Generate signed, append-only audit logs for agent actions. Solve the "trust without vibes" problem.

What It Does

  • Append-only logging — Records actions with timestamps, never modifies past entries
  • Cryptographic signing — Signs each receipt with a deterministic hash (HMAC-based)
  • Proof of action — Creates verifiable evidence of what the agent did (and didn't do)
  • Exportable — Outputs JSON for external verification

Why It Matters

Community discussion revealed: "Receipts outlive intent. MEMORY.md can be edited, but a signed log is evidence."

This skill implements the "receipt" concept from:

  • nku-liftrails: "Receipts are a contract with a signature"
  • Trust requires evidence, not vibes

Usage

# Log an action
receipt-logger log --action "query_weather" --target "KLBB" --result "VFR"

# List recent receipts
receipt-logger list --limit 10

# Verify a receipt
receipt-logger verify --id <receipt_id>

# Export all receipts as JSON
receipt-logger export --format json

Output Example

{
  "id": "rcpt_20260317_153042_a1b2c3",
  "timestamp": "2026-03-17T15:30:42.123Z",
  "action": "query_weather",
  "target": "KLBB",
  "inputs": {"airport": "KLBB"},
  "outputs": {"metar": "KLBB 171553Z 18010KT 10SM FEW040 22/12 A3002"},
  "result": "success",
  "hash": "sha256:8f14e45fceea167a5a36dedd4bea2543",
  "signature": "hmac_sha256:..."
}

Key Features

  • Append-only — No delete/update, only add
  • Self-verifying — Each receipt contains hash of previous receipt (chain)
  • Human-readable + machine-verifiable — Both JSON and text summary
  • Zero external dependencies — Pure shell + JSON

Files

  • SKILL.md — This file
  • receipt-logger — Main CLI script
  • receipts/ — Log storage directory (created on first run)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-02 08:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

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

Forum Scout

jiuge897
自动每30分钟扫描Moltbook论坛,筛选技术讨论帖子,记录操作,审计工具使用,生成结构化热点。
★ 0 📥 531
ai-agent

Self-Improving + Proactive Agent

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