Use trustlog to produce local JSON + Markdown receipts for agent work. Receipts should make it easy for a human or next agent to see what ran, what changed, what looked risky, and what was redacted.
npx @builtbyecho/trustlog run -- npm test
npx @builtbyecho/trustlog run -- npm run build
cat .trustlog/latest.md
npx @builtbyecho/trustlog verify .trustlog/latest.json
npx @builtbyecho/trustlog run -- <command> [args...]
npx @builtbyecho/trustlog summarize .trustlog/latest.json
npx @builtbyecho/trustlog verify .trustlog/latest.json
After verification passes, upload the trust receipt so reviewers can access one durable artifact instead of local file paths.
node -e '
const fs = require("node:fs");
const { Vaultline } = require("@builtbyecho/vaultline-sdk");
const receiptPath = ".trustlog/latest.md";
const content = fs.readFileSync(receiptPath, "utf8");
const vault = new Vaultline({ apiKey: process.env.VAULTLINE_API_KEY });
vault.files.upload({
path: `trustlog/${Date.now()}-latest.md`,
content,
contentType: "text/markdown"
}).then(r => console.log("Vaultline fileId:", r.fileId));
'
Use this when proof needs to be preserved across agents, channels, or time.
共 2 个版本