Metadata-Version: 2.4
Name: fix-swarm-ai
Version: 0.1.5
Summary: Multi-agent code fixer -- reads ReviewSwarm reports and generates fixes
Author: fozzfut
License: MIT
License-File: LICENSE
Keywords: agents,ai,automated-fix,code-fix,mcp
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.10
Requires-Dist: click<9,>=8.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == 'dev'
Description-Content-Type: text/markdown

# FixSwarm

Multi-agent code fixer that reads [ReviewSwarm](https://github.com/fozzfut/review-swarm) reports and applies fixes automatically.

FixSwarm is the **fix** part of the review -> fix -> docs workflow. It takes a ReviewSwarm `report.json`, parses findings, generates a fix plan with specific text replacements, and applies those fixes to your source files.

## Installation

```bash
pip install -e .
```

## Usage

### 1. Generate a fix plan (dry-run)

```bash
fix-swarm plan report.json --threshold medium --dry-run
```

Shows what changes FixSwarm would make without modifying any files.

### 2. Apply fixes

```bash
fix-swarm apply report.json --threshold medium --backup
```

Applies all planned fixes. Use `--backup` to create `.bak` files before modifying.

### 3. Verify fixes

```bash
fix-swarm verify report.json
```

Checks whether the fixes for each finding have been applied correctly.

## Severity Threshold

The `--threshold` flag filters findings by minimum severity. The order is:
`critical > high > medium > low > info`. Default is `medium`.

## Report Formats

FixSwarm supports both JSON and Markdown report formats produced by ReviewSwarm.

## License

MIT
