attach_evidence
Store verification outputs like test results, command output, and notes in a repo-ledger, returning an evidence ID for linking to task updates, finalizations, or decisions.
Instructions
Store verification output (test results, command output, review findings, notes, or links) as a file under .agentpack/evidence/ plus a ledger event, returning an evidence id to reference from task_update_verification, task_finalize, or record_decision. Call for meaningful verification worth preserving; for small tasks prefer one aggregated evidence item over many per-command items. Provide the body inline via content or from a file via path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Free-form label such as test, command, note, link, or json. Defaults to note; kind json stores the file with a .json extension. | |
| path | No | Repo-relative path to an existing file whose contents become the evidence body (alternative to content). | |
| command | No | Command that produced the output, stored as metadata. | |
| content | No | Inline evidence body. Ignored when path is set. | |
| exitCode | No | Exit code of that command, stored as metadata. |