deslop clean

Architecture, under control · v0.6

Let AI write.
Keep your
code clean.

Find architectural issues, generate focused patches and check them against your project’s tests. Every change is visible. Every applied patch has a rollback.

Local-first CLI · no sign-up · MIT licensed

deslop / samplePATCH VERIFIED
Circular dependency resolvedPython
_constants.pya.pyb.pyoriginal exports preserved
module-cycle1 → 0
Tests before / after2 passed / 2 passed
Agent attempts1
Actual Codex run. Controlled example, v0.6.
Fits into your existing development workflow
PythonJavaScript / TypeScriptCodexGitHub

From finding to fix

Fewer tangles.
More clarity.

The agent extracted shared constants from an import cycle. Public names were preserved. Project tests passed before and after.

sample/a.py + sample/b.py
# a.py
LIMIT = 1800
LABEL = "café"
# inside compute()
from sample.b import limited

# b.py
from .a import LIMIT as UPPER, LABEL
Excerpt from the actual patchDownload full patch

Deterministic transformations support Python and JS/TS. Agent-generated patches in v0.6 support Python. Tests validate the scenarios they cover.

Control at every step

Changes you can
actually inspect.

Start with a plan

Deslop analyzes dependencies and prepares a diff on a copy of your sources. Findings without a suitable fix stay visible in the report.

Then verify the change

The core checks the patch and runs tests before and after. An agent can propose a fix for more complex cases, through the same validation gate.

Keep a way back

Changes are recorded in a transaction journal. Failed verification rolls back the affected files. You can also undo a successful change later.

Measured results · core v0.4

Real projects.
Open results.

Pinned releases, consistent analysis rules and before-and-after tests. Inspect the results project by project.

70Python and JS/TS projects
18 / 82architecture findings resolved
2 371tests passed before and after¹

¹ Across the 9 changed projects. 64 findings remain. All 70 projects informed v0.4 development: this is not an independent holdout or a guarantee of bug-free changes.

Architecture findings and passed project tests
ProjectFindings: 0.3 → 0.4Tests: before / after
toolz1.0.06 → 0180 / 180
Jinja23.1.514 → 11300 / 300
chaiv4.5.03 → 1443 / 443
ufov1.5.42 → 0471 / 471

Try it on your own code

Your first step?
Inspect the diff.

Download and unpack the release outside your repository. Start with a dry run. Have your project’s dependencies and tests ready before applying changes.

Download v0.6.0ZIP · 8.2 MB · MIT

Installation guide and requirements

Terminal
./deslop-clean clean /path/to/project --dry-run --diff

Python 3.10+ · macOS Apple Silicon · Linux ARM64 / x86-64
JS/TS also requires Node.js. Run these commands from the unpacked tool directory.

Before your first run

A few things
worth knowing.

Does my code stay local?

Standard analysis and deterministic cleanup run locally. If you use agent mode, selected Python sources are sent to your Codex or OpenAI provider. This is an optional mode using your own account.

Will it fix every finding?

No. In the v0.4 benchmark, 18 of 82 architectural findings were resolved. Complex dependencies and public API changes may need engineering decisions. Those findings remain visible.

Does it replace Ruff or Biome?

Deslop focuses on architectural relationships. It can also integrate your installed Ruff for Python and Biome for JS/TS, wrapping their fixes in the same test-verified workflow.

Can I connect pull request checks?

The release includes a CI command and a single-organization Docker service for GitHub Checks. The hosted service is not live yet; deployment can be discussed as part of a pilot. Server-generated patches are statically checked; PR tests are not run on the server.

What does it cost?

The CLI is free under the MIT license. AI-provider usage is billed under your own account’s terms. Team pilot scope, hosting and support pricing are agreed separately.

For teams building with AI

Let’s start with
one repository.

Review architectural findings, validate patches and identify what’s worth automating in your team’s workflow.

Email us about a pilot

info@we-do-web.site · Opens your email app