← 返回
未分类 中文

agent-work-receipts

Provides a safe, auditable AI coding workflow with repo briefs, logged commands, trustable receipts, and CI dry-run planning for transparent handoffs and rev...
提供安全可审计的AI编码工作流,包含仓库概要、命令记录、可信凭证和CI试运行规划,实现透明的交接与审查流程。
builtbyecho
未分类 clawhub v0.1.2 2 版本 99754.9 Key: 无需
★ 0
Stars
📥 407
下载
💾 1
安装
2
版本
#agent-tools#builtbyecho#handoffs#latest#receipts

概述

Agent Work Receipts Skill

Use this meta-workflow when a coding task needs reliable orientation, command evidence, and human-readable proof.

Recommended flow

1. Preflight the repo

npx repo-agent-brief . > AGENT_BRIEF.md
sed -n '1,220p' AGENT_BRIEF.md

For branch handoffs:

npx repo-agent-brief . --diff origin/main > AGENT_HANDOFF.md

2. Run important commands with logs

npx agent-runlog -- npm test
npx agent-runlog -- npm run lint
npx agent-runlog -- npm run build

Use runlogs for noisy debugging and CI reproduction.

3. Produce final receipts

npx @builtbyecho/trustlog run -- npm test
npx @builtbyecho/trustlog verify .trustlog/latest.json

Use Trust Log as concise final evidence for the user, PR, issue, or next agent.

4. If CI is missing, preview before modifying

npx @builtbyecho/add-ci . --tier 2 --dry-run

Only rerun without --dry-run after the user/project owner agrees with the plan.

Decision guide

  • Need orientation? repo-agent-brief.
  • Need full command logs? agent-runlog.
  • Need final proof/receipt? trustlog.
  • Need CI scaffold planning? add-ci --dry-run.

Safety rules

  • Check git identity before commits/pushes.
  • Do not run destructive commands without explicit approval.
  • Keep .agent-runs/, .trustlog/, AGENT_BRIEF.md, and AGENT_HANDOFF.md local unless the user wants them committed or shared.
  • Inspect generated artifacts before public posting; redaction helps but is not a guarantee.

Vaultline integration

When this workflow produces artifacts needed across sessions, upload key outputs to Vaultline at the end:

  • AGENT_BRIEF.md or AGENT_HANDOFF.md
  • .agent-runs/.../report.md
  • .trustlog/latest.md

Example upload:

node -e '
const fs = require("node:fs");
const { Vaultline } = require("@builtbyecho/vaultline-sdk");
const filePath = ".trustlog/latest.md";
const content = fs.readFileSync(filePath, "utf8");
const vault = new Vaultline({ apiKey: process.env.VAULTLINE_API_KEY });
vault.files.upload({
  path: `agent-work-receipts/${Date.now()}-latest.md`,
  content,
  contentType: "text/markdown"
}).then(r => console.log("Vaultline fileId:", r.fileId));
'

This gives one durable artifact reference for PRs, tickets, and handoffs.

版本历史

共 2 个版本

  • v0.1.2 当前
    2026-05-21 13:31 安全 安全
  • v0.1.0
    2026-05-12 05:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

public-api-finder

builtbyecho
查找并评估免费/公共 API,以用于项目、演示、代理、原型、数据丰富、示例、集成或研究。使用简洁的 public-api‑f...
★ 0 📥 563

agent-runlog

builtbyecho
使用 agent-runlog CLI 包装 shell 命令,捕获简洁、删节的运行日志,便于调试、CI 再现、长时间运行的代理命令以及重复失败的排查。
★ 0 📥 561

builtbyecho-research

builtbyecho
当用户要求代理进行网络研究、来源发现、引用报告、页面提取、爬取或浏览器渲染研究时使用
★ 0 📥 446