()
| 48 | * Config: ant=always_on, external=tengu_plan_mode_interview_phase gate, envVar=true |
| 49 | */ |
| 50 | export function isPlanModeInterviewPhaseEnabled(): boolean { |
| 51 | // Always on for ants |
| 52 | if (process.env.USER_TYPE === 'ant') return true |
| 53 | |
| 54 | const env = process.env.CLAUDE_CODE_PLAN_MODE_INTERVIEW_PHASE |
| 55 | if (isEnvTruthy(env)) return true |
| 56 | if (isEnvDefinedFalsy(env)) return false |
| 57 | |
| 58 | return getFeatureValue_CACHED_MAY_BE_STALE( |
| 59 | 'tengu_plan_mode_interview_phase', |
| 60 | false, |
| 61 | ) |
| 62 | } |
| 63 | |
| 64 | export type PewterLedgerVariant = 'trim' | 'cut' | 'cap' | null |
| 65 |
no test coverage detected