← Reddit

My autonomous audit loop for Claude Code found bugs in bat, chalk and fasthttp that all got merged upstream. v1.5.0 is out.

Reddit · Dull_String9524 · August 3, 2026
An autonomous audit loop for Claude Code was built to systematically audit codebases, write verified task backlogs, and iteratively fix issues through breadth-first analysis, acceptance checks, and independent verification by a fresh-context sub-agent. Testing the tool against 17 open source projects found bugs in bat, fasthttp, dayjs, and chalk, with three fixes already merged upstream before feature releases, demonstrating that the system detected issues hidden behind passing test suites.

Detailed Analysis

A developer has released version 1.5.0 of "jeffy-loop," a Claude Code skill that autonomously audits open-source codebases, generates a task backlog with runnable acceptance checks, and iteratively fixes issues until a fresh audit returns clean and an independent sub-agent verifies the work. The tool operates as a slash command (/jeffy 10) that runs unattended, producing a git log of verified checkpoints rather than an unreviewed batch of changes. Notably, it is not an API wrapper but a skill installed directly into an existing Claude Code environment, distributed free and MIT-licensed with no account or paid tier required. The creator ran it against 17 unaffiliated open-source projects spanning eight languages, with 16 converging to a clean state and one documented as not converging, and published full audit journals rather than summarized results as evidence.

The concrete findings lend credibility to the claim of genuine bug-finding rather than fabricated busywork. In bat, a popular Rust-based command-line tool with 60,000 GitHub stars, the loop found that a newly merged security flag was ineffective when output was piped, and that a Unicode bidi-character filter missed 3 of 12 characters it was supposed to catch — a fix that was merged upstream before the flawed feature even shipped. In fasthttp, a widely used Go HTTP library with 23,000 stars, the audit caught a Content-Length parsing bug that silently converted an invalid number into an incorrect one; this fix went through maintainer review before merging. Against dayjs, a JavaScript date library with 65 million weekly downloads, the loop surfaced 45 findings, including 10 rated High severity. Meanwhile, RuboCop and gson came back with zero findings, which the author frames as evidence the system can report a clean bill of health rather than manufacturing issues to justify its existence — a control case that matters for trust in any autonomous auditing tool.

The engineering approach reveals a broader lesson about deploying AI agents for high-stakes, autonomous work: the four design principles the author highlights — breadth-first auditing before fixing, acceptance checks written before work begins, one task per verified checkpoint with automatic reversion on regression, and adversarial countersigning by a fresh-context sub-agent — collectively address the core failure mode of self-grading AI systems. The insistence that "done" is defined by an exit code from a shell script rather than a model's own assessment is a direct rebuttal to a known weakness in agentic AI workflows: models tend to rate their own output favorably. This mirrors growing industry recognition that reliable autonomous agents require external, falsifiable verification loops rather than trusting a single model's self-assessment, a theme increasingly emphasized in Anthropic's own guidance on building reliable Claude-based agents.

This project also reflects a maturing trend in how developers are extending Claude Code beyond simple code generation into semi-autonomous software maintenance. The fact that real security and correctness bugs in widely deployed libraries (bat, fasthttp, chalk) were found and merged upstream — bugs that had been hiding behind passing test suites — suggests agentic tools are beginning to demonstrate practical value in domains like security auditing and dependency maintenance where human review capacity is often the bottleneck. It also illustrates a shift in how AI-assisted development is being validated: rather than benchmark scores or synthetic evaluations, the credibility case here rests on public, reproducible receipts against real-world, third-party codebases with no relationship to the developer, an approach that may become a template for how the community evaluates the trustworthiness of autonomous coding agents going forward.

Read original article →