Skip to content

docs(#695): privacy-safe boxed-TUI demo GIF for README - #729

Merged
admarble merged 3 commits into
mainfrom
feature/695-docs-privacy-safe-demo-gif-of-the-newest-boxed
Jun 12, 2026
Merged

admarble merged 3 commits into
mainfrom
feature/695-docs-privacy-safe-demo-gif-of-the-newest-boxed

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Closes #695. Split from #694 — ships the remaining recorded asset for the README, using the issue's revised privacy-safe approach.

What this does

Adds a scripted, privacy-safe demo harness that drives the real branded boxed Ink TUI (renderTui() → src/ui/tui/) with a synthetic snapshot for fictional #64: Add user authentication, advancing spec → exec → qa → done with a live spinner, ticking elapsed timer, in-place phase glyphs, and a green success rollup. Nothing real is touched — no orchestrator, worktree, GitHub, or local paths.

Sample frames (mid-run / completion)

The GIF opens straight on the live TUI:

  • spec running · branch feature/64-user-auth · log .sequant/logs/64-spec.log · now: posting plan comment…
  • completion · ✔ spec ✔ exec ✔ qa · green border · completed

AC coverage

  • AC-1 — scripts/demo/run-grid-demo.ts: time-driven SnapshotProvider feeding the real renderTui() via loadTui() (production React), fictional docs(#7): document GitHub requirement and platform workarounds #64, spec → exec → qa → done, realistic nowLine/elapsed, green rollup. ✅
  • AC-2 — zero real-machine data: fictional branch feature/64-user-auth, generic relative .sequant/logs/64-*.log, base main (no SHA), no repo/org/usernames. Privacy-grep clean. ✅
  • AC-3 — docs/assets/run-grid.tape (VHS) committed; GIF shows the boxed TUI (rounded borders, three cells), not the plain indented renderer. ✅
  • AC-4 — docs/assets/run-grid.gif committed (~133 KB). ✅
  • AC-5 — README placeholder at README.md:102 replaced with a centered <img> using an absolute raw.githubusercontent.com/.../main/... URL (README ships verbatim to npm). ✅
  • AC-6 — docs/assets/README.md lists the harness/tape/gif and notes the CI render workflow was removed (103e453), so GIFs render locally and are committed. ✅

Notes

  • Adapted from the proven (gitignored) scripts/dev/tui-demo.tsx, reduced to a single privacy-safe fictional issue.
  • run-grid.tape runs from the repo root (the harness needs tsx + node_modules + tsconfig); the older two tapes still run from docs/assets/. Documented in docs/assets/README.md.
  • scripts/ is outside tsc/eslint scope (consistent with all other scripts/ files run via tsx); verified by a clean end-to-end runtime render. npm run build is green.

🤖 Generated with Claude Code

Add a scripted, privacy-safe demo harness that drives the REAL boxed Ink
TUI (renderTui -> src/ui/tui/) with a synthetic snapshot for fictional
#64 'Add user authentication', advancing spec -> exec -> qa -> done with a
green success rollup. No orchestrator, worktree, GitHub, or local paths are
touched; the snapshot contains zero real-machine data.

- scripts/demo/run-grid-demo.ts: time-driven SnapshotProvider feeding the
  real renderTui() via loadTui() (production React). Fictional issue, branch
  feature/64-user-auth, generic relative log path, base main.
- docs/assets/run-grid.tape: VHS source recording the harness (run from repo root).
- docs/assets/run-grid.gif: rendered ~10s capture, committed (README ships
  verbatim to npm, so the embed needs an absolute raw GitHub URL).
- README.md: replace the #695 placeholder with the GIF embed.
- docs/assets/README.md: list the harness/tape/gif; note the CI render
  workflow was removed (103e453) so GIFs are rendered locally and committed.

Closes #695
admarble added 2 commits June 12, 2026 00:04
…n framing

The TUI's secondary chrome (labels, dividers, elapsed timer, log path, last-
activity stamp, status line) used ANSI "gray" (bright-black), which the brand's
own dark theme renders at ~2.4:1 — below WCAG AA (4.5) and the 3.0 large-text/UI
floor. Lift DIVIDER_COLOR to a fixed mid-gray #8B8B9A: ~4.9:1 on the dark theme
(clears AA) while staying above 3.0 on light terminals (~3.4:1). Still degrades
via chalk downsampling and NO_COLOR. The not-yet-started phase glyph keeps ANSI
gray so pending work stays the most recessed.

Reshoot the #695 demo GIF against the new theme and improve the framing per
review:
- Show a typed `sequant run 64` (via a hidden alias to the harness) instead of
  the `npx tsx scripts/...` path, matching the `sequant run` header the TUI
  prints and the existing tapes' command-first convention.
- Hold on the `✔ #64` teardown summary line at the end so the run resolves on a
  clear completion beat.

Measured: gray 2.46 -> 4.93:1 against the demo's #1C1C2C background.
Render at ~1.75x (FontSize 28 / 1610x760) so the asset downscales crisply to
retina at the README's width=760. Smooth the entrance per review:

- Harness: add a brief queued lead-in before spec and stretch phase pacing so
  the TUI eases in calmly instead of popping in mid-spec; it no longer has to be
  fast.
- Tape: hide the interpreter boot off-camera (VHS excludes hidden time from the
  GIF) and drive via the local ./node_modules/.bin/tsx binary, so the recording
  cuts straight from `sequant run 64` to the calm queued TUI with no dead gap.

Net: 1610x760, ~12.4s, gapless command->TUI transition, readable AA gray.
@admarble
admarble merged commit 63acbe4 into main Jun 12, 2026
4 checks passed
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.

docs: privacy-safe demo GIF of the newest boxed-TUI run grid (fictional #64) for README

1 participant