Skip to content

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

Closed

Description

@admarble

Split out from #694 (README / npm SEO + clarity overhaul). #694 shipped the text/SEO fixes plus a text example block near the top of the README ("SEQUANT WORKFLOW · #683"). This issue covers the remaining recorded asset — with a revised approach (see below).

Approach: privacy-safe, newest UI, generic

Two requirements drive the approach:

  1. Privacy — a live screen-recording of a real sequant run would leak local-machine detail (absolute paths, real repo/org name, real issue titles, usernames). The demo must expose zero real-machine data.
  2. Newest UI — the demo must show the current branded boxed Ink TUI (src/ui/tui/): rounded per-issue boxes, three cells (header / context / activity), brand-orange live spinner, brand-green success rollup. This is the in-place phase-matrix from feat(cli): replace start/complete event journal with in-place phase-matrix #672, hardened in feat(tui): upgrade sequant ready to the boxed Ink TUI + harden TUI for large batches #699. (This supersedes the original AC below that said "use indented-label, not boxed TUI" — that guidance dates from when the boxed renderer was fragile for single-issue runs; feat(tui): upgrade sequant ready to the boxed Ink TUI + harden TUI for large batches #699 fixed it and sequant ready now uses it.)

How both hold at once: the TUI is driven by a structural SnapshotProvider ({ getSnapshot(): RunSnapshot } — see src/ui/tui/index.ts). So a small scripted fixture provider that emits a synthetic RunSnapshot (src/lib/workflow/run-state.ts) for a fictional #64: Add user authentication can drive the real renderTui() through spec → exec → qa over a few seconds. The genuine newest UI renders, but nothing real is touched — no orchestrator, no worktree, no GitHub, no local paths.

