Skip to content

Demo: surface the streaming win with tighter Beat 2 timing - #13

Merged
FrancoisChastel merged 1 commit into
mainfrom
feat/cli-redesign-recall
Jun 17, 2026
Merged

Demo: surface the streaming win with tighter Beat 2 timing#13
FrancoisChastel merged 1 commit into
mainfrom
feat/cli-redesign-recall

Conversation

@FrancoisChastel

Copy link
Copy Markdown
Owner

The streaming hot path landed ,, at ~1.3s end-to-end on the fast tier, down from ~5-10s. The previous demo still slept 9s during Beat 2 — the speed win was invisible.

Sleeps tightened

Before After What
1500ms 1200ms between the typo'd find and ,,
800ms 700ms between ,, and Enter
9000ms 3500ms hold the diagnosis + dropped fix on screen
3000ms 2500ms run the fix, show `./build.py`

Demo length: 91.6s → 84.9s (-6.7s, -7%).

Beat 2 now plays at roughly the rhythm a real user experiences: the diagnosis line lands on stderr and the corrected command lands on the prompt within ~1.3s of pressing Enter. The 3.5s display window leaves time for the audience to read both before the demo presses Enter again to run the fix.

Added a comment block in the tape explaining the streaming model — the diagnosis and corrected command appear together once the model emits the first complete `{command, note}` object plus a non-Uncertain diagnosis.

What didn't change

  • Same beat structure
  • Same fix outcome (`./build.py` prints)
  • Same fonts, theme, three-tier showcase, Docker recall

The streaming hot path landed `,,` at ~1.3s end-to-end on the fast
tier, down from ~5-10s. The previous demo still slept 9s during Beat
2 — the speed win was invisible.

Tightened:
  Sleep 1500ms → 1200ms   (between typo'd command and `,,`)
  Sleep 800ms  → 700ms    (between `,,` and Enter)
  Sleep 9s     → 3500ms   (display the diagnosis + dropped fix)
  Sleep 3s     → 2500ms   (run the fix, show output)

Total demo length: 91.6s → 84.9s (-6.7s, -7%).

Added a comment block to Beat 2 explaining the streaming model —
the diagnosis and corrected command appear together once the model
emits the first complete {command, note} object plus a
non-Uncertain diagnosis. The 3.5s display window gives the audience
time to read both lines before the demo presses Enter.

No story changes; same beats, same fix outcome (./build.py prints).
@FrancoisChastel
FrancoisChastel merged commit d234312 into main Jun 17, 2026
2 checks passed
@FrancoisChastel
FrancoisChastel deleted the feat/cli-redesign-recall branch June 17, 2026 02:18
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