Skip to content

Support or disable the iOS Same Network setup path #2

Closed

Description

@codepilotios

Setup path

iOS first launch > Gateway connection > Same Network, plus the default Mac gateway LaunchAgent.

Friction

The iOS app offers Same Network, but the default Mac gateway scripts start the server on 127.0.0.1:18790. A physical iPhone cannot reach the Mac loopback listener over Wi-Fi. Entering 127.0.0.1 points at the iPhone itself, and entering the Mac LAN IP will not work unless the gateway is explicitly rebound.

Reproduction

  1. Install the gateway with scripts/install-phone-gateway-agent.sh.
  2. Open the iOS app first-run connection screen.
  3. Choose Same Network.
  4. Try http://127.0.0.1:18790 or the Mac LAN IP with the current gateway token.

Expected

Either make Same Network a supported, explicit LAN-binding mode with security/firewall copy, or hide/disable it until the default setup can support it.

Audit note

The setup-audit PR updates copy/docs to warn that Cloudflare is the default iPhone path, but product behavior still needs a decision.

Activity

  1. added
    setupFirst-run setup and onboarding friction
    iosiOS app
    gatewayCodePilot gateway
    severity: mediumModerate user impact or setup friction
    on Jul 1, 2026
  2. codepilotios commented on Jul 1, 2026

    @codepilotios
    OwnerAuthor

    Triage update (2026-07-01): marked severity: medium. This remains a product/security decision: either make LAN binding an explicit supported setup path with firewall/security copy, or disable Same Network until the default gateway supports it safely. Added to ops/agents/escalations/issue-triage.md.

  3. codepilotios commented on Jul 3, 2026

    @codepilotios
    OwnerAuthor

    Maintainer decision (2026-07-03): hide/disable the Same Network setup path for public beta until CodePilot provides an explicit, securely configured LAN-binding mode with clear firewall and trust guidance. Cloudflare remains the supported default remote connection path. Implementation is approved.

  4. codepilotios commented on Jul 17, 2026

    @codepilotios
    OwnerAuthor

    Resolved on main by merged PR #14. The public-beta connection picker now exposes Cloudflare only; Same Network remains disabled until an explicit secure LAN-binding mode is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gatewayCodePilot gatewayiosiOS appsetupFirst-run setup and onboarding frictionseverity: mediumModerate user impact or setup friction

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions