guard
Stops the model from paying twice for the same result.
| Surfaces | PreToolUse hook |
| Spec | the spec (replaces) column of the catalogue in plan.md §1 |
| Default | on |
Mechanism
An identical Read or Bash call (same tool, same normalised input) within the last N turns of the same session is denied with a reason pointing at the earlier result:
guard: identical to toolu_… 2 turns ago — use rtok expand <archive_id> or change the inputDenials are lossless because the earlier result is archived; the model can always expand.
Config
[plugins.guard]
enabled = true
window_turns = 8Tasks
See roadmap.md § guard. Checks in plan.md.
T2.6 deny duplicate Read/Bash within window_turns when an archive id exists.
Status
Manifest only.