From d87ccd845691fa967347e9eab19fd10952c02e6a Mon Sep 17 00:00:00 2001 From: LPFchan Date: Sat, 26 Sep 2026 18:31:33 +0900 Subject: [PATCH 1/2] Use the PermissionFlow fork build that doesn't crash opening Settings timestamp: 2026-09-26 18-31-33 KST changes: - pin PermissionFlow to the fork's 2.11.2-swift6.1.1 (openApplication completion marked @Sendable); AGENTS.md note updated rationale: - under Xcode 16.x's SDK the old build's SettingsNavigator completion inherited main-actor isolation and trapped when NSWorkspace called it off the main thread; Threek crashed on it every time it opened System Settings, and Aware's denied-camera path opens Settings the same way checks: - resolved the new tag and built the Aware scheme (Debug) on Xcode 16.3 project: aware agent: claude-code role: worker commit: LOG-20260926-183133-decode --- AGENTS.md | 2 +- Aware.xcodeproj/project.pbxproj | 2 +- .../project.xcworkspace/xcshareddata/swiftpm/Package.resolved | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 76d9c19..4e8ade5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -47,7 +47,7 @@ Repo-agnostic skills (`sharpen-the-tip`, `prototype-mode`, `housekeeping`, `proa ## Local Divergence - Build verification: `xcodebuild -scheme Aware -configuration Debug -derivedDataPath build build` -- PermissionFlow comes from the LPFchan/PermissionFlow fork, pinned to `2.11.2-swift6.1`: upstream v2.11.2 with `swift-tools-version` lowered to 6.1 so Xcode 16.3+ can build it. Move to a new fork tag when upstream updates. +- PermissionFlow comes from the LPFchan/PermissionFlow fork, pinned to `2.11.2-swift6.1.1`: upstream v2.11.2 with `swift-tools-version` lowered to 6.1 so Xcode 16.3+ can build it. Move to a new fork tag when upstream updates. - Commit provenance setup: `scripts/install-hooks.sh` configures the tracked `commit-msg` hook locally. - Commit provenance checks: `scripts/check-commit-standards.sh ` and `scripts/check-commit-range.sh ` - There is no dedicated automated test suite in the repo today. For runtime changes, use the build plus focused manual validation. diff --git a/Aware.xcodeproj/project.pbxproj b/Aware.xcodeproj/project.pbxproj index 0ef6521..8f55407 100644 --- a/Aware.xcodeproj/project.pbxproj +++ b/Aware.xcodeproj/project.pbxproj @@ -362,7 +362,7 @@ repositoryURL = "https://github.com/LPFchan/PermissionFlow"; requirement = { kind = exactVersion; - version = "2.11.2-swift6.1"; + version = "2.11.2-swift6.1.1"; }; }; /* End XCRemoteSwiftPackageReference section */ diff --git a/Aware.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Aware.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 5e0c3b4..9a27067 100644 --- a/Aware.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Aware.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/LPFchan/PermissionFlow", "state" : { - "revision" : "4ceff2a83937f4c039fc4cf1b31eb18587c38459", - "version" : "2.11.2-swift6.1" + "revision" : "9ac6e773bf21df8693d7a93f7e0775e8db2a6db6", + "version" : "2.11.2-swift6.1.1" } }, { From 5ab9b674de86d5064e2dadc0f9a268b6269fde24 Mon Sep 17 00:00:00 2001 From: LPFchan Date: Sat, 26 Sep 2026 20:27:59 +0900 Subject: [PATCH 2/2] Document the functional patch in the PermissionFlow fork timestamp: 2026-09-26 20-27-59 KST changes: - AGENTS.md: the fork note records both changes (tools-version 6.1 and the @Sendable openApplication completion) and when they can be dropped rationale: - Codex review on #2: a future fork-tag refresh that only carried the tools-version change would bring the Settings crash back checks: - docs only; Package.resolved regenerated from scratch produced the same originHash, so it was already current project: aware agent: claude-code role: worker commit: LOG-20260926-202759-decode --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 4e8ade5..d7a1902 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -47,7 +47,7 @@ Repo-agnostic skills (`sharpen-the-tip`, `prototype-mode`, `housekeeping`, `proa ## Local Divergence - Build verification: `xcodebuild -scheme Aware -configuration Debug -derivedDataPath build build` -- PermissionFlow comes from the LPFchan/PermissionFlow fork, pinned to `2.11.2-swift6.1.1`: upstream v2.11.2 with `swift-tools-version` lowered to 6.1 so Xcode 16.3+ can build it. Move to a new fork tag when upstream updates. +- PermissionFlow comes from the LPFchan/PermissionFlow fork, pinned to `2.11.2-swift6.1.1`: upstream v2.11.2 with two changes. `swift-tools-version` is lowered to 6.1 so Xcode 16.3+ can build it, and `SettingsNavigator`'s `openApplication` completion is marked `@Sendable`; without that, apps built with Xcode 16's SDK crash every time they open System Settings. When moving to a new upstream tag, carry both changes forward unless building with Xcode 26+, where neither is needed. - Commit provenance setup: `scripts/install-hooks.sh` configures the tracked `commit-msg` hook locally. - Commit provenance checks: `scripts/check-commit-standards.sh ` and `scripts/check-commit-range.sh ` - There is no dedicated automated test suite in the repo today. For runtime changes, use the build plus focused manual validation.