Skip to content

docs(mobile): choose shared Tauri targets (M0) - #381

Closed
Facilier wants to merge 2 commits into
feat/mobilefrom
docs/mobile-architecture
Closed

Facilier wants to merge 2 commits into
feat/mobilefrom
docs/mobile-architecture

Conversation

@Facilier

Copy link
Copy Markdown
Collaborator

M0: ADR-0066 chooses Android/iOS targets in the existing Tauri project, one shared React UI, native platform identity and mobile capability restrictions. Documents Android Linux CI, deferred iOS CI/signing, and the S2/S4 security boundary. No application code changes. Base is feat/mobile, created from feat/desktop-app at c5e8376; this does not target main or alter the stabilization freeze.

Verified on Windows (76b49d4): native cargo fmt --check, cargo clippy --locked --all-targets -- -D warnings, cargo test --locked (31 passed); UI pnpm typecheck, pnpm test (32 passed), pnpm build, pnpm check:version (0.1.8); cargo xtask check --base feat/mobile (passed). The clone uses upstream rather than origin, so the default origin/main gate needed an explicit base. Initial sandboxed native builds could not access the Windows compiler; reruns with SDK access passed. Existing dependency warnings and the existing >500 kB UI chunk warning remain.

Not tested: 375×812/1280×800 previews, Android emulator/device or iOS; M0 changes documentation only. No mobile builds or remote-access implementation are claimed.

Maintainer proposals: implement and merge S2/ADR-0015 enrollment and S4 TLS separately before M3/M4. Mobile will never import the loopback token, expose non-loopback HTTP, or add a relay/push service. No engine/protocol changes are included.

Open questions for maintainers:

  • Confirm the same-project structure and hidden host-only capabilities in ADR-0066?
  • Which macOS runner and Apple developer team will own iOS scaffolding/signing?
  • Who owns S2 and S4, and where should their eventual contracts be tracked?

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-21T20:11:35.469950Z
We couldn’t complete this review. Comment @codex review to try again.
72d42b8 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 76b49d437f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +68 to +69
and transport prerequisites land. M3/M4 cannot proceed until maintainers merge
S2 and S4 respectively. No loopback bearer token is exported to a phone, no

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Gate remote use on a workspace catalog

When a newly enrolled phone does not already know an absolute path on the host, S2 and S4 are insufficient to open any workspace: TuiClient::start requires a PathBuf, bootstrap_tui immediately calls resolve_workspace, and the current server exposes resolve/snapshot/events but no workspace-listing route. Because this ADR also hides the local folder picker, the mobile client has no way to select the “remote servers and their workspaces” promised above. Add the workspace catalog and configured-root work (the retired plan's S5/S6 or an equivalent contract) as a prerequisite, or define another bounded way for mobile to obtain a remote workspace.

Useful? React with 👍 / 👎.

@lg2m
lg2m marked this pull request as draft October 21, 2026 03:05
@Facilier
Facilier marked this pull request as ready for review October 21, 2026 20:11
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@Facilier
Facilier force-pushed the docs/mobile-architecture branch from 72d42b8 to 5baf3a9 Compare October 24, 2026 00:03
@Facilier
Facilier deleted the branch feat/mobile November 3, 2026 17:56
@Facilier Facilier closed this Nov 3, 2026
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