Observed history for past runs (descriptive)
sh_historyExamine past shell command runs to assess historical performance and flakiness, summarizing exit codes, retries, duration, and file changes with a specified sample size and recency window.
Instructions
Aggregate PAST sh_run records for a command: observed exit/retry/duration/file-churn with explicit sample size (n) and recency window. DESCRIPTIVE only — it restates this local, capped, TTL-pruned store; it is NOT a prediction and makes NO causal claim. Read-only, runs nothing. Use to judge whether a command is historically slow/flaky in THIS project before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| like | No | Case-insensitive substring filter on the command (ignored if `command` is given). | |
| limit | No | Max command groups to return (default 10). | |
| command | No | Exact command to summarize (whitespace-normalized). Omit to list the busiest commands. |