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.3.1.tar.gz (86.2 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.3.1-py3-none-any.whl (93.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fix_swarm_ai-0.3.1.tar.gz
  • Upload date:
  • Size: 86.2 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.3.1.tar.gz
Algorithm Hash digest
SHA256 263e15e6e394e6909e23a74936d4e06e66c5f583716a6bfc249e52d758f2d345
MD5 897ce900a43217509ffbd08ff9b304cc
BLAKE2b-256 b22408a9affa05b1eb67eaf786d7fb3b26fb68a50d342cd306ad60b9f321d336

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fix_swarm_ai-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 93.0 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15c94e198d0aa4138bb90cc1efebc21434fc135f927e289175972913c019ff18
MD5 b38860fa4478469e4d98012648ec8937
BLAKE2b-256 30c5854f94fb6adcdbc65a9a1db2e0823c93fc1f0a0629d46dd21969a8e34e05

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