test(plan): cover the final-state tails and refresh the TUI golden
The idle /plan and /plan off command paths pin the immediate-commit copy; the chip's dead leaving/locked guard is deleted (both states disable the button, so no click reaches the handler); the multi-turn TUI golden is re-recorded keyless over the idle-commit wording and the standalone plan/mode narration ordering.
This commit is contained in:
@@ -37,7 +37,7 @@ export function PlanChip({ useProjection, locked, exitPlanMode }: PlanChipProps)
|
||||
if (!target) return null
|
||||
|
||||
const off = (): void => {
|
||||
if (leaving || locked) return
|
||||
// No leaving/locked guard: both disable the button, so no click arrives.
|
||||
setLeaving(true)
|
||||
setError(null)
|
||||
void exitPlanMode().then((failure) => {
|
||||
|
||||
Reference in New Issue
Block a user