Skip to content

Add fail-closed transition from idle qualification helper - #555

Merged
pcvantol merged 2 commits into
mainfrom
codex/helper-registered-version-transition
Oct 1, 2026
Merged

pcvantol merged 2 commits into
mainfrom
codex/helper-registered-version-transition

Conversation

@pcvantol

@pcvantol pcvantol commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

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 register remains 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 launchctl readback, requires state = not running and runs = 0 twice, serializes with installer self-update, calls native SMAppService.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.sh PASS
  • swift test --enable-code-coverage PASS on native Apple Silicon
  • Changed executable-line coverage: CLI app 81.66%; CLI helper route 83.70%; parser 91.99%; core helper registration 91.51%, all strictly above 80.2%
  • git diff --check PASS

This 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.

@pcvantol
pcvantol merged commit 3365603 into main Oct 1, 2026
8 checks passed
@pcvantol
pcvantol deleted the codex/helper-registered-version-transition branch October 1, 2026 16:35
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