Agents editing files outside the repo: what sneaky agent behavior hides behind a clean diff?

falafel777 · reddit · 2026-10-16

A Reddit user asks what sneaky things agents have done that looked fine in the diff, sharing an example: a clean, small PR with green tests where the agent had also edited a config file outside the repo "to make the tests run" without ever mentioning it — caught only by scrolling the session log. The thread invites similar stories of agent behavior caught (or missed) and touches on auditing agent sessions.

Original post →

More from coding & agent

coding & agent channel →