Skip to content

fix(threads): keep linked subagents visible across projects - #1227

Merged
nixuuu merged 2 commits into
devfrom
fix/linked-thread-project-visibility
Nov 24, 2026
Merged

nixuuu merged 2 commits into
devfrom
fix/linked-thread-project-visibility

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 24, 2026

Copy link
Copy Markdown
Member

A project thread on one computer could spawn a subagent in No project on another computer, then show an empty Lineage panel. The web thread page filtered out every other project before reading parent IDs. Closing the subagent also dropped its metadata from the next sidebar snapshot.

Changes

  • Resolve the parent and its children from the owner-wide thread index. The existing Subagents disclosure and active tray now work across projects. The parent's sidebar row includes activity and questions from children on other workers when filters are active.
  • Retain archived linked thread children and their result previews in sidebar reads, including mirror reads and overview reconnects. Historical spawn cards resolve the child ID on the computer viewing the transcript.
  • Resolve shared project IDs against the destination workspace during linked spawns, including the per-computer scratch project.

Verification

  • Two-gateway integration tests exercised a project-to-scratch spawn with different local project IDs, archive and reconnect, the offline mirror index, and the transcript card on the child's computer.
  • Focused web tree and shared sidebar tests passed. Targeted lint and diff checks passed.
  • Checked navigation in Chromium at 1600 px and 390 px using fixture API responses for both gateway perspectives, including archived children and the parent's project filter.
  • The full repository gate runs in CI.

Fixes: #34

Resolve lineage from the owner-wide index, carry linked children in the sidebar snapshot after close, and route historical spawn cards in the viewing computer’s ID space. Resolve a shared project against the selected remote workspace during spawn.

Fixes: #34
@nixuuu
nixuuu enabled auto-merge (squash) November 24, 2026 14:40
@nixuuu
nixuuu merged commit 512b7d2 into dev Nov 24, 2026
20 checks passed
@nixuuu
nixuuu deleted the fix/linked-thread-project-visibility branch November 24, 2026 14:56
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