Acceptance Criteria

  • Add a tiny demo harness (e.g. scripts/demo/run-grid-demo.ts) that builds a scripted SnapshotProvider for fictional #64: Add user authentication and feeds it to renderTui(), advancing phases spec → exec → qa → done with realistic nowLine/elapsed updates and a green success rollup at the end.
  • The synthetic snapshot contains no real local-machine data: fictional branch feature/64-user-auth, generic/relative log path, no real repo/org names, no usernames, no real issue numbers. Fictional #64 only.
  • Record the harness output as a GIF showing the boxed Ink TUI (not the plain indented renderer). Use VHS (docs/assets/*.tape) or asciinema; commit the source under docs/assets/.
  • Commit the rendered .gif under docs/assets/ (the binary must be committed — README.md ships verbatim to npm, so the embed needs an absolute/raw GitHub URL, not a CI-rendered relative path).
  • Embed the GIF near the top of README.md, replacing the placeholder at README.md:102 (> 📹 A recorded demo GIF … is coming — tracked in #695).
  • Update docs/assets/README.md to list the new harness/tape/gif.

Notes / context

  • Same setup to follow: the past GIFs (docs/assets/demo.tape, workflow.tape) are fully simulated VHS tapes using a fictional #123: Add user authentication. This issue keeps that privacy model (fictional issue, nothing real) but upgrades the rendered surface from hand-typed lines to the real boxed TUI driven by a fixture — because hand-authored Type "..." lines can't reproduce the boxed TUI's in-place redraws, spinner, and live elapsed timer. Standardize the fictional issue on docs(#7): document GitHub requirement and platform workarounds #64.
  • Driving the TUI: renderTui(provider) only ever calls provider.getSnapshot() at 10 Hz and unmounts when snapshot.done is true. The fixture just needs to return evolving RunSnapshot objects on a timer. Requires a TTY (process.stdout.isTTY); VHS provides one.
  • CI gap: the old .github/workflows/generate-gifs.yml was deleted in 103e453. Render locally and commit the .gif (simplest, and matches the npm-URL constraint) rather than relying on CI render.
  • npm constraint: README.md ships verbatim to npm — the embedded asset must resolve via an absolute/raw GitHub URL.
  • Relates to Video Production: Programmatic pipeline for Anthropic-quality demo video #337 (broader demo-video pipeline) but is intentionally scoped to a single README asset.

Activity

  1. added
    documentation
    on Jun 1, 2026
  2. added 2 commits that reference this issue on Jun 2, 2026
  3. changed the title [-]docs: record demo GIF/screenshot of the live run grid for README[/-] [+]docs: privacy-safe demo GIF of the newest boxed-TUI run grid (fictional #64) for README[/+] on Jun 12, 2026
  4. admarble commented on Jun 12, 2026

    @admarble
    ContributorAuthor

    Plan Complete (/fullsolve)

    AC Checklist

    • AC-1: Add demo harness scripts/demo/run-grid-demo.ts — scripted SnapshotProvider for fictional docs(#7): document GitHub requirement and platform workarounds #64: Add user authentication feeding renderTui(), advancing spec → exec → qa → done with realistic nowLine/elapsed + green success rollup
    • AC-2: Synthetic snapshot contains no real local-machine data (fictional branch feature/64-user-auth, generic relative log path, no repo/org/usernames, only fictional docs(#7): document GitHub requirement and platform workarounds #64)
    • AC-3: Record harness output as a GIF showing the boxed Ink TUI; commit VHS .tape source under docs/assets/
    • AC-4: Commit the rendered .gif under docs/assets/
    • AC-5: Embed the GIF near the top of README.md, replacing the placeholder at README.md:102
    • AC-6: Update docs/assets/README.md to list the new harness/tape/gif

    Implementation Plan

    1. Adapt the proven (gitignored) scripts/dev/tui-demo.tsx structure into a shipped, single-issue, privacy-safe harness scripts/demo/run-grid-demo.ts — fictional docs(#7): document GitHub requirement and platform workarounds #64, no baseSha, generic log path. Drives the real renderTui() via loadTui() (production React).
    2. Author docs/assets/run-grid.tape (VHS) that runs the harness via npx tsx and outputs run-grid.gif.
    3. Render run-grid.gif locally (VHS) and commit the binary under docs/assets/.
    4. Replace the README placeholder with a raw-GitHub-URL <img> embed (README ships verbatim to npm — needs absolute URL).
    5. Update docs/assets/README.md table + note the deleted CI workflow caveat.

    Ready to implement.

  5. admarble commented on Jun 12, 2026

    @admarble
    ContributorAuthor

    /fullsolve Complete

    Issue: #695
    Status: READY_FOR_MERGE (pending CI green)

    Summary

    Ships a privacy-safe demo harness that drives the real boxed Ink TUI with a synthetic snapshot for fictional #64: Add user authentication (spec → exec → qa → done, live spinner, elapsed timer, green success rollup), recorded as a committed GIF and embedded near the top of the README.

    AC Coverage — 6/6 MET

    • AC-1 — scripts/demo/run-grid-demo.ts drives renderTui() via loadTui(), fictional docs(#7): document GitHub requirement and platform workarounds #64, full phase progression + green rollup ✅
    • AC-2 — zero real-machine data (privacy-grep clean; fictional branch/log/base only) ✅
    • AC-3 — docs/assets/run-grid.tape committed; GIF shows the boxed TUI, not the plain renderer ✅
    • AC-4 — docs/assets/run-grid.gif committed (~133 KB) ✅
    • AC-5 — README placeholder at README.md:102 replaced with absolute raw-GitHub <img> embed ✅
    • AC-6 — docs/assets/README.md updated (harness/tape/gif + CI-render-removed note) ✅

    Quality

    • npm run build (tsc): green
    • Harness end-to-end render: clean exit, correct ✔ #64 teardown, boxed TUI verified from extracted frames
    • Privacy scan of all committed text artifacts: clean

    Iterations

    • Test loop: 0 (no browser/UI label; non-applicable)
    • QA loop: 1 (GIF polish — dropped command line, cropped empty space)

    PR: #729


    Ready for human review and merge.

  6. added 3 commits that reference this issue on Jun 12, 2026
  7. added 4 commits that reference this issue on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions