Skip to content

fix(remote): improve Claude responsiveness and shared control recovery - #51

Merged
muggle-stack merged 3 commits into
masterfrom
fix/codex-shared-socket
Sep 27, 2026
Merged

muggle-stack merged 3 commits into
masterfrom
fix/codex-shared-socket

Conversation

@muggle-stack

Copy link
Copy Markdown
Owner

Slow Claude startup and context requests, together with stalled WebSocket cleanup, could delay unrelated sessions. This change keeps command handling responsive while retaining per-session order, reliable command receipts, and the native interrupt/drain boundary.

  • Schedule bounded commands independently per session, move blocking CLI preflight and native startup off shared execution paths, and isolate relay sends and slow-client cleanup.
  • Give Claude Stop a single recovery owner and preserve its deadline across background handoff. Display an unconfirmed stop as a timeout instead of implying successful interruption.
  • Accept protected native Codex socket aliases in Shared launch and App discovery using the existing account, ownership, and permission checks.
  • Restore animated subagent activity and per-agent process expansion, initialize BTW model selection from its parent, and prevent a closed settings dialog from blocking the main composer / shortcut.

Validation

All required local checks passed against 609c73b:

  • Full pytest: 5072 passed, 4 skipped (327.69 s). The test process excludes inherited launchd XPC_SERVICE_NAME so it does not load the live account registry.
  • Ruff 0.15.13: ruff check cc_remote tests deploy.
  • Node 24.21.0: Web build, test:reliability, and lint.
  • bash -n for the four deployment entry scripts; shellcheck -x for those scripts and setup_transaction.sh.
  • git diff --check.

These automated checks do not call a live model. Playwright is not part of the required PR gate.

- Accept protected native Codex socket aliases in Shared launch and App discovery while preserving account and permission checks.
- Keep one owner for Claude Stop recovery and retain the original drain deadline when handing off background work.
- Distinguish stop confirmation timeouts from confirmed interruptions in live and historical messages.
- Add regression coverage for socket aliases, recovery races, and stop timeout presentation.
- Validate the unchanged deployed snapshot with the full local gate: 5036 pytest tests passed, 4 skipped, plus Web, lint, and shell checks.
- Share the animated working sparkle across agent engines.
- Show a completion sparkle after successful agent runs.
- Keep process disclosures interactive and scoped to each agent.
- Schedule bounded commands per session while preserving lifecycle order and reliable receipts.
- Isolate native startup, relay sends and slow client cleanup from unrelated sessions.
- Initialize BTW model selection from the parent and unblock the main composer shortcut when settings are closed.
- Cover startup, interruption, command ordering and relay isolation regressions.
@muggle-stack
muggle-stack merged commit 336236b into master Sep 27, 2026
2 checks passed
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.

2 participants