Files
hermes-agent/apps
brooklyn! 03add1fe7a fix(desktop): keep root-only project chats out of Home
A session row with an empty cwd but a persisted git_repo_root fell to Home:
_project_for_session bailed on the empty cwd before matching the repo root,
and _place_session refused to place it, so the backend owner map made Home
the chat's single owner while the renderer (root-aware) still labeled it with
its project. Match and place on cwd, else git_repo_root; a row is homeless
only when it has neither, matching the renderer's isDetachedSession.

Entered Home's live overlay also upserted every briefly-detached live row
without consulting the authoritative owner map, so a named-project chat whose
session.info landed with an empty cwd listed in Home as well. overlayHomeLane
now takes the owner map from overlayLiveLanes and skips rows (by id or
lineage root) owned by a named project.

Refs #77591 (symptom D, entered-project refetch lag, is not addressed).

Co-authored-by: networthexplained <300128320+networthexplained@users.noreply.github.com>
2026-09-24 04:31:47 -05:00
..