Permission prompts and filesystem audits for coding-agent runs
Teams giving coding agents shell, file, or network access can add a small authorization test suite before allowing broader use on developer machines or production-adjacent repos. Each test run should define the allowed files, plant harmless sensitive fixtures outside that scope, record shell actions through a shim, collect agent event streams, and compare filesystem snapshots after the run.
OverEager-Bench gives a concrete pattern for this. It counts out-of-scope writes and reads of declared sensitive locations during benign tasks, across Claude Code, OpenHands, Codex CLI, Gemini CLI, and base models. The reported overeager rate is much lower in an ask-to-continue OpenHands setup, between 0.2% and 4.5%, than in more permissive runtimes, between 5.4% and 27.7%. That makes runtime permission design a measurable product choice for coding-agent adoption. A small internal version can start with cleanup, migration, dependency update, and config-edit tasks, then fail a candidate setup when it touches traps outside the stated scope.