MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getPlanPhase4Section

Function getPlanPhase4Section

src/utils/messages.ts:3190–3205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3188- **Hard limit: 40 lines.** If the plan is longer, delete prose — not file paths.`
3189
3190function 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
3207function getPlanModeV2Instructions(attachment: {
3208 isSubAgent?: boolean

Callers 1

Calls 1

getPewterLedgerVariantFunction · 0.85

Tested by

no test coverage detected