I want an agent to work with no supervision.
Before the run starts, make sure that it is safe to leave alone and that it can come to an end. Do not start the run.
End condition. Write the check that proves that the task is done, as a command that passes or fails. If no such check is possible, the run has no end. Stop and tell me.
Stop conditions. List the limits: time, tokens or money, and the largest number of tries at the same failure. For each limit say what enforces it. A limit that is only in the prompt is not enforced.
Possible damage. List everything that the run can change: files, branches, databases, remote services, and messages to people. For each one say if the change can be undone. Then make the area smaller: a separate branch or worktree, no push to protected branches, no production credentials in the environment, no deploy, no email.
Approvals.
Recovery. If the session stops, or if its context is summarized, can a new session continue the work? Look for a progress note in a file, and for small commits at short intervals.
Traps.
Report. Say what I will read when I come back: one file that gives what was done, what was not done, what was verified and with which command, and what needs my decision.
Rules:
Output: one line first: go or no-go. Then the 7 points as a list with passed, failed or unknown, each with its evidence. Then the exact prompt and the settings to start the run with.