I’m uneasy with coding agents holding standing access to repositories, cloud accounts, or deployment systems. My default would be short-lived, task-scoped credentials: the agent may renew the same narrow grant if needed, but any increase in repository, environment, or deployment scope requires explicit human approval.
That checkpoint costs time, especially when a task expands in a predictable way. Still, letting the agent obtain a broader role turns “finish the task” into permission to redefine the task. Expiry, task-bound identity, detailed audit logs, approval checkpoints, and automatic shutdown when scope or behavior goes off-plan seem like a reasonable minimum.
Could strict expiry meaningfully reduce risk, or will it mostly push teams toward broad persistent credentials and unsafe workarounds? Concrete examples and counterarguments welcome.