Repository navigation
fix(cli-ui): single-issue live frame renders boxless indented labels - #690
Merged
Merged
Conversation
The single-issue `sequant run` live frame used a `┌┬┐` key/value grid. That bordered multi-line frame was the dominant source of log-update `eraseLines` stranding (#647/#655): on undershoot, the frame top survived in scrollback as a frozen first paint — the "0s elapsed" ghost with no bottom border seen in real runs. Replace it with indented `label value` lines (Issue/Worktree/Branch/ Status), matching the repo's move away from box-drawing in human output. Shorter, border-free height clears cleanly. Multi-issue keeps the grid. - renderSingleIssueFrame: indented layout, no box; drop the 78-col grid cap - drawKeyValueTable -> drawKeyValueLines (cyan label + value, aligned continuation lines for multi-line status cells) - tests: AC-11/AC-32 assert no box chars for single-issue; repoint the Windows-safe box-char detection meta-test to a multi-issue frame Entire-Checkpoint: 4c9d344e913f
This was referenced Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The single-issue
sequant runlive frame used a┌┬┐key/value grid. That bordered, multi-line frame is the dominant source oflog-updateeraseLinesstranding (#647 / #655): when the erase undershoots, the frame top survives in scrollback as a frozen first paint — the classic0s elapsedghost with no bottom border.Observed in a real run:
The elapsed logic was always correct — you were seeing a stranded first paint, not a dead timer.
Change
Replace the single-issue grid with indented
label valuelines (Issue / Worktree / Branch / Status). Shorter, border-free height clears cleanly and dodges the stranding. Aligns with the repo's move away from box-drawing in human-facing output.renderSingleIssueFrame: indented layout, no box; drop the 78-col grid cap.drawKeyValueTable→drawKeyValueLines(cyan label + value, aligned continuation lines for multi-line status cells).renderMultiIssueFrame) — same stranding could recur there; out of scope here.Tests
src/lib/cli-ui/tests pass (121 + 1 expected-fail);tsc --noEmitclean.Out of scope
QA completed without a parseable verdictis a separate functional bug (verdict parser not matching qa output).