fix(context): derive project from explicit projects array, not cwd

When a caller (e.g. worker context-inject route) passes a `projects`
array without a matching cwd, the cwd-derived `context.primary` drifted
from the projects being queried — producing an empty-state header for
one project while querying another. Use the last entry of `projects` so
header and query target stay in sync.
This commit is contained in:
Alex Newman
2026-04-16 17:16:51 -07:00
parent 148e1892df
commit 3869b083d0
3 changed files with 7 additions and 4 deletions
File diff suppressed because one or more lines are too long