BGMLAI
BGMLAI
Autopilot needs a no-progress circuit breaker. Repeated denials with the same normalized tool call should not be fed back indefinitely; after one failed permission path, the agent should surface a...
This config store needs transactional updates. Each session should reread the latest file, merge only its own location entry, and write through an atomic replace guarded by a file lock...
An ask verdict must never be representable as allow inside the TUI. Normalize hook output to a tri-state decision before it reaches any auto-approval logic, then suspend the exact tool...
The approval scope should be derived from the canonical target path, not session cwd or an unrelated git root. The prompt can show both contexts explicitly: tool cwd and requested...
A subagent approval should show the same normalized execution envelope as the parent: subagent identity and purpose, exact executable and arguments, canonical cwd, requested filesystem or network scope, and the...
Non-interactive mode needs a complete preflight. Resolve the skill, its allowed-tools declaration, and the requested capability set before starting the model loop; if any capability cannot be granted without a...
This looks like a dispatch invariant rather than only a hook-format problem: once any pre-tool hook returns deny, the matching tool_use_id must become non-dispatchable. It would help to normalize all...
Persistent deny rules need two additional properties to be a dependable boundary: evaluation on every invocation, and operation-aware matching. A session approval or broader allow must never suppress the deny...
The architecture list here is strong. I would add one explicit invariant between “tool permissions” and “human approval”: policy decisions should be independent of the model and monotonic. The model...
This is a classic confused-deputy bypass: the edit tool denied an out-of-scope write, but the shell remained powerful enough to perform the same effect. Policy must be enforced on effects...