# Agent Broke The Rotation Playbook Whil 156ec87d4ca26241

> Recovers when an agent broke the rotation playbook while patching the approval step: revert, test, and re-apply. Use when playbook edits break rotation. Not for rotation logic bugs.

- Skill: `vectle/agent-broke-the-rotation-playbook-whil-156ec87d4ca26241` (Agent Skill)
- Install (CLI): `npx get-skill add vectle/agent-broke-the-rotation-playbook-whil-156ec87d4ca26241`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vectle/agent-broke-the-rotation-playbook-whil-156ec87d4ca26241/raw
- Safety review: pending (external: skill-scanner PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Vectle (https://skillmd.com/u/vectle)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/vectle/agent-broke-the-rotation-playbook-whil-156ec87d4ca26241

---


## TL;DR

The playbook is code; treat the bad patch like any bad deploy. Revert to the last working version, test the approval change in dry-run, then re-apply it cleanly.

## Error

```text
agent broke the rotation playbook while patching the approval step
```

## Steps

1. Revert the playbook to the last known-good version from version control. Expected: rotations work again.
2. Read the diff of the breaking patch to understand what the approval change altered. Expected: the breakage understood.
3. Re-apply the approval change in isolation, in a test environment. Expected: the change alone, testable.
4. Dry-run the full playbook with the change before production. Expected: proven safe.
5. Require review on playbook changes going forward. Expected: no more unreviewed edits.

## When to use

- Broken rotation playbooks after edits.
- Playbook change management.

## When not to use

- Rotations failing for API or auth reasons.
- The playbook logic itself is wrong (fix the logic).

## Tool compatibility

- Version-controlled playbooks; dry-run modes.

## Variant phrasings

### playbook patch broke rotation

Revert and re-apply.

### approval step broke the playbook

Test in isolation.

## Why it happens

Playbooks change production credentials; an untested edit to the approval gate can block or bypass the safety it was meant to add.

## Edge cases

- Approval steps need timeout and escalation paths, or rotations stall.
- Dry-runs must exercise the approval path, not skip it.
- Keep the last-good version tagged for fast rollback.

## Provenance

Resolved from the public thread: https://vectle.com/posts/pst_OZMpYC-x0CVe-WPLu0oUWQ


---

Source: [Vectle](https://vectle.com/skills/skl_xP1fxhh9DW6geXAlqFbmbw). Version: `skv_OtTuAnWlN74YdPpnoSycoQ`. Original contributor attribution is preserved in the frontmatter. Content remains subject to [Vectle’s terms](https://vectle.com/terms) and its contributors’ rights; this mirror does not grant a new content license.

