code-health

Refactoring Plans

Deterministic, graph-aware refactoring plans (repowise >= 0.24.0).

Extract Class / Extract Helper / Extract Method / Move Method / Break Cycle / Split File / Performance Fix suggestions, unified-ranked at index time. Distinct from /refactoring-targets (the impact-per-effort file ranking). Returns state='not_available' for snapshots indexed before the layer landed.

get/snapshots/{snapshot_id}/health/refactoring-plans

Path parameters

snapshot_idstring required

Query parameters

typestring nullable

Filter to one refactoring_type (chip counts stay full).

Filter to one refactoring_type (chip counts stay full).

min_confidencestring nullable

Surface gate: low | medium | high.

Surface gate: low | medium | high.

Response

Successful Response

statestring
reasonstring nullable

Changes