Skip to content
Michael L. McKnight edited this page Dec 5, 2026 · 2 revisions

FAQ

Is Code Cleaner on PyPI?

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"

What is the latest version?

v1.4.0 (December 4, 2026). Python 3.10 or newer is required. See Changelog.

Which languages are supported?

Eleven: Python, JavaScript, Java, C#, C++, SQL, Go, Ruby, Rust, HTML and SCRAWL. TypeScript is not supported yet (issue #4). See Languages.

Does it need the internet or an account?

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.

How do I fail CI on serious findings?

code-cleaner analyze src/ --fail-on high --min-score 80

analyze defaults to --fail-on none (report only). Exit codes: 0 passed, 1 gate failed, 2 usage error. See Integrations and Scoring.

How do I turn off a noisy rule?

--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).

Why did it flag an import as hallucinated?

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.

Does taint tracking follow data into helper functions?

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.

What is SCRAWL, and can Code Cleaner compile it?

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.

My first pull request's CI says "action required".

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.

How do I report a security problem in Code Cleaner itself?

Do not open a public issue. Follow SECURITY.md: email ml.innovations.research.lab@gmail.com with the subject Code Cleaner security.

How do I cite Code Cleaner?

Use CITATION.cff. GitHub shows a "Cite this repository" button for it.

Who created it, and what is the license?

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.

Clone this wiki locally