What broke when I let an AI agent modify its own Python code for 144 cycles

ArthurDev1 pts0 comments

GitHub - ADevBelgie/zmb-audit · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

ADevBelgie

zmb-audit

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>1 Commit<br>1 Commit

LICENSE

LICENSE

README.md

README.md

zmb_audit.py

zmb_audit.py

View all files

Repository files navigation

ZMB Standalone Codebase Auditor (zmb_audit.py)

A zero-dependency, standalone static analysis tool for Python codebases.

Overview

zmb_audit.py scans any target Python repository using Python's standard library ast parser to identify structural governance risks and code rot:

Orphan Modules : Finds Python modules that exist in the codebase but are imported by nothing.

Unresolved Attribute Calls : Detects suspicious method calls across files to missing or renamed symbols.

Kernel Guard Status : Verifies whether git pre-commit hook protection is active.

Installation & Requirements

Requirements : Python 3.8+ (Stdlib only — no pip dependencies required).

Setup : Download zmb_audit.py and run it directly.

Usage

# Audit current directory<br>python zmb_audit.py

# Audit specific repository path<br>python zmb_audit.py /path/to/repository

# Output results as structured JSON<br>python zmb_audit.py /path/to/repository --json

# Exclude specific custom directories from scan<br>python zmb_audit.py /path/to/repository --exclude legacy_code experimental

Deep-Dive Report

For full empirical analysis of 8 autonomous self-modification failure modes and production reachability instrumentation:

👉 Read the ZMB Failure-Mode Report

About<br>No description, website, or topics provided.<br>Resources<br>Readme<br>MIT license<br>Activity<br>Stars<br>0 stars<br>Watchers<br>0 watching<br>Forks<br>0 forks<br>Report repository

Releases

Packages

Contributors

Languages

You can’t perform that action at this time.

python zmb_audit repository commit search audit

Related Articles