Your escape room builder came through a weekend of play-tests. You found the lock bug from a failing test instead of a guess, kept the guest designer’s notes from steering your agent, decided who wrote the hint timer, and explained and defended the whole project to Kofi. None of that required you to know every line your agent typed.
This page turns the course into five habits to keep beside your terminal, in this project and the next. It also says which parts will outlast today’s tools and what to practice next.
Keep Five Habits Beside Your Terminal
Each habit helps you handle a moment when an agent’s work can slip out of your hands. Here’s what you can now do with each habit:
- Watch the first steps: Read the files your agent opens, the plan it states, and its first edit. Interrupt at the first contradiction with the task, and redirect with a correction that names a file, a function, a rule, or an example. When you need to repeat the same correction, start a fresh session with a better task that carries over only what the attempt taught. Move the repeated correction into the instruction file.
- Debug from evidence: Hand over a bug as a reproduction, the actual output, and the expected result. Ask for ranked hypotheses and a failing test before any fix. When a session stacks change on change, stop, go back to the last good commit, and ask for the cause. Accept a fix only when it names a cause that explains every symptom and the same test turns green.
- Cut the attack chain: Treat any text your agent reads as able to steer it, even text you can’t see on the page. An injected instruction leaks a secret only with untrusted text, a secret in reach, and a way out, so remove whichever link the task can do without. Cutting a link stops the leak, but the text can still steer your agent.