Repository navigation
v0.14.0 — Architectural Assessment + Refactors
What's New
pact assess — Architectural Assessment Command
New CLI command that performs mechanical analysis of any Python codebase for structural friction. No LLM required, no project setup needed.
pact assess src/myproject/ # Markdown report
pact assess src/myproject/ --json # Machine-readable outputDetects five categories:
- Hub dependencies — modules with high fan-in (many dependents)
- Shallow modules — interface complexity rivals implementation
- Tight coupling — mutual imports, circular dependency clusters (Tarjan's SCC)
- Scattered logic — same intra-project import in many files
- Test coverage gaps — source modules without test files
Architecture Refactors
- Health policy extraction —
health_policy()consolidates 7 scattered health check sites into a single decision function - Test harness consolidation —
_run_test_subprocess()eliminates 4x duplicated subprocess boilerplate across Python/TS/Rust runners - ResolvedConfig —
resolve_all()pre-computes all config resolution at startup
Documentation
- CAPABILITIES.md — AI-friendly capability inventory with quick selector, decision guide, and per-command details
- README, CLAUDE.md, and docs site updated
Stats
- 2073 tests (48 net new)
- +1767 lines, -169 lines across 16 files