A workspace keeps its terminals when it changes branch, so a terminal match
alone returned the old branch's snapshot under the new branch's header. The
stored branch now has to match as well. Fixes Code review's finding on
panel/template.html:917-922.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Entire-Checkpoint: 01M69H4XE3FZHV6XSM1509CW9A