deslop clean

DESLOP CLEAN

Quick start

Version 0.6.0. Free local CLI, MIT licensed.

Installation

  1. Download the ZIP and unpack it outside the repository you want to clean.
  2. Open a terminal in the unpacked Deslop-Clean directory. Python 3.10 or later is required.
  3. For JS/TS analysis, install Node.js. Prepare your project dependencies and tests first.

The archive includes analyzer binaries for macOS Apple Silicon, Linux ARM64 and Linux x86-64. Windows and Intel Macs are not supported by this release.

Download v0.6.0

Inspect the plan

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

Replace /path/to/project with your project path. A dry run does not apply changes or run tests.

Apply with verification

./deslop-clean clean /path/to/project

# Or explicitly select a test command
./deslop-clean clean /path/to/project --verify python3 -m pytest

The tool recognizes supported pytest, unittest, node --test, Jest and Vitest commands. If no command is detected, pass --verify as the final option. Tests run with your permissions and may have side effects.

History and rollback

./deslop-clean history /path/to/project
./deslop-clean rollback /path/to/project TRANSACTION_ID

Use the TRANSACTION_ID shown in history. Journals are stored in .deslop-clean. Failed verification triggers automatic rollback; conflicts with concurrent edits require review.

Agent-generated Python patches

./deslop-clean agent /path/to/project \
  --output /path/to/new-result \
  --provider codex --json

An authenticated Codex CLI is required. This command saves a patch and receipt without applying changes. Sources are sent to the selected AI provider. See SERVICE.md in the archive for OpenAI mode, application and Docker-service setup.

Reading the result

Exit code 1 alone does not mean a broken project. Inspect the report and transaction field.

Verify your download

SHA-256

68a0cbd20649e2c8bb79738804e7158495c9ead44f684f840e597e66912a661b

Back to home