Overview
The Problem
What I Built
Code Review
- P1 — Off-by-2 in the truncation budget for long stage names, which would overflow the terminal border at exactly the worst time. Fixed the column arithmetic.
- P2 — Test border regex was too permissive after my changes. Tightened to /^╭[^╮]*╮$/ plus an explicit 100-column width assertion to catch future layout regressions.
Result
Tech Stack
- TypeScript — TUI rendering logic
- Vitest — Test suite
- ANSI escape codes — Terminal styling
- Atomic TUI architecture — packages/workflows/src/tui/