next_item
Get the highest-risk function to refactor next, including its score, uncovered lines, effort estimate, and verification commands.
Instructions
The highest-risk function to refactor next, as one work packet: score, uncovered lines, effort estimate and the commands that verify the fix. Reach for it when you want one item to act on; worklist is the same ranking as a survey.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | return the next N packets instead of one (>= 1, default 1) | |
| repo | No | path to the scored repo's root (default: the repo the server was started in) | |
| exclude | No | skip items whose path or function name contains this fragment (repeatable) |