pymutant-mcp 2026-03-13
Flatten package layout and tighten release gates
57 files · 992+ · 233-

Complete server/ to src/pymutant/ migration

4 files changed
  • __init__.py Moved from server/src/pymutant/
  • main.py Moved from server/src/pymutant/main.py with added shebang
  • api.py Moved from server/src/pymutant/runner/api.py with updated imports
  • helpers.py Moved from server/src/pymutant/runner/helpers.py with path updates
  • Moved all 20+ source files from server/src/pymutant/ to src/pymutant/, removing the server/ subdirectory entirely decouple architectural
    3 files
    • __init__.py
    • main.py
    • api.py
  • Removed server/.project-root, server/README.md, and server/pyproject.toml decouple architectural
    3 files
    • .project-root
    • README.md
    • pyproject.toml

Update CI and pre-commit paths for flat layout

3 files changed
  • ci.yml Changed all server/src references to src/pymutant in bandit, build, and verify steps
  • release-readiness.yml Removed dual-build steps; single uv build command
  • .pre-commit-config.yaml Updated mypy, ty, bandit, xenon, vulture, max-loc, and docs-lint paths
  • All pre-commit hooks and CI steps updated from server/src paths to src/pymutant baseline internal
    2 files
    • .pre-commit-config.yaml
    • ci.yml
  • Build step simplified from dual root+server package build to single uv build baseline internal
    2 files
    • ci.yml
    • release-readiness.yml

Update CI baselines for new paths

2 files changed
  • max-loc-baseline.json Updated file paths from server/src/ to src/
  • xenon-baseline.json Updated complexity violation paths from server/src/ to src/
  • Complexity and LOC baselines updated to reference new src/ paths baseline internal
    2 files
    • max-loc-baseline.json
    • xenon-baseline.json

Update documentation and project metadata

4 files changed
  • README.md Rewritten for MCP server identity with uvx installation and new project structure
  • AGENTS.md Updated module organization and build commands for single-package layout
  • pyproject.toml Consolidated as single-package config with all dependencies
  • conftest.py Removed server-specific test configuration
  • README now describes pymutant as an MCP server installable via claude mcp add or .mcp.json specify external
    1 file
    • README.md
  • AGENTS.md updated with src/pymutant module organization and uv-only development instructions specify external
    1 file
    • AGENTS.md

Add output sanitization tests

1 file changed
  • test_output_sanitization.py 39 lines testing command output truncation and sanitization
  • Added tests verifying output sanitization for large mutmut command outputs qualify internal
    1 file
    • test_output_sanitization.py