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.2.5.tar.gz (83.5 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.2.5-py3-none-any.whl (90.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fix_swarm_ai-0.2.5.tar.gz
  • Upload date:
  • Size: 83.5 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.2.5.tar.gz
Algorithm Hash digest
SHA256 5e929b75441bc429a0c710b86229280a0280b363a3bb2cf6f7b1e80195f26553
MD5 66acac88343e09d1915f3388d01051bf
BLAKE2b-256 9eb9810c713f842fde1d0ee09edc4ec04552792c00f7f4abd9f7a65cb18faea5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fix_swarm_ai-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 90.6 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.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 453efdb05639cc17e6b197a4dab6d98f1a9e5780a4b5ce51e688aa3eb700c5db
MD5 4cee63c33acadce66075213578feef2e
BLAKE2b-256 c00fcd54b6a4546ef427b6e91c0b6bbb5a441afe6fadceadcac2f19e91d923df

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