Skip to content

feat(claude): navigate and track subagent views from sidebar - #33322

Merged
OrcaWin merged 20 commits into
mainfrom
OrcaWin/richer-claude-sub-agents
Oct 26, 2026
Merged

OrcaWin merged 20 commits into
mainfrom
OrcaWin/richer-claude-sub-agents

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 31 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1932 $\color{#cf222e}{\Huge{\mathbf{−}}}$​31 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1901
Prod 73 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2302 $\color{#cf222e}{\Huge{\mathbf{−}}}$​126 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2176

Click a Claude child row in the desktop sidebar or dashboard to open its transcript in the existing terminal. Click the parent row to return to the main conversation. An eye indicator follows Claude’s reported view, including keyboard navigation and collapsed children.

Behavior

Navigation is on by default in new Orca panes with Claude status hooks enabled. No opt-in step is required. Settings → Agents → Claude subagent navigation is an opt-out; an explicitly saved off setting stays off. Existing Claude processes need a fresh launch to load the mod.

Parent clicks while already on main, clicks on the currently viewed child, and clicks without a current observation send no shortcut. Switching views preserves the composer draft; the indicator tooltip warns: click the parent to return; Esc stops the viewed subagent, and Enter sends the draft to that subagent.

Setup is asynchronous and serialized. Spawns read a cached plugin root without per-spawn HOME I/O. Only eligible local Claude launches with navigation and hooks enabled wait for setup, capped at 200 ms. Plain shells, other agents, disabled navigation/hooks, and WSL bypass this local service wait. If setup exceeds the budget, that pane may need respawning for navigation.

The authenticated bridge rechecks the session, PTY, registration, permission state, request expiry, and mobile input ownership before delivering a shortcut. Mod startup/render reporting is nonblocking. WSL uses guest-resident storage; updated paired hosts use their own storage and navigation setting. Older hosts safely decline navigation. Mobile child rows retain parent-pane navigation.

Compatibility with existing Claude mods and plugins

  • Existing plugins stay configured. Orca stores its mod in content-hashed Orca userData storage and loads it only into Orca panes through appended plugin paths and session-only --plugin-dir arguments. It does not rewrite enabledPlugins or install its mod into ~/.claude/skills. Legacy Orca-owned global installations are retired; unowned folders are preserved.
  • User plugin paths are preserved. Orca appends to CLAUDE_CODE_PLUGIN_DIRS. In the live Claude 2.1.309 probe, a settings.json env.CLAUDE_CODE_PLUGIN_DIRS overrode the process variable; the added --plugin-dir loaded Orca alongside those settings-provided plugins. Manually typed Claude or opaque wrappers need an explicit --plugin-dir when settings override the environment. With navigation off, the environment stays untouched except when stripping an inherited Orca-owned path.
  • One shared-config shortcut is added. Orca chooses an unused Ctrl+Alt+G, H, or V binding in the selected Claude config, including custom directories and account profiles. Existing bindings and JSONC comments are preserved. This shortcut entry is visible to non-Orca sessions sharing that config, even though the Orca mod itself does not load there. If no supported chord is free or the file is malformed, Orca leaves the bindings alone and navigation cannot activate.
  • User removals are respected. The per-config orca-agent-view.json marker records ownership. Disabling navigation or Claude hooks removes only the exact owned binding. Re-enabling restores bindings removed by Orca; user-deleted, edited, or reused bindings stay untouched.
  • Coexistence has practical limits. Orca passes session/render events through Claude’s hook chain and handles its own orca-agent-view command. Another mod can still intercept or deny command/view operations, and Claude’s customization policies can prevent loading. Arbitrary third-party mod combinations have not been live-tested, so this PR does not claim universal compatibility.

Claude Mods status

Claude Mods is a shipped, documented feature. Anthropic’s current overview says “Mods are on by default” in terminal Claude Code 2.1.287+; the former CLAUDE_CODE_ENABLE_FUNCTION_HOOKS early-access flag is ignored from that version onward.

This integration uses the documented mods API without patching the executable. Its $.ui.view operation was added in Claude Code 2.1.300, and live validation used 2.1.309. The authoring docs still warn that events and methods can change between releases, so API/version compatibility remains a requirement.

Validation

  • The README deletion passed both scoped check:changed checks after rebasing on main. The duplicate local full affected-test run was stopped after the complete CI test gate passed; it is not counted as a local pass.
  • Final head 460d050408d: the full PR Checks workflow and PR checks passed aggregate gate passed. At merge verification, 48 checks passed and 13 were skipped; the advisory Windows ARM inbox-SSH job was still provisioning its runner. All platform checks passed on the pre-rebase head 7ff64cffd99.
  • 157 focused tests across eight files passed. All 19 changed-file checks for the final fixture fix passed, including typechecking and affected tests. Localization catalog and coverage checks passed. Independent review has been requested for the default-on change.
  • Earlier live Linux Claude 2.1.309 checks covered real child/main switching, plain-text draft preservation, /clear, endpoint reconnection, and plugin-path precedence. Earlier hidden Electron/Playwright checks covered compact/full sidebar navigation and keyboard-driven indicators using an owned protocol fixture. These live checks were not repeated after the startup/cache and default-on changes.

Known limitations

  • An intentional child click can still deliver the shortcut into an open Claude dialog such as AskUserQuestion, plan approval, or /model; only permission state is guarded.
  • Navigation-off startup cleanup can miss an old owned shortcut in a config directory defined only in shell startup files before this process caches that directory. A later cache fill does not trigger another cleanup.
  • Old content-hash plugin directories are not pruned. The frequency of restored Claude panes missing the 200 ms setup budget has not been measured live.
  • Native macOS/Windows and remote feature click-through, attachment drafts, and all Claude modal variants remain unverified.

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
Walkthrough

The change adds Claude agent-view navigation from sidebar rows through a terminal RPC and a bridge to Claude hooks. It adds local and remote hook installation, shortcut management, session registration, request expiry and acknowledgment handling, and WSL relay forwarding. The terminal method checks current terminal and session state before triggering a view. Tests cover installation, bridge behavior, relay authentication, RPC state changes, and sidebar navigation.

Priority: Normal

Merge Risk: Low · up to 3d2fa

Claude navigation has several limited setup and usability gaps, but no broad outage or data-loss risk is established.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 11.76% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 17 functions across 32 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check Warning The description explains the user-facing behavior, implementation scope, compatibility details, testing, and known limitations. However, it does not follow the required template and omits the required… Rewrite the description using the repository template. Add an actual issue reference in the Fixes #... section, provide visual attachments or state N/A with a reason, complete the testing checkboxes and platform details, fill or explici…
Passed Passed checks: 3 passed
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly identifies the primary change: Claude subagent view navigation from sidebar rows, with tracking implied by the implementation.
Full details: Description check

Explanation

The description explains the user-facing behavior, implementation scope, compatibility details, testing, and known limitations. However, it does not follow the required template and omits the required Linked Issue, Visual Proof section or explicit N/A, Testing checklist, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist sections.

Resolution

Rewrite the description using the repository template. Add an actual issue reference in the Fixes #... section, provide visual attachments or state N/A with a reason, complete the testing checkboxes and platform details, fill or explicitly mark the AI Disclosure and Agent skill upstream boundary sections, add Review and Notes content, and complete the Checklist. Preserve the existing behavior, compatibility, validation, and limitation details where relevant.

Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3f3d896e-b541-4220-afb1-19d3dbfbd5b7
Commits

Reviewing files that changed from the base of the PR and between e8a18a0 and dcb4ade.

Files ignored due to path filters: 1
  • src/shared/rpc-contract/rpc-params-catalog.generated.ts is excluded by !**/*.generated.*
Files selected for processing: 31
  • docs/readme/claude-subagent-navigation.md
  • src/main/agent-hooks/server/server-lifecycle.ts
  • src/main/agent-hooks/server/server-status-hook-lifecycle.ts
  • src/main/agent-hooks/wsl-hook-relay-deps.ts
  • src/main/agent-hooks/wsl-hook-relay-link.ts
  • src/main/agent-hooks/wsl-hook-relay-manager.test.ts
  • src/main/agent-hooks/wsl-hook-relay-manager.ts
  • src/main/claude/agent-view-bridge.test.ts
  • src/main/claude/agent-view-bridge.ts
  • src/main/claude/agent-view-install.test.ts
  • src/main/claude/agent-view-install.ts
  • src/main/claude/agent-view-keybindings.ts
  • src/main/claude/agent-view-mod-source.test.ts
  • src/main/claude/agent-view-mod-source.ts
  • src/main/claude/hook-service.ts
  • src/main/claude/statusline-install.ts
  • src/main/runtime/rpc/methods/terminal-manifest-characterization.test.ts
  • src/main/runtime/rpc/methods/terminal.ts
  • src/main/runtime/rpc/methods/terminal/terminal-claude-agent-view-method.ts
  • src/main/runtime/rpc/terminal-claude-agent-view.test.ts
  • src/renderer/src/components/dashboard/DashboardAgentRow.tsx
  • src/renderer/src/components/sidebar/worktree-card-compact-agent-row.tsx
  • src/renderer/src/lib/claude-agent-row-view.ts
  • src/shared/claude-agent-view.ts
  • src/shared/rpc-contract/terminal-unary-params.ts
  • src/wsl-guest/agent-hook-request.ts
  • src/wsl-guest/agent-hook-server-contract.ts
  • src/wsl-guest/agent-hook-server.ts
  • src/wsl-guest/wsl-agent-hook-relay.test.ts
  • src/wsl-guest/wsl-agent-hook-relay.ts
  • tests/e2e/claude-sidebar-agent-view.spec.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

Comment thread src/main/claude/hook-service.ts Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments: 1
src/main/claude/agent-view-mod-source.test.ts: 1

93-104: Trivial · Functional Correctness · Quick win

Add a deferred take test for the in-flight session clear.

The current test runs session.end before command.run, so no take is in flight during the clear. The post-take identity recheck in command.run is therefore never the guard that stops the work. If that recheck is removed, this test still passes. A regression would call ui.view and post ack for a session that has already been cleared.

Hold the take response open, clear the session, then release the response. Assert that no ack is posted and that ui.view is not called.

Suggested fix
   let sessionId = 'session-before-clear'
   let heartbeat: (() => Promise<unknown>) | undefined
+  let blockNextTake = false
+  let takeStartedResolve: (() => void) | undefined
+  let takeReleaseResolve: (() => void) | undefined
   const posts: { action: string; sessionId: string; instanceId: string }[] = []
@@
         const body = JSON.parse(options.body)
         posts.push(body)
+        if (body.action === 'take' && blockNextTake) {
+          blockNextTake = false
+          takeStartedResolve?.()
+          await new Promise<void>((resolve) => {
+            takeReleaseResolve = resolve
+          })
+        }
         return {
@@
   await invoke('session.start', { isInteractive: true, surface: 'terminal' })
   expect(posts.at(-1)).toMatchObject({ action: 'register', sessionId })
   const firstInstance = posts.at(-1)?.instanceId
+  const takeStarted = new Promise<void>((resolve) => {
+    takeStartedResolve = resolve
+  })
+  blockNextTake = true
+  const pendingCommand = invoke('command.run')
+  await takeStarted
   await invoke('session.end', { reason: 'clear', sessionId })
+  takeReleaseResolve?.()
+  await pendingCommand
   await heartbeat?.()
   await invoke('command.run')
   expect(posts.at(-1)?.action).toBe('end')
+  expect(posts.filter(({ action }) => action === 'ack')).toHaveLength(0)
   expect(view).not.toHaveBeenCalled()

Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d11b954e-c24b-465e-8e5a-45286e5f5220
Commits

Reviewing files that changed from the base of the PR and between dcb4ade and 12fa96a.

Files selected for processing: 1
  • src/main/claude/agent-view-mod-source.test.ts
Files skipped from review as they are similar to previous changes: 1
  • src/main/claude/agent-view-mod-source.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@OrcaWin
OrcaWin requested a review from brennanb2025 as a code owner October 25, 2026 02:14

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

⚠️ Outside diff range comments (1)

Minor · Track the binding installed by Orca before removing it. · agent-view-install.ts:43-45

src/main/claude/agent-view-install.ts:43-45
🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

Track the binding installed by Orca before removing it.

removeClaudeAgentView removes every command:orca-agent-view entry from every block. Installation writes the ownership marker even when it reuses an existing Chat binding. Uninstall therefore can delete a user’s existing Chat binding or a matching binding in a non-Chat block.

Store the installed context and chord in the marker. Remove only that exact binding. Store no binding when installation reuses an existing one.

Suggested fix
-          ([, action]) => action !== `command:${CLAUDE_AGENT_VIEW_COMMAND}`
+          ([chord, action]) =>
+            !(
+              marker.binding?.context === block.context &&
+              marker.binding.chord === chord &&
+              action === `command:${CLAUDE_AGENT_VIEW_COMMAND}`
+            )

Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7cbac08d-6cf7-41a7-9c5a-87d03f697f1b
Commits

Reviewing files that changed from the base of the PR and between 12fa96a and 21ca90a.

Files selected for processing: 1
  • tests/e2e/claude-sidebar-agent-view.spec.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 62382dc3-77e1-488f-9f66-e376509de0e2
Commits

Reviewing files that changed from the base of the PR and between 03ef8bf and 3d2fa33.

Files selected for processing: 4
  • src/main/agent-hooks/managed-hook-script-refresh-main-thread.test.ts
  • src/main/claude-accounts/claude-profile-setup-worker.test.ts
  • src/main/claude/agent-view-install.ts
  • src/main/claude/hook-service.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.

Comment thread src/main/claude/hook-service.ts Resolved
@OrcaWin

OrcaWin commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator Author

Implemented both follow-ups in b3e639c. Parent clicks use the current pane identity and supersede a pending child selection. The eye and row highlight follow Claude’s actual displayed transcript, including native keyboard switches; collapsed children and compact group summaries retain an indicator.

Validated live on Linux with Claude Code 2.1.309 (main → child and child → main through native keys, draft preserved). The screenshots below come from the hidden Electron protocol-fixture test, which exercises real sidebar clicks, RPC/PTY delivery, independent view reports, and both row layouts. Live Claude and rendered Orca were tested separately.

Local checks: 79 focused tests across 11 files; full lint and typechecks; changed-code/design-system checks; E2E typecheck ratchet; and the rebuilt hidden Electron test passed. The full E2E typecheck retains its existing 221 grandfathered diagnostics. All CI checks passed on 67e29a8, including all five unit shards, the changed Electron E2E spec, static analysis/typechecks, cross-version wire compatibility, packaging, mobile, WSL, and Windows host checks. The follow-up test commit updates terminal RPC manifest characterization for the added observation stream.

Main agent marked as currently viewed

Eye follows the displayed child transcript

Collapsed parent retains the viewed child name

@OrcaWin OrcaWin changed the title feat(claude): open subagent views from sidebar rows feat(claude): navigate and track subagent views from sidebar Oct 25, 2026
@OrcaWin

OrcaWin commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator Author

Addressed the review feedback in bf38b04, including the two comments outside inline threads:

  • Uninstall now removes only the context/chord recorded as installed by Orca. Reinstall preserves that record; reused user bindings, other contexts/chords, and legacy installations without binding ownership metadata are preserved. Local and remote installation share the ownership logic.
  • The session-clear regression now holds a take response open, clears the session, and releases the response. It verifies that the old command neither switches the view nor sends an acknowledgement.
  • Empty/invalid mod replies, optional local/remote install failures, profile refresh, and quiet parent-row failures are fixed in the inline threads.

Validation: 65 tests passed across 7 files (5 platform-specific skips), full node/web/CLI typechecks, changed-code quality/design-system checks, commit hooks, and git diff --check. Fresh CI is running for this push.

@OrcaWin

OrcaWin commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator Author

Addressed both blockers in 0812b57.

  1. Removed global mod installation/refresh. New setup is off by default and requires Settings → Agents → Claude subagent navigation. Mod code is content-versioned under Orca-owned storage, with scoped environment/CLI loading. The per-config ownership record remembers shortcut deletion or edits. Owned legacy skill installs are retired across the default config, profiles, and SSH/WSL hosts; malformed keybinding cleanup is deferred without retaining a global mod. WSL uses guest storage.
  2. The bridge sends no shortcut without an observed view, for main→main, or for a click on the currently viewed child. It rechecks the observation before terminal delivery. Unit tests cover these cases and keyboard changes racing delivery; the rendered sidebar test also verifies repeated parent/child clicks produce no extra input.

Also addressed the Esc/draft tooltip, nonblocking startup/render posts, missing pane guard, command error containment, empty Chat-block cleanup, actionable shortcut diagnostics, and Windows config-path resolution through a host-provided hint. The actual session’s CLAUDE_CONFIG_DIR takes precedence if shell startup changes it.

Precedence was verified with isolated Claude 2.1.309: settings.json env overrides process env, so appending the environment alone is insufficient. --plugin-dir successfully loads the generated Orca mod alongside the settings-provided plugin without editing settings.json.

Validation: 183 focused tests passed (5 platform skips), subsequent focused migration/WSL tests passed, all three typechecks and code-quality checks passed, and the isolated-display Electron sidebar test passed. Native Windows/macOS live navigation and all modal variants remain unverified.

@OrcaWin

OrcaWin commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator Author

Addressed round-2 items 1–3 in cb77b7e.

  1. Disabling navigation now removes the exact recorded owned shortcut. Its marker records Orca’s removal so re-enabling restores it; manually deleted/edited or reused user bindings stay untouched. Cleanup also handles repaired malformed JSONC and WSL revocation.
  2. Disabled panes leave CLAUDE_CODE_PLUGIN_DIRS absent if it was absent. Live, auth-free testing with Claude 2.1.309 and isolated config/plugins confirmed that settings env.CLAUDE_CODE_PLUGIN_DIRS wins over process env. With --plugin-dir, both the settings plugin and Orca plugin load. The environment append remains for manually launched Claude when settings do not override it.
  3. Setup moved out of the PTY spawn path into a serialized async service initialized at startup and updated on settings/profile changes. Duplicate reconciliation coalesces, legacy cleanup shares the config queue, and spawns use a cached plugin root. A filesystem-recorder regression verifies no synchronous HOME I/O through setup, disable, and cache reads.

Also addressed localization and marker documentation, and stopped applying executable permissions to plugin JSON. Modal-state detection and pruning directories retained by live panes remain unchanged.

Validation: 1,719 tests passed, 3 platform skips; Node/renderer/CLI typechecks, changed-code quality, localization extraction/catalog checks, and commit hooks passed. The regression suite includes off/on transitions, hand-deleted/edited/reused bindings, malformed JSONC recovery, default/account homes, concurrent settings updates, paired-client settings, cached spawns, and WSL.

@OrcaWin

OrcaWin commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator Author

Updated the branch through current main and resolved the two WSL conflicts in 7ea274b, preserving main’s checked response parsing plus Claude’s guest paths and navigation tests. The final head is d1ff0ff, which also completes runtime localization entries for the search keywords.

After merging main: 69 focused WSL/setup tests and all three typechecks passed. CI on the final head has passed the full five-shard unit suite, relay integration, static analysis/typechecks, Node 18 managed hooks, changed E2E specs, both managed SSH E2E shards, and Linux/Windows packaging. Longer host-integration checks are still running, with no failures reported. Duplicate local affected-test runs were stopped after the equivalent CI suite passed; their localization finding was fixed and revalidated.

@OrcaWin

OrcaWin commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator Author

Addressed the round-3 startup regression in 079ffe9, with test follow-ups in cd194c7 and a56516c.

  • Both local and daemon-backed spawn paths bypass reconciliation unless this is an opted-in local Claude launch with Claude status hooks enabled. Eligible launches wait at most 200 ms and use the cached plugin root if available.
  • Disabled reconciliation uses the process config directory, the custom config, known directories, and account profiles without probing a login shell.
  • Actual PTY-spawn regression tests cover plain shells while reconciliation remains pending, with navigation both off and on. Service tests cover disabled cleanup and the Claude-launch timeout.
  • Fixed-clock mod/RPC tests satisfy the new CI ratchet. Startup/settings fixtures isolate navigation cleanup from real user configuration.

Validation on a56516c: 45 focused tests, all three typechecks, and 19 follow-up handoff checks pass. All five CI unit-test shards and the PR aggregate gate passed. Six additional Windows/WSL jobs are still running, with no reported failures.

The PR description and navigation documentation describe the bounded wait and fallback.

@OrcaWin

OrcaWin commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator Author

Addressed both round-4 low notes in 108b93d; documented the accepted round-5 limitation in 0ba47b4.

  • Disabled cleanup adds the cached login environment's config directory alongside process/custom/profile directories. The cache-only read starts no shell and does not wait for an in-flight probe.
  • A real-cache/filesystem test verifies that a fresh disabled service removes the owned shortcut from a config directory supplied by the shell and records setup as pending.
  • Direct readiness tests cover non-Claude agent precedence, WSL, navigation off, global hooks off, and Claude opt-out while reconciliation stays pending, with no timer created.
  • The docs and PR description explain that the cache is per process: a directory not yet captured can be missed, and filling the cache alone does not trigger cleanup.

Validation: 29 focused tests and all 20 changed-file handoff checks passed. The independent round-5 review reported no blocking or should-fix findings and passed 34 tests. On the final head 0ba47b4, fresh CI static analysis, typechecks, all five unit-test shards, SSH integration tests, and the PR aggregate gate passed. Additional platform jobs are still running, with no reported failures.

@OrcaWin

OrcaWin commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator Author

Final independent review at 0ba47b4: CLEAN, no further changes requested. The reviewer confirmed that all blockers and should-fix findings from rounds 1–5 are resolved and that the accepted cache limitation is documented accurately.

Final CI: 49 checks passed, 13 skipped, none failed or pending. The Windows ARM inbox-SSH file-lock failure passed on the failed-jobs-only retry of run 40177193762, attempt 2, with no code change. GitHub reports the same reviewed head as mergeable with merge state CLEAN.

All 20 local handoff checks passed. The focused implementation run passed 29 tests; the independent reviewer passed 34 tests in round 5.

@OrcaWin
OrcaWin force-pushed the OrcaWin/richer-claude-sub-agents branch from 0ba47b4 to c524c5e Compare October 25, 2026 19:23
@OrcaWin
OrcaWin force-pushed the OrcaWin/richer-claude-sub-agents branch from 7ff64cf to 460d050 Compare October 26, 2026 01:38
@OrcaWin
OrcaWin merged commit 1ff73e8 into main Oct 26, 2026
62 checks passed
nwparker added a commit that referenced this pull request Nov 6, 2026
Claude launches now get --plugin-dir prepended (subagent navigation, #33322),
so the stand-in read '--plugin-dir' as its marker path and the spec never saw
the detached child. Route the spec on descendant-kill and Claude launch-flag
sources.
nwparker added a commit that referenced this pull request Nov 6, 2026
#39201)

Claude launches now get --plugin-dir prepended (subagent navigation, #33322),
so the stand-in read '--plugin-dir' as its marker path and the spec never saw
the detached child. Route the spec on descendant-kill and Claude launch-flag
sources.
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