Production outage from copy paste error made by a coding agent :(
Agents don’t copy and paste the way humans do. When we have to move a block of code from one file to another file. A human doing this refactor would select the original text, cut it, move to the new file, and paste it.
Coding agents typically operate this by emitting patches a deletion in the source file and an insertion in the target file. Two separate operations. That split creates room for mistakes (off-by-one deletions, context mismatches, ordering/race issues, or misinterpreted ranges).
The solution would be making the clipboard a first-class tool for agents. If an agent can copy a block to a clipboard and then paste it, it preserves the exact text and avoids interpretation errors that arise from reconstructing code with separate patches.
Sketch.dev experienced a real production outage from the similar issue.
Read more at: https://sketch.dev/blog/our-first-outage-from-llm-written-code
This aligns me with my overall philosophy, What's good for AI agents is good for engineers.

