Phase 1 — Review/Reflect (Iteration 2)

Phase 1 — Review/Reflect (Iteration 2)

Reflection on Iteration 1

What worked — carry forward:

Assumptions to revisit for the new scope:

Carried-forward items: none — iteration 1's deferred adversarial checks were closed by direct user verification in iteration-1/verify.md.

New requirements (this iteration)

# Requirement Reading
R6 Teach each algorithm Richer per-algorithm explanation than the current one-line caption
R7 Highlight the differences between them Comparative teaching — what makes each distinct
R8 Step-by-step pseudocode execution during the demo, toggleable Pseudocode per algorithm with the active line highlighted, synced to the live race; on/off

Constraints (unchanged): single self-contained .html, fully offline, no dependencies, no innerHTML/eval. New UI must not regress the iteration-1 acceptance criteria.

Scope shift

Iteration 1 was show the race. Iteration 2 is explain the race: narration/teaching content, explicit difference-highlighting, and a synced pseudocode tracer. This is additive — the existing demo must keep working with the new features toggled off.

Gaps / ambiguities to resolve in Brainstorm

Candidate approaches (for Brainstorm to settle)

No code this phase. These trade-offs — especially display mode and highlight granularity — are exactly what Brainstorm should resolve interactively.