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.2.tar.gz (12.7 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.2-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fix_swarm_ai-0.1.2.tar.gz
  • Upload date:
  • Size: 12.7 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.2.tar.gz
Algorithm Hash digest
SHA256 a7b035fdefe4b8bbf20a514ad75ce6c29ac190050f966fb2698487f9f525bda2
MD5 02021c7f7887fbea114432424a9962c9
BLAKE2b-256 7abc329b1c859af2d17b9a16bc6e1650d92399703a2719e416968cf146a0d4b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fix_swarm_ai-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f74d37f98b34ff324a017b685e441eee1434f4cd8bceb32b89480bfbe631b0f1
MD5 32042105eeef0f36d7f903eac145537c
BLAKE2b-256 c4503cdc61edbeb88f47842097d60041409c3159ba17f5211eb14ec627815ee2

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