Skip to content
Back to skills

Retro Promote

ASecurity

Use after a task ends with failed checks, when the user asks for a retro, or when `saw retro` lists open proposals. Turns a repeated failure into one enforceable fix with an eval case, and gets it approved before it lands.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add sam-ash-cy/sams-agentic-workflow --skill retro-promote --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Retro Promote?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Retro Promote
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sam-ash-cy-retro-promote/badge)](https://www.skillsdirectory.com/skills/sam-ash-cy-retro-promote)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: retro-promote
description: Use after a task ends with failed checks, when the user asks for a retro, or when `saw retro` lists open proposals. Turns a repeated failure into one enforceable fix with an eval case, and gets it approved before it lands.
---

## 1. Find what repeats
Run `saw retro`. It writes a proposal in `docs/proposals/` for each check that failed in `retro.repeat_threshold` or more tasks (default 2). A failure seen once is not a pattern: leave it. A proposal named `test: <name>` is one test that failed in that many tasks (from `.saw/failures.jsonl`, which `saw run` keeps); `saw run` also flags such a test as it fails again.

## 2. Root cause (one per proposal)
Read the failing logs in `.saw/logs/` and pick one:
- **missing context**: the agent didn't know a fact that was written down somewhere
- **poor instruction**: a skill, playbook or AGENTS.md line was unclear or wrong
- **missing tool**: no command or check exists for this
- **missing test**: nothing caught it before review
- **reasoning error**: the facts were there and the agent got it wrong

Write it under **Root cause**, citing the log lines.

## 3. Fix, most enforceable first
1. test or lint rule, with an error message that says how to fix it
2. hook
3. skill or playbook edit
4. one AGENTS.md line (last resort: it costs tokens in every session)

## 4. Prove it
1. Add `evals/regress-<check>/` that reproduces the failure (see `evals/README.md`).
2. `saw eval --save-baseline` before the fix, `saw eval` after. The fix lands only if no case gets worse.
3. Record both results under **Eval case**.

## 5. Approval
Under `autonomy.actions.self_improve = "propose"` (the default), show the user the proposal and wait for a yes. Never edit global files (`edit_global`) or commit without their go-ahead. When it merges, set `status: promoted` and `promoted: <date>`; the dashboard's promotion_effect panel then tracks whether the failure stopped. A rejected fix gets `status: rejected` and a reason.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.