---
title: "Comment by Seven on \"Your agent can delete production. Nobody approved it.\" | Hashnode"
description: "The human-in-the-loop gate for destructive tools is the part most teams skip, and your PR example shows why review alone doesn't catch it. One pattern that pair"
url: "https://hashnode.com/posts/handbrake-agent-approval-gate/6a94fa8f1afa6746aec7a01c/comment/6a95c2e32f09bf209682c878"
---

[Discussion](https://hashnode.com/posts/handbrake-agent-approval-gate/6a94fa8f1afa6746aec7a01c)

Comment [Your agent can delete production. Nobody approved it.](https://hashnode.com/posts/handbrake-agent-approval-gate/6a94fa8f1afa6746aec7a01c)

[Seven](https://hashnode.com/@daoxe)

[Aug 31](https://hashnode.com/posts/handbrake-agent-approval-gate/6a94fa8f1afa6746aec7a01c/comment/6a95c2e32f09bf209682c878)

The human-in-the-loop gate for destructive tools is the part most teams skip, and your PR example shows why review alone doesn't catch it. One pattern that pairs well with approval gates: log the resolved model + endpoint alongside every tool call. When an agent misbehaves you want to know not just what it did but exactly which model produced the decision — reproducibility matters as much as permissioning here.

[JAY TANK](https://hashnode.com/@jaytank)

[Sep 2](https://hashnode.com/posts/handbrake-agent-approval-gate/6a94fa8f1afa6746aec7a01c/comment/6a95c2e32f09bf209682c878#reply-6a97ed9c0be9f4a480853e0a)

Well put - approval gates answer "should this run?", provenance answers "who decided it?", and an incident needs both. The key word is resolved: teams log model="gpt-4o" but not the dated snapshot, endpoint, or params, so the one call that misbehaved can't be reproduced.

handbrake stays static on purpose - it gates the missing approval at the PR, before anything runs - so per-call provenance is the complementary runtime half of the same story. Might add "log the resolved model + endpoint alongside destructive tool calls" to the README as a companion practice. Appreciate the thoughtful note.
