maintainability-agent docs
Reference

External Quality Tool Readiness

Maintainability Agent should be easy to test against mature third-party quality platforms. The repo is prepared for the common public-repo path on SonarQube Cloud, Qlty, and Codacy.

Local Signal First

Run this before connecting external services:

PYTHONPATH=src python3 -m pytest \
  --cov=maintainability_audit \
  --cov-report=term-missing \
  --cov-report=xml:coverage.xml \
  --cov-fail-under=92

PYTHONPATH=src python3 -m maintainability_audit \
  --config maintainability-agent.json \
  --fail-on-gate \
  --output maintainability-report.md \
  --prompt-output maintainability-remediation-prompt.md \
  --comment-output maintainability-pr-comment.md \
  --sarif-output maintainability.sarif

Expected local bar:

SonarQube Cloud

Public projects can use SonarQube Cloud's free public-project analysis path. This repo includes sonar-project.properties with:

After publishing the repo, connect it through SonarQube Cloud and make sure the project key and organization match the GitHub owner/repo.

Likely gate concerns:

Qlty

Qlty provides a free open-source path through its GitHub App for qualifying public repositories. Use it after publishing by installing the app on the repo.

Likely gate concerns:

Codacy

Codacy advertises free open-source/public repository scanning and coverage tracking. Use it after publishing by adding the GitHub repository in Codacy.

Likely gate concerns:

Current Readiness

The built-in local audit is not meant to replace these tools. Its job is to keep AI-assisted changes bounded and produce a remediation prompt before the external platforms see the code.

External tools should be treated as independent checks. If one reports a finding that Maintainability Agent does not, either: