()
| 3188 | - **Hard limit: 40 lines.** If the plan is longer, delete prose — not file paths.` |
| 3189 | |
| 3190 | function getPlanPhase4Section(): string { |
| 3191 | const variant = getPewterLedgerVariant() |
| 3192 | switch (variant) { |
| 3193 | case 'trim': |
| 3194 | return PLAN_PHASE4_TRIM |
| 3195 | case 'cut': |
| 3196 | return PLAN_PHASE4_CUT |
| 3197 | case 'cap': |
| 3198 | return PLAN_PHASE4_CAP |
| 3199 | case null: |
| 3200 | return PLAN_PHASE4_CONTROL |
| 3201 | default: |
| 3202 | variant satisfies never |
| 3203 | return PLAN_PHASE4_CONTROL |
| 3204 | } |
| 3205 | } |
| 3206 | |
| 3207 | function getPlanModeV2Instructions(attachment: { |
| 3208 | isSubAgent?: boolean |
no test coverage detected