Skip to content

v0.4.0 — Full audit, refactor, open-source readiness

Choose a tag to compare

@IronAdamant IronAdamant released this 18 Mar 02:13
· 109 commits to main since this release

What's New

Chisel v0.4.0 is the first release-quality version — a full codebase audit, architectural refactor, and open-source packaging in one release.

Highlights

  • PyPI ready — pip install chisel-test-impact (package name: chisel-test-impact)
  • MCP-first README — Claude Code and Cursor config snippets, 15-tool reference table
  • Architecture cleanup — 3 new modules (metrics.py, schemas.py), all modules under 510 LOC
  • Performance — failure rate caching eliminates N redundant DB scans in risk_map; co-change cap prevents O(k²) on bulk commits
  • 419 tests, zero lint errors, zero TODOs

Bug Fixes

  • TOCTOU race in cleanup_orphaned_test_results (now atomic)
  • Engine resource leak in mcp_stdio.create_server on failure
  • update() stats were incomplete vs analyze() (missing code_units_found)
  • None coercion bug in churn stat lookups

Breaking Changes

  • _test_instability() now accepts (test_ids, failure_rates) instead of (storage, test_ids)
  • compute_churn, compute_ownership, compute_co_changes moved from GitAnalyzer methods to standalone functions in chisel.metrics
  • _TOOL_SCHEMAS moved from mcp_server.py to schemas.py
  • Package name is chisel-test-impact (bare chisel is taken on PyPI)

Install

pip install chisel-test-impact

# With MCP support for Claude Code / Cursor:
pip install chisel-test-impact[mcp]

See README for MCP config snippets.

Full changelog: CHANGELOG.md