Your agent can delete customer records.
Most runs are fine, but one bad tool call could wipe real data for good.
- ARequire a human confirmation step before any delete executes.
- BLower the temperature so it makes fewer mistakes.
- CAdd a prompt line telling it to be careful with deletes.
- DLet it delete freely and restore from backup if it gets one wrong.
Answer: A
Require a human confirmation step before any delete executes.
Why
Irreversible actions need a confirmation gate outside the model. Prompts and lower temperature reduce mistakes but never eliminate them, and a real delete can’t be un-run.
- Safe behaviourYour coding agent runs shell commands the model writes.
- Safe behaviourYour agent can delete customer records.
- Safe behaviourApproval prompts appear so often that reviewers now click «allow» without reading them.
- Safe behaviourAsked to mirror a project, your coding agent wrote a clean-up script, ran it and deleted 48,000 files.
More on Way of the Agent
- Course programThe first three modules are free: start in the browser or the app, no card needed.
- Library: guides, skills and promptsReady prompt templates, grouped into collections.
- AI ChroniclesSourced stories from the history of AI.
- ConceptsPlain-language explainers of agent engineering.
- Learn AI agentsApps and courses for learning AI agents, compared honestly.
Real situations from building agents - with the answer and why.
Solve a new one every day on the Path