Skip to main content

Multi-agent code fixer -- reads ReviewSwarm reports and generates fixes

Project description

FixSwarm

Multi-agent code fixer that reads ReviewSwarm 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

pip install -e .

Usage

1. Generate a fix plan (dry-run)

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

Shows what changes FixSwarm would make without modifying any files.

2. Apply fixes

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

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

3. Verify fixes

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fix_swarm_ai-0.1.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fix_swarm_ai-0.1.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file fix_swarm_ai-0.1.0.tar.gz.

File metadata

  • Download URL: fix_swarm_ai-0.1.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for fix_swarm_ai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5c15d4f2174a39cb58c73b3e7a62dcc1bf9f4b7ae8ec8fcbe4d4427968cb8af1
MD5 639b2db8a4b189317626f3b1facb9f7d
BLAKE2b-256 7dc58e4b50391b682928dd5e841fcd2c18d4ee5b2828e1bcaa506e258680385c

See more details on using hashes here.

File details

Details for the file fix_swarm_ai-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fix_swarm_ai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for fix_swarm_ai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7e0a1c965f44236f5e13b015283f5972252a165ba71bd5e193c3a6b54678870
MD5 0350aedcf0125374c7e91e4b735158b4
BLAKE2b-256 d90d085263213eae7bb51b43da4c42e093bff979af5b84a2d3eb7a9ba2818a9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page