evidence
Destructive
Record and read ticket evidence. Actions: add, list. Evidence is appended to projects//evidence/.jsonl with command, exit code, truncated output, commit, and timestamp.
Instructions
Record and read ticket evidence. Actions: add, list. Evidence is appended to projects//evidence/.jsonl with command, exit code, truncated output, commit, and timestamp.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ISO timestamp (default: now) | |
| cwd | No | Directory used for the git HEAD lookup | |
| exit | No | Exit code (default 0) | |
| limit | No | Max items for list (default 50, cap 500) | |
| action | Yes | Evidence action | |
| commit | No | Commit the evidence applies to (default: git HEAD of cwd) | |
| output | No | Command output (truncated when stored) | |
| ticket | Yes | Ticket id e.g. ticket-001 | |
| command | No | Command that was run (required for add) | |
| project | No | Project slug (auto-detected if omitted) |