Skip to content

fix(cli-ui): single-issue live frame renders boxless indented labels - #690

Merged
admarble merged 1 commit into
mainfrom
fix/single-issue-boxless-render
Jun 1, 2026
Merged

admarble merged 1 commit into
mainfrom
fix/single-issue-boxless-render

Conversation

@admarble

@admarble admarble commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Problem

The single-issue sequant run live frame used a ┌┬┐ key/value grid. That bordered, multi-line frame is the dominant source of log-update eraseLines stranding (#647 / #655): when the erase undershoots, the frame top survives in scrollback as a frozen first paint — the classic 0s elapsed ghost with no bottom border.

Observed in a real run:

SEQUANT WORKFLOW · #687 · 0s elapsed

  ┌────────────┬─────────────────────────────────────┐
  │ Issue      │ #687                                │
  ├────────────┼─────────────────────────────────────┤
  │ Status     │ · queued                            │
  │            │ exec –  →  qa –                     │
  ✔ #687 exec  3m 6s          ← event lines bleed in, box never closes
  ✘ #687 qa  QA completed without a parseable verdict

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 value lines (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.

SEQUANT WORKFLOW · #687 · 3m 6s elapsed

  Issue     #687 — relocate version-stamp check
  Worktree  ../worktrees/feature/687-relocate-version-stamp-check
  Branch    feature/687-relocate-version-stamp-check
  Status    ⠋ qa · 0s
            exec ✔ 3m 6s  →  qa running
  • renderSingleIssueFrame: indented layout, no box; drop the 78-col grid cap.
  • drawKeyValueTable → drawKeyValueLines (cyan label + value, aligned continuation lines for multi-line status cells).
  • Multi-issue runs keep the grid (renderMultiIssueFrame) — same stranding could recur there; out of scope here.

Tests

  • AC-11 / AC-32 now assert no box chars for single-issue.
  • The Windows-safe box-char detection meta-test repointed to a multi-issue frame (which still draws box chars).
  • All src/lib/cli-ui/ tests pass (121 + 1 expected-fail); tsc --noEmit clean.

Out of scope

  • QA completed without a parseable verdict is a separate functional bug (verdict parser not matching qa output).

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
@admarble
admarble merged commit 324f4ec into main Jun 1, 2026
4 checks passed
@admarble
admarble deleted the fix/single-issue-boxless-render branch June 1, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant