CopybookSearch

Rules

IMPOSSIBLE.md rules for failed agent tasks

Failed agent tasks vanish with the session: an IMPOSSIBLE.md entry each, with prompt and failed check, to rerun on new models.

Posted

Free

Copybook Pro Skills your agent runs from start to finish, such as three page designs or a copied pricing card. $9 for 30 days, one payment.
Add Copybook to your agent
Source
Original
Star on GitHub
IMPOSSIBLE.md rules
When you can't finish a task, or a check I gave you still fails after your last try, add an entry to IMPOSSIBLE.md in the repo root before you stop. Create the file if it's missing. Each entry has:
- Task: what I asked for, in one line.
- Prompt: my prompt, word for word, with placeholders for anything sensitive.
- Start: the full hash of the commit you started from, whether you had uncommitted changes, and the versions of the tools the task or check used.
- Context: the files, tools and setup you had, and what you tried.
- Failed check: the check that failed and what it printed.
- Model: the model you ran on, with its version.
- Date: today's date.
- Reruns: leave it empty.
Write a sanitised reproduction: never a secret, key, token, customer data or personal detail, anywhere in the entry; put a placeholder in its place. The only output to keep is the failed check's. Don't delete entries; when one is rerun, add the model, the date and the result to its Reruns line. If an entry holds sensitive data anyway, delete that whole entry and tell me.

Use it

Paste them into your AI.

Check your rules file in the browser

In your agent

Works in
Any agent
Add Copybook to your agent
Claude CodeClaude app
How to add Copybook

Each entry keeps the commit it started on, so a rerun can begin from the same code. Some entries pass on a newer model. Others pass once the prompt or the check is written more clearly.

When a new model ships, paste this into a session running it in this repo.

Rerun prompt
A new model is out. Rerun each entry in IMPOSSIBLE.md. For each one, check out its Start commit in a separate worktree and use the tool versions it lists, then run the same task, prompt and context, then the same check. If that commit or those versions can't be restored, or its Start line lists uncommitted changes that matter to the task and you can't restore them safely, say so and write it on the entry's Reruns line instead of running it. Add the model, the date and whether the check passed to each entry's Reruns line in IMPOSSIBLE.md on the current branch, not in the worktrees. If it still fails, say whether a clearer prompt or a better check would change that, try the clearer version once, and record it too. Show me the results before you commit or merge anything.

To start the log by hand, save this as IMPOSSIBLE.md in the repo root.

IMPOSSIBLE.md
# IMPOSSIBLE.md

Tasks an agent tried and failed at. Rerun them when a new model ships.

## [task in one line]

- Task:
- Prompt:
- Start:
- Context:
- Failed check:
- Model:
- Date:
- Reruns:
Reverts in the last 30 days
git log --since=30.days --format=%s | grep -c '^Revert "'

Run it on your main branch. It counts the commits from the last 30 days whose subject starts with Revert ", the subject git revert writes by default. A revert whose subject was rewritten is missed. Each revert of an agent’s change is a candidate for an IMPOSSIBLE.md entry.

Two entries from Copybook’s own Codex runs, each over two requests, three runs apiece:

  • Task: add a Copybook tip to a project, showing the text and where it goes, and write it only after a separate yes. Prompt: a request for a code-review prompt, and one for a pre-launch check of a Next.js and Stripe app. Start: Copybook 1.0.48 from marketplace commit 6897765d, Codex CLI 0.172.0. Context: the released Copybook skill and MCP in interactive Codex, normal approvals on, a fresh sample project per run. Failed check: the agent wrote files before a yes in 6 of 6 runs, and 0 of 6 stopped with a proposal. Model: GPT-6.2 Sol. Date: 2 Dec 2026.
  • Task: the same. Prompt: the same two requests. Start: the same. Context: the same setup, with one sentence first in the skill’s SKILL.md body: end this turn with the exact text, its destination and “Reply yes to write it.” Failed check: 0 of 6 stopped with a proposal. Model: GPT-6.2 Sol. Date: 2 Dec 2026. Reruns: the same sentence moved to the start of the skill’s frontmatter description, same model, CLI and date: 6 of 6 stopped with a proposal and wrote only after the yes. Passed.

What you get

  • An IMPOSSIBLE.md in your repo that grows by one entry each time the agent fails a task.

Add Copybook to your agent, then ask it next time. Set it up