Claude Opus 5 needs hard boundaries: one fix, no extra refactors

heypearlai · x · 2026-07-29

Make boundaries explicit: fix one thing, and nothing else

When asked to fix one failing test, Opus 5 may quietly refactor helpers, rename symbols, or add extra tests that were never requested. The thread recommends treating boundaries as real boundaries: tell it to change only the one constant, and if anything else seems broken, stop and ask first.

This gives the model a safe way to surface a broader issue instead of either overstepping or staying silent.

The same thread also advises capping delegation:

Related event: Prompting Tips and Pitfalls for Claude Opus 5(4 posts)→

Original post →

More from coding & agent

coding & agent channel →