{ Prompts4All }

Check an unattended agent run before it starts

Agent Audit

I want an agent to work with no supervision.

  • The task: {task}
  • The limit of time or cost: {limit}

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.

  1. 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.

  2. 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.

  3. 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.

  4. Approvals.

    • Which actions ask for approval? Each one stops the run until somebody answers.
    • Which actions are approved automatically? Is each of them safe when it runs 100 times?
  5. 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.

  6. Traps.

    • Checks that fail at random.
    • A check that the agent can make pass by a change to the check, for example a deleted test or a weaker assertion. Protect those files, or say how you will find such a change afterward.
  7. 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:

  • Run only read-only checks now.
  • Mark a point as "unknown" if you cannot verify it. Do not mark it as passed.
  • For each point that fails, give the smallest change that corrects it.

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.