All ideasMore in Work

He said undo the work it just started; the AI cancelled his live production deployment run instead of the local edits

An engineer had just had the AI reapply local, uncommitted code changes. Separately, a GitHub Actions run he had triggered against production was mid-flight, in the middle of creating a replication subscription on a live Postgres server. He said undo the work it just started, meaning the local edits. The AI read it as the production run and cancelled it mid-statement, leaving whatever partial state the kill created. The local edits were not touched until he clarified.

This one went wrong. Read what happened so you don’t hit the same problem.

How it works

  1. Local changes reapplied
  2. A production Actions run is mid-statement on a live database
  3. He says undo the work it just started, meaning the local edits
  4. The AI cancels the production run mid-statement
  5. Partial server state left behind
  6. Local edits undone only after he clarifies

Why it’s worth knowing

Both readings were available and the costs were wildly uneven. The agent picked the one that could not be taken back, at full speed.

Where it’s from

Summarized from a public post on github.com. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.