()
| 3288 | - **Hard limit: 40 lines.** If the plan is longer, delete prose — not file paths.` |
| 3289 | |
| 3290 | function getPlanPhase4Section(): string { |
| 3291 | const variant = getPewterLedgerVariant() |
| 3292 | switch (variant) { |
| 3293 | case 'trim': |
| 3294 | return PLAN_PHASE4_TRIM |
| 3295 | case 'cut': |
| 3296 | return PLAN_PHASE4_CUT |
| 3297 | case 'cap': |
| 3298 | return PLAN_PHASE4_CAP |
| 3299 | case null: |
| 3300 | return PLAN_PHASE4_CONTROL |
| 3301 | default: |
| 3302 | variant satisfies never |
| 3303 | return PLAN_PHASE4_CONTROL |
| 3304 | } |
| 3305 | } |
| 3306 | |
| 3307 | function getPlanModeV2Instructions(attachment: { |
| 3308 | isSubAgent?: boolean |
no test coverage detected