From b1fa3afd4017310c781bb6598eec132f9b5fd95e Mon Sep 17 00:00:00 2001 From: saphid <4596216+saphid@users.noreply.github.com> Date: Sun, 27 Sep 2026 15:48:43 +1000 Subject: [PATCH] Don't retry a pairing failure on returning to the app; README installs the docker client Co-Authored-By: Claude Opus 5.5 (1M context) --- ios/FrameControl/App/AppModel.swift | 3 ++- tests/frame-container/README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ios/FrameControl/App/AppModel.swift b/ios/FrameControl/App/AppModel.swift index 613328f..7308e3f 100644 --- a/ios/FrameControl/App/AppModel.swift +++ b/ios/FrameControl/App/AppModel.swift @@ -252,7 +252,8 @@ final class AppModel: ObservableObject { if (!ok || server?.exited != nil), mine == attempt { await connect() } } case .failed: - if settings != nil { Task { await connect() } } + // A changed identity or a refused login needs the user, not another try. + if settings != nil, !needsPairing { Task { await connect() } } default: break } diff --git a/tests/frame-container/README.md b/tests/frame-container/README.md index 780d6e3..88ea9e3 100644 --- a/tests/frame-container/README.md +++ b/tests/frame-container/README.md @@ -17,4 +17,4 @@ docker run -d --name frame-holo -p 127.0.0.1:2222:22 frame-holo-test docker exec frame-holo cat /tmp/power-requests.log # what power actions asked for ``` -On a Mac without Docker: `brew install colima && colima start --arch aarch64 --vm-type vz`. +On a Mac without Docker: `brew install colima docker && colima start --arch aarch64 --vm-type vz`.