What problem does it solve?
The harness-auditor turns an existing repository into a precise, planner-ready assessment so the planner can produce realistic enhancement or remediation specs instead of imagining features from scratch. It prevents wasted effort by revealing architecture, dependency risks, test gaps, and UI baselines that must guide any incremental work.
Core Features & Use Cases
- Directory reconnaissance: map project layout, detect root markers and source/test locations.
- Dependency & stack inventory: parse manifests and verify versions and deprecations using Context7.
- Architecture & code quality analysis: document patterns, data flow, type safety, error handling, and complexity hotspots.
- Test coverage & CI checks: run or estimate test coverage and surface missing test regions.
- UI baseline (web apps): optionally start the app and capture Playwright-driven screenshots and interaction checks.
- Git history analysis & technical debt: summarize commit health, contributor activity, and prioritize debt into an actionable backlog for the planner.
- Output: writes .harness/CODEBASE_AUDIT.md for the planner to consume.
Quick Start
Run the harness-auditor on the current repository to generate .harness/CODEBASE_AUDIT.md and a prioritized technical debt inventory.