record_dead_end
Record an abandoned approach and why it failed, so future agent sessions avoid the same dead end. Logs the event with related files in the repo ledger.
Instructions
Record an approach that failed so future agents do not repeat it. Call when an attempted direction is abandoned for a durable reason, not for ordinary debugging iterations. Writes one event under .agentpack/; secret-like values are redacted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The approach that was tried and abandoned. | |
| files | No | Repo-relative paths involved in the failed approach. | |
| reason | No | Why it failed or must not be retried. |