PYPI PACKAGE AUDIT v1.29.9 Healthy Package

jeffy-loop

Jeffy Loop is an autonomous software-engineering control system that forces an LLM to continuously audit, act, verify, checkpoint, and prove convergence.

PyPkgScore jeffy-loop
Methodology & Criteria ♥ Donate
675 / 1000
Quick Install
pip install jeffy-loop
1. Governance
150/200
2. PEP Metadata
200/200
3. Security
200/200
4. Docs & SEO
60/200
5. CI Engineering
65/200
📣 Share Audit: Share this report and visual preview in the current language
Advertisement
PYPI TELEMETRY

Downloads & Community Adoption

Last 30 days (without mirrors)
Last 7 days
730
Last 30 days
2844
Total (180 days)
6024
Metric / Ecosystem Status / Value Source
Downloads (30d / 180d) — PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) ✓ Verified OIDC PyPI Integrity / Sigstore
Django Packages — djangopackages.org
PyTech / PyPkgScore 675 / 1000 PyPkgScore Engine

Health & Engineering Analysis (5 Pillars)

1. Governance & Community150 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✓ 50 pts
CONTRIBUTING.md✓ 50 pts
CODE_OF_CONDUCT.md✕ 0 pts
2. PEP Metadata & Packaging200 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✓ 50 pts
Trove Classifiers✓ 50 pts
3. Security & Supply Chain200 / 200 ▾
Zero CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✓ 50 pts
Snyk / Audit Link✓ 40 pts
HTTPS Repository✓ 50 pts
4. Documentation, SEO & Ecosystem60 / 200 ▾
Structured README✓ 60 pts
Read the Docs✕ 0 pts
Django Packages✕ 0 pts
Website / Technical Articles✕ 0 pts
5. Engineering, CI & Quality65 / 200 ▾
Automated Tests✕ 0 pts
GitHub Actions CI✓ 65 pts
CHANGELOG.md✕ 0 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)✕ 0 pts
Advertisement
README & DOCS

Official Documentation & Usage Guide — jeffy-loop

PyPI Metadata v1.29.9
Show full original documentation (English README) ▾

Validate Behavioural checks Claude Code Platform License: MIT

Quick Install  ·  Usage  ·  How it works  ·  RSI  ·  The receipts  ·  Headless  ·  White paper  ·  STE100 description

A Claude Code loop that finds bugs in your repo, fixes them, and checks every fix before it commits. Maintainers have merged 80 of its patches.

The model writes the patch. The harness around it decides whether that patch can be trusted. Jeffy Loop is a verification harness for Claude Code: type /jeffy and it audits your codebase, finds a problem, fixes it, checks the fix, and commits the result locally, one task at a time. It keeps going until the codebase passes a fresh audit.

The harness is deliberately hard to fool. If a fix breaks your tests, the loop is told to revert it. The loop is told never to push, and the hook never pushes; keep push off its allowlist. A standard run counts as complete only when a fresh audit is clean, your tests pass again, and an adversarial review by a second AI agent with no part in the run signs off. The goal is fixes that survive scrutiny.

There is a real-world test for that. Anthropic fixed a security issue this loop found in claude-code-action, and closed the report as Resolved after we retested the fix. AWS fixed two panics on malformed input that this loop found in smithy-go and reported privately to AWS Security. Maintainers with no stake in this project have merged 80 of its pull requests, each filed from a local clone, into projects run by NVIDIA, Arm, Meta, Tesla, Google, Apple, Microsoft, Netflix, Apache, Palo Alto Networks, Oracle, IBM, HashiCorp, Cisco, Uber, Square, Cloudflare, Dropbox, Tencent, Capital One, and more. See them all.

Sending a fix upstream? If you use Jeffy Loop to open pull requests on repositories you do not own, we strongly recommend running housebroken (pip install housebroken-cli) alongside it. Jeffy proves the fix; housebroken gets it through the maintainer's door. It reads the project's AI policy first, checks that the finding is not already fixed or ruled intended, holds the pull request to one finding and the smallest diff, has a second model attack it, and refuses to file until every gate has passed. Every pull request this project has filed since housebroken shipped went through it.

The record

Jeffy was run against 132 open-source projects with no connection to this repository, each judged by its own test suite. Every one of these runs is published, failures included.

Projects tested Converged Failed PRs merged PRs open Issues filed
132 103 28 80 10 3

Converged: the closing audit came back clean and the loop's adversarial evaluator, a fresh-context sub-agent, countersigned it, a standard this repository set and checks itself. That happened in 103 projects across 13 languages with no language-specific analyzer; all but five were countersigned, four predate the gate and one ran without it, and six carry a finding blocked at the close, named on its row. Failed: the run spent the budget declared before it started without converging, was stopped short of it by decision (thor), or, for libuv, was abandoned before it had one. That leaves PapaParse, an audit held to the same method rather than a loop run, which the receipts page counts as Fixed alongside the 103.

PRs merged counts every patch a maintainer merged, including patches from High hunts, shorter runs that leave no receipt and are not among the projects tested. PRs open and Issues filed count only the projects tested.

See every project, every patch, and every failure

Quick Install

You need Claude Code, signed in once, and git. Each installer checks for everything else and asks before installing jq.

Install Jeffy with pip

Step 1. Install the package.

pip install jeffy-loop

Step 2. Install Jeffy as a Claude Code skill.

jeffy install

Install Jeffy with uv

You need uv. If you do not have it, pip install uv gets it.

Step 1. Install the package.

uv tool install jeffy-loop

Step 2. Install Jeffy as a Claude Code skill.

jeffy install

Install Jeffy by cloning the repo locally

Mac and Linux

git clone https://github.com/lenamonj/jeffy-loop.git
cd jeffy-loop
./install.sh

Windows PowerShell

git clone https://github.com/lenamonj/jeffy-loop.git
cd jeffy-loop
powershell -ExecutionPolicy Bypass -File .\install.ps1

The -ExecutionPolicy Bypass form runs the installer on a machine where PowerShell scripts are disabled by default and changes no policy.

Running Jeffy

Open Claude Code in the project you want to improve and type /jeffy 10 into the session.

Start a new session for each run, so each run reads its state files with a clean context.

A High hunt fixes only the Highs and stops at the first audit that finds none, so it is usually the faster run.

Usage covers every flag.

What the engine enforces

Each rule is enforced by the iteration prompt, the state files or the Stop hook, and each can be checked in this repository. How.

Rule What it means
A finding needs proof The loop must point at the defect and prove it with a check that runs.
Three gates decide done A fresh audit with no High or Medium findings, an adversarial evaluator's countersignature, and a shell re-run of your tests. In one greenfield build in August 2026, before the gate was narrowed to the run's own changes, the evaluator was invoked 8 times and rejected 7. A High hunt skips the evaluator and never claims convergence.
No convergence over unswept surface The Stop hook refuses to converge while any row of the public-surface checklist is unswept, and a row that names its battery reopens when its code changes.
Lessons become checks A rule learned once binds every later iteration. The engine passes at least 545 behavioural checks on each of Linux, Windows and macOS. How the loop improves itself.

Recursive self-improvement (RSI)

Jeffy runs almost the whole RSI cycle on its own engine. Pointed at its own repository under the same rules as any outside project, it finds a defect, writes the fix, proves it with a behavioural check that fails if the defect returns, and has a second agent try to reject the work; the engine that comes out audits the next round. From 1.29.0 it also names every refusal and run ending and keeps a fire log, so it can count which of its own rules do work. One step is left out on purpose: a human in the loop makes every final decision on what ships. The model itself never changes. What RSI means here, and where it stops.

The improvement runs on a schedule, inside limits fixed in code. Every Monday a sandboxed review session reads the week's record of what went wrong in Jeffy and in Housebroken, traces each serious miss to the step where the work left its plan, and ends with a ranked list of what the next version should carry. Once a month a second session reviews the procedure itself and may rewrite that procedure's working sections; its ground rules and guardrails it can only propose. Beyond that it writes its review files, its incident analyses and a list of register events that code checks before loading. It cannot push, post, release or edit code, and code checks what it wrote before any of it is recorded. The procedure requires each new rule to come from a failure the record shows, and a person rules on every change to either tool. How the scheduled review works, and the hole an independent read found in its sandbox before it ever ran.

Trust model

Question Answer
What runs One Stop hook, skills/jeffy/hooks/stop-hook.sh, plus the small library beside it in skills/jeffy/hooks/lib/. With no live Jeffy state file it exits at once and does nothing.
What it can touch The loop acts through your Claude Code session with that session's permissions. Its no-push rule lives in the iteration prompt, so never allowlist push or force operations for it. Usage, Blast radius.
What the installer writes Two skill folders under ~/.claude/skills and one hook entry in ~/.claude/settings.json. Upgrading and removing them.
How to stop it /cancel-jeffy ends a run at any time.

Independent Validation - The Receipts

Each finding below was accepted by the project's own people: merged upstream by its maintainers, or reported privately and resolved by its security team.

Fixed upstream on our report

Each finding below was reproduced upstream, and the project shipped its own fix instead of merging ours.

Contributor agreements signed

Documentation

Page What it covers
Usage Flags, rounds and budgets, High hunt, scoped mode, cancelling, upgrading, uninstalling, and what to know before a first run
How it works The run lifecycle, what the engine enforces, the full rule set, what a converged stop looks like, and how the loop improves itself
Recursive self-improvement What RSI means in Jeffy: the cycle it runs on its own engine, the step a human in the loop keeps, the guardrails, and what it is not
Recursive self-learning A mistake is allowed once: the standard both tools are held to after a miss, the records it runs on with an example from each, and how each record feeds the next
The scheduled review The weekly and monthly reviews that apply that standard: what the unattended session may read, write and run, what code checks after it, and the two times the sandbox was seen red before its first run
Headless runs Running budgeted rounds unattended from bash or PowerShell
The receipts Every open-source target with its outcome, the merged patches, the greenfield builds
Contributing The validator and the review bar
White paper For readers new to agent loops: how loops got here, every rule from first principles, and what this method still cannot do
STE100 description Description and operation in ASD-STE100 Simplified Technical English: the components, the start, the audit, the fix cycle, and the end of a run, in three pages

License

MIT