Repository navigation
Add fail-closed transition from idle qualification helper - #555
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Adds a narrow, explicit CLI transition from the exact idle installer 0.2.4 qualification daemon to the current signed installer daemon. The existing fixed SMAppService label remains the sole registration path. Normal
helper registerremains idempotent and can finish after an interruption that left the old job absent.The transition verifies the old parent version and fixed bundle/Team/helper identity through independent
launchctlreadback, requiresstate = not runningandruns = 0twice, serializes with installer self-update, calls nativeSMAppService.unregister(), requires the fixed system job to be independently absent, then calls the normal registered helper path with current-parent attestation. Ambiguous status, approval, readback drift, lock failure, or native errors fail closed. There is no caller-supplied path or label.Validation
./scripts/validate.shPASSswift test --enable-code-coveragePASS on native Apple Silicongit diff --checkPASSThis PR does not mutate the registered helper. Live transition requires a newly released, signed app containing this source and separate root-owned staging/readback. LANE_2 r30 remains NOT ACK / READ_ONLY, native credential matrix NOT_RUN. Frozen producer pins Forge 2.7.39 and EP 2.3.106 remain unchanged. Same L1 assignment and PR #75 lineage; no Mission-3/CENTRAL reset/T0.