Skip to content

Native remote-bus client: select the Core connection at bootstrap - #1416

Draft
trissim wants to merge 2 commits into
mainfrom
feat/native-remote-bus
Draft

trissim wants to merge 2 commits into
mainfrom
feat/native-remote-bus

Conversation

@trissim

@trissim trissim commented Nov 2, 2026

Copy link
Copy Markdown

Native remote-bus client — implementation in progress

First checkpoint: 12 files, +46/-19. The app constructor's unconditional local CoordinationAccess(...) construction becomes one dispatch through the selected CoreConnection.

Current code

Before: both CLI paths and fixture producers pass a filesystem LaunchRoot directly to ToadApp; ToadApp always creates the local observer.

After: CoreConnection owns opening its transport's access. LocalCoreConnection inherits LaunchRoot and retains its existing path/launch behavior, supplying the local access constructor. ToadApp calls the connection. Both CLI paths, the common workspace fixture and its three application factories use the same constructor contract. Selected isolated observer fixtures preserve their real root values through that owner.

Still required on this PR

The remote connection/profile selection, MCP read transport, shared normal CommsChatView/WireSource page path and real remote-page acceptance remain to be implemented. This checkpoint does not provide a runnable remote UI and is not delivery of the native Termux target. No fake local root, proxy agent or copied Core bus is introduced.

Core prerequisites #3861 and #3884 have merged. The latter's actual captured-input carry/rollback passed with the credential lock held; its artifacts and installation scope are recorded on Core#3884.

Evidence

Source trace: CLI startup/ToadApp → CoreConnection.open_access → inherited LocalCoreConnection → unchanged CoordinationAccess local observation/selection lifecycle. All changed Python sources parse; diff whitespace check passes. Constructor searches cover src/tests/tools, including the top-row factory introduced by current main. Tests/application runs have not been executed for this checkpoint; no competing test/native/provider lane was started.

Assumed: local LaunchRoot path/argument semantics remain the existing contract; remote access will get its own real connection rather than borrowing a filesystem root. Physical Termux gesture and signer/backup acceptance remain separate from this client implementation.

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

debt-src at 52fdf78 passes.

@trissim
trissim force-pushed the feat/native-remote-bus branch from 6d1b01e to 52fdf78 Compare November 2, 2026 18:36
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