Chapter 3 of 4
Ask before acting
Inside its boundaries, Pilot can still do damage. Reading a file is harmless. Moving a hundred files is not. The trick is to sort tools into tiers and attach a rule to each tier.
Three tiers#
- Read: search, list and read files. Runs without asking.
- Change: move, rename or create files. Asks once, then remembers your answer for this session.
- Destroy: anything that can't be undone. Asks every time, and shows exactly what will happen.
Keep a ledger#
Every permission you grant goes into a ledger with a scope and an expiry. "Allow moving files in Downloads for the next hour" is a much safer answer than "allow moving files". When the hour is over, Pilot has to ask again.
Make the question usefulA permission prompt that says "Allow move_files?" teaches people to click yes. Show the real action instead: which files, from where, to where. People make good decisions when they can see what they're approving.
Read-only checks come first. Before Pilot moves anything, it lists what it found and explains its plan. Most bad actions are caught at that step, before a permission prompt is ever needed.
Remember
- Sort tools by how much damage they can do.
- Grant permissions with a scope and an expiry, and record them.
- Show the concrete action in the prompt, not the tool name.