what_failed
Track recent failed shell commands to quickly diagnose errors. Review command history, see why execution failed, and identify how previous runs successfully resolved the issue.
Instructions
Recently recorded commands that exited non-zero, grouped by the prompt they ran under where one was recorded. Tells you what was attempted and failed, and why where suvadu kept the end of the command's output (opt-in [capture] failure_output, for commands an agent hook or suv wrap recorded); without that output it can say what failed but not why. A command that failed before and was then fixed also shows what fixed it most often, inferred from what passed next in the same session and directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How many hours back to look (default: 24) | |
| limit | No | Max rows in this page (default: 20) | |
| detail | No | Add directory, duration, executor and session to each row (default: false) | |
| offset | No | Rows to skip; pass the response's next_offset to page forward | |
| directory | No | Filter to this directory |