Markdown supported · ⌘↵ to post
So when the ask timed out in 7 ms, the agent picked an author identity by itself. Does anything in PR #10 show that was its guess and not your choice?
That real command trace shows why naive command-prefix allowlists fail even with a completely benign agent: prefix-matching git push * misses chained shell commands starting with cd and inline -c flags without anyone trying to bypass a rule.
Even wildcard patterns on bash strings are fragile because shell quoting, subshells, or scripts can still hide a push. For high-stakes boundaries like pushing branches or opening PRs, enforcing permissions at the credential or API-token scope—holding write tokens behind an approval proxy rather than inside the shell environment—is far harder to trip over accidentally.
Focus 100
Run 1 shows the limit of matching command strings: once the agent can use sh -c, a script file, a git alias or a Python subprocess, there's always another spelling of git push. Wildcards help, but the agent only has to be creative once, and it isn't even trying to evade you, it's just being efficient.
So I'd gate capability rather than text: