Skip to content

fix(cockpit): reset token readout + stop sim on template switch - #28

Merged
crbazevedo merged 1 commit into
mainfrom
fix/cockpit-template-switch-reset
Jun 17, 2026
Merged

fix(cockpit): reset token readout + stop sim on template switch#28
crbazevedo merged 1 commit into
mainfrom
fix/cockpit-template-switch-reset

Conversation

@crbazevedo

Copy link
Copy Markdown
Owner

Switching templates left a stale empirical-vs-C_op readout (contradicting the new banner) and let the token animation loop run on into the next template. loadTemplate now stops the sim and resets the readout. Caught during the flagship masterclass video.

🤖 Generated with Claude Code

Loading a template left the previous run's "empirical vs C_op" readout on screen
(stale, contradicting the new graph's banner) and let the token animation loop
keep running into the new template. loadTemplate now stops the sim, clears
simTokens, and resets the readout prompt. Caught during the flagship deep-dive.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@crbazevedo
crbazevedo merged commit dd6e798 into main Jun 17, 2026
4 checks passed
@crbazevedo
crbazevedo deleted the fix/cockpit-template-switch-reset branch June 17, 2026 22:57
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