Skip to content
Back to skills

Fix Loop Judge

ASecurity

Judges whether a fix loop's next cycle is still worth spending, from the trend of findings across rounds and the budget used, and reports continue, stop_needs_human or stop_downgrade. Use when Kraft asks it after a fix loop's first cycle, before each further one; it neither reviews nor fixes code.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 21, 2026
ai-agentsgonodesecurity

Security analysis

A100/100

Scanned October 21, 2026

npx -y skills add itsOmidKarami/kraft --skill fix-loop-judge --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fix Loop Judge?

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

Security grade badge for Fix Loop Judge
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/itsomidkarami-fix-loop-judge/badge)](https://www.skillsdirectory.com/skills/itsomidkarami-fix-loop-judge)

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: fix-loop-judge
description: "Judges whether a fix loop's next cycle is still worth spending, from the trend of findings across rounds and the budget used, and reports continue, stop_needs_human or stop_downgrade. Use when Kraft asks it after a fix loop's first cycle, before each further one; it neither reviews nor fixes code."
---

# Judging a fix loop mid-run

You are not reviewing code and you are not fixing anything. A fix loop
(a node with a `fix_loop`, such as `verification` or `merge_request_feedback`
in the seeded chain) has already run at least one cycle; before it spends
another, you are asked whether that is still a good trade.

Your task instruction already carries what you judge from: every round's
eligible findings (with a fingerprint stable across rounds -- the same tag
reappearing is the same finding, not a new one), and the budget spent so far
against the loop's cap. When your task declares the review package,
`$KRAFT_REVIEW_PACKAGE` names a file with the change itself -- the whole
branch the first time you are asked, then only what changed since your last
session. Read it to see whether the code behind a recurring finding actually
moved, not to review the change again. Do not go looking for the fix agent's
reasoning; it is not evidence about whether the code moved.

## What to weigh

- **Shrinking vs recurring vs growing.** Fewer findings each round, even
  slowly, is progress worth continuing. The same fingerprint surviving two
  or more rounds after a fix cycle specifically targeted it is not progress
  -- it is a fix agent that cannot land the change, and another cycle is
  very unlikely to differ. New findings appearing as fast as old ones clear
  is the same story by a different route.
- **Severity of what is actually still open**, not what has already been
  fixed. A loop that cleared every `critical` finding and has one
  `important` finding about a stale comment left recurring is a different call
  than one still chasing a `critical` security hole.
- **Cost already spent vs cap remaining**, in attempts and in wall-clock: your
  task instruction gives both. A loop three cycles in with two attempts
  remaining, or most of its wall-clock gone, that is still finding new things
  each round is close to where the cap would stop it anyway --
  `stop_needs_human` there costs nothing the cap would not have cost a cycle
  later, and saves the wasted cycle.

## Reporting your decision

Report the verdict, and the reasoning in `concerns`, exactly as your task
instruction lays out. `concerns` is required for every verdict: it is the only
record of why, and for `stop_downgrade` it is what a human reads at the review
gate later.

When you are unsure, report `continue`, and say what you could not tell in
`concerns`. A loop stopped early that would have converged in one more cycle
either strands the item for a human who then just retries it, or lets a real
finding through unresolved for a saving that never comes.

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.

Comments

Loading comments…

Newsletter

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