Repository navigation
Show phone subagents and open the correct parent chat - #28686
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to
|
* Show running subagents beneath phone worktree agents * Scope phone child clocks and stabilize catalog summaries * Keep catalog request provenance private * Show phone child ages using existing parent timing policy * Fix phone child navigation test typecheck
|
The phone worktree list hid running subagents, and a phone link could select the wrong native chat when its saved tab ID differed from its session address. This combined PR now lists running children beneath their parent and opens that parent's existing chat or terminal on a child tap. #26423 was reviewed and squash-merged into this branch; this PR is the combined delivery. Review: converged on CI passed on Native QA: exact-head Metro JavaScript in native iOS development client 0.0.51, application-only reuse, repository mock-host data. Both named running children appeared under the Project-grouped parent. The recorded tap at normalized The earlier immediate blank-terminal image has no retained later frame, so its later paint state cannot be determined. The new timed captures prove painting in this run only. No live provider, live native-chat notification, rendered SSH/server/Linux/Windows, VoiceOver or large-roster performance claim is made; relative ages retain the parent clock limitations. Deferred P2: child actions share the workspace's nested-action accessibility structure; independent VoiceOver focus remains unverified. The separate follow-up brief is For Brennan's review: compare the historical main parent-only list with the refreshed exact-head list and child-tap result below. The intended phone behavior is selecting the existing parent without creating a new tab. Source judgment points: canonical host child join, shared card gate, and matching a restored native parent. Historical main 80f, mock-host parent only: Current dac7 head, mock-host parent plus two running children: Actual child-one tap opens existing parent; terminal text painted at about 2s: Settled at about 7s: |




ELI5
The phone worktree list hid running subagents that desktop already showed. A phone link could also select the wrong native chat when the chat's saved tab ID differed from its session address.
Running subagents now appear beneath their parent with their name, activity and age. Tapping a child opens its existing parent chat or terminal, including native chats restored with a different saved tab ID.
What Changed
This PR combines the subagent feature reviewed in #26423 with its parent-navigation prerequisite. Child facts come from the host's existing shared tracker and saved per-subagent records, using the desktop's running-child selector. Child-only changes update the affected row and catalog response; unchanged rows and responses retain their existing savings. Optional fields preserve older hosts and phones.
The existing pane resolver also matches a native chat's full session address to its actual listed tab. A missing parent leaves the current selection in place and creates no tab. Links without a pane target keep their current behavior.
Since round 1, the child data was rebuilt around main's shared machinery, the clock-offset sample was removed, and tests were reduced to the main path, older-peer contracts and confirmed bugs. Child ages use the existing parent formatter and have the same cross-machine clock limitations. The latest authorized merge retains main's Project grouping, shared filters, sorting and host visibility. Main's Workspace options control the whole parent-and-child block: Full list shows every parent, while hiding inline agents hides the block under main's card-layout rules.
Why
The common pattern gives the execution host ownership of child identity and lifecycle, derives displayed rows from those facts, and reuses existing navigation. This adds no second tracker, saved roster, transport operation or timer. Phone workspace child rows opening their parent are the intended desktop-parity behavior requested for Orca.
Linked Issue
Subagent feature reviewed in #26423; the native parent-navigation prerequisite is included here.
Visual Proof
All phone images use the repository's mock-host data in a real native iOS development client. The native application binary is version 0.0.51, reused as an application bundle only; no application data, preferences or keychain were copied. The latest screenshots load JavaScript from the exact merged head through Metro.
Historical before, main 80f038e, parent only:
Merged head
dac7bd8b8f3: parent and two running children in Project grouping (mock-host data):An actual tap on child one at normalized
(0.400, 0.250)opens the existing parent zsh tab. At about two seconds, the mock terminal text is already painted:The same tab still shows painted output at about seven seconds:
Testing
CI passed on
dac7bd8b8f37353c9536f1bc5d894f866ae42dec: 19 successful checks, 14 conditional skips, zero failed, cancelled or pending checks. The single blocking watch exited 0. Root CI, Mobile verification and Ubuntu persistence passed. This includes all five unit shards, relay integration, cross-version wire compatibility, static analysis/typecheck, mobile web bundling, both packaging jobs and the final aggregate/evidence checks. The inherited main line-limit failure from the previous head was repaired upstream before this authorized merge; no unrelated fix or suppression was added here. GitHub reports CLEAN/MERGEABLE, out of draft, zero unresolved review threads and no auto-merge request.On this merge, two focused mobile files passed all seven tests. They cover Summary/Full list child display and parent taps, plus a child-only update re-rendering one workspace. The inherited Full list test was adapted to the existing actual-row harness; the child-only render assertion follows main's updated zero-argument mock. No local lint/typecheck/install or desktop rig was run for this integration. Both lockfiles match the frozen main parent.
Verified on this exact merged head: a native iOS Project-grouped list with the parent and both named running children, an actual child-one tap opening the existing parent zsh tab, and painted terminal text in captures taken at about two and seven seconds. The coordinator inspected all original PNGs and the recorded tap trace. Captures used an owned iPhone 17 Pro Max/iOS 26.5 simulator, removed afterward. Workspace options opened and dismissed without changing settings; Full list and hiding inline agents were not exercised in rendered phone QA; source review and the focused Full list test cover those combinations. An initial private fixture label error was corrected before accepted captures; no product change resulted. Owned services, device, copied application and private fixture were cleaned up.
Not verified: live provider delivery, live native-chat notifications, rendered SSH/server/Linux/Windows flows, VoiceOver or performance at large/deep child counts. The earlier immediate blank-terminal image has no retained later frame, so it does not establish whether that old blank persisted. The new timed captures establish painting only for this run.
Review
The full feature loop in #26423 covered host-owned child delivery, old-host/old-phone contracts, child-only row/catalog changes, parent selection, architecture, performance and readiness. The navigation prerequisite was independently reviewed before combination. Fresh source reviews checked both subsequent authorized main integrations. Codex gpt-6.1-sol xhigh accepted final head dac7bd8 with no new P0/P1/P2. The latest review checked main's card controls, canonical host child join, incoming nested-agent handling, health, read-only handling and exact-parent selection. This narrow integration review did not restart the full feature loop.
Deferred P2: child actions retain the workspace's nested-action accessibility structure, so independent VoiceOver focus is not established. The separate follow-up brief is
/Users/brennanbenson/orca-qa/pr-phone-worktree-subagent-rows/phone-workspace-accessibility-followup.md; the original finding remains in the feature review status. No open P0/P1 remains.Agent skill upstream boundary
Checklist