record_dead_end
Record an abandoned approach and why it failed, so future agents skip repeating it. Stores a redacted event in the repo's .agentpack/ 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. |