Repository navigation
FAQ
Not yet. Installing from GitHub is the supported way. A PyPI release is on the roadmap.
pip install "git+https://github.com/ZodiacDog/Code-Cleaner@v1.4.0"v1.4.0 (December 4, 2026). Python 3.10 or newer is required. See Changelog.
Eleven: Python, JavaScript, Java, C#, C++, SQL, Go, Ruby, Rust, HTML and SCRAWL. TypeScript is not supported yet (issue #4). See Languages.
No. The core runs offline, with no account and no server. The optional Fix Loop is the exception: if you use --provider openai it sends the whole file to the endpoint you configure. Use --provider mock or a local model for code you may not share.
code-cleaner analyze src/ --fail-on high --min-score 80analyze defaults to --fail-on none (report only). Exit codes: 0 passed, 1 gate failed, 2 usage error. See Integrations and Scoring.
--disable-rule ID (repeatable). Ids are listed in Rules and docs/rules.md. Inline comments such as # code-cleaner: ignore[rule-id] are not in v1.4.0 (issue #2). Project-wide defaults from pyproject.toml are not in v1.4.0 either (issue #3).
ai-hallucinated-import decides from installed packages and the project's dependency files. Run it in the project's environment, or pass --project-root / known_modules, to avoid false reports.
In v1.4.0, Python taint tracking stays inside one function. On current main (unreleased), it follows calls one level deep within the same file. Deeper chains, cross-file calls, and the other languages stay intra-procedural. There is no taint tracking for Java, HTML or SQL. See Taint Tracking.
SCRAWL is ML Innovations Research Lab's instruction set for agent-to-agent messages, created to combat latency (SYNAPSE frames 75–85% smaller than equivalent JSON in SCRAWL's measurements). Code Cleaner v1.4.0 can analyze, check and compile ROSETTA text (.scrawl / .rosetta) with a built-in compiler. Running a program needs the separate rosetta tool. See SCRAWL.
If you have not had a pull request merged in this repository before, GitHub holds your workflow runs until a maintainer clicks Approve and run workflows. That is expected. See Contributing.
Do not open a public issue. Follow SECURITY.md: email ml.innovations.research.lab@gmail.com with the subject Code Cleaner security.
Use CITATION.cff. GitHub shows a "Cite this repository" button for it.
Michael L. McKnight / ML Innovations Research Lab created Code Cleaner and SCRAWL. Korg (AI assistant, Grok Bot) is a contributor. Licensed under the Apache License 2.0. See AUTHORS.md.
Created by ML / ML Innovations Research Lab. Korg (AI assistant, Grok Bot), contributor. · Repository · Apache License 2.0
Start here
Using Code Cleaner
Contributing