Files
loki/scripts
CatoandClaude Opus 5.5 14cd5ae93c fix(terminal): a parallel run's tab reads as its project, and its rail finds its run (#911)
Since #900 an extra concurrent run gets the tab alias <project>~<runId8>.
The terminal context matched tabs to projects by raw name, so the alias
matched nothing: the strip, page header and composer showed
"skif~d0a14b69", and the Loki rail said "No run on skif~d0a14b69 yet"
beside an agent nine minutes into its work (2026-09-25).

- terminal context resolves tabs via baseProjectKey (the run-tab SSOT)
- getLatestRunForProjectKey understands a lane tab: base project AND the
  run its suffix names (runLaneOfTab), so parallel lanes don't swap runs;
  a malformed suffix is rejected, never a LIKE wildcard
- the strip labels a lane "Skif · parallel", with the alias in the tooltip

Tests: run-tab (lane parse, malformed suffixes, context uses the SSOT).

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 05:12:11 -07:00
..
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00