Repository navigation
Conversation
ksajan
force-pushed
the
preclient-inventory
branch
from
November 14, 2026 07:32
4345f38 to
b949024
Compare
The full-inventory path requires protocol v2 and present Catacomb metadata, so it correctly refuses the absent baseline before native first-run. Add a separate read-only contract that admits only the exact empty-list sentinel and exact absent-Catacomb metadata, attests v2 via a v2-only identity command, and reports authority as unknown without creating or adopting it. The installed inventory command exposes the mode as --preclient; the research probe exposes --preclient-inventory.
ksajan
force-pushed
the
preclient-inventory
branch
from
November 14, 2026 07:34
b949024 to
60beede
Compare
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.
Summary
The full
--full-inventorypath is a post-install check: it requires protocol-v2 attestation and present Catacomb metadata. Before native first-run the same wire surface is legitimately empty, so that path correctly refuses it. This adds a separate, read-only pre-authority contract instead of weakening the full-inventory guard:t2-touchid-inventory --preclientbridge-xpc-probe.py --initialize --preclient-inventoryIt reports
state: absent-baselineorstate: present, withauthority: unknownandmutation_performed: false. It never creates, adopts, recovers, or enrolls authority.Contract
The absent baseline is admitted only when all of these hold:
0x51), not by command 1; the knownkIOReturnBadArgumentreply on command 1 is accepted only in that form;Anything else fails closed. A present Catacomb is reported as
presentbut is never adopted.Tests
1682 tests, OK (skipped=1)with the project venv.tools/privacy-check.shandenrollment_research/scripts/check-public-tree.shpass.Hardware coverage
No live hardware run for this PR. The absent-baseline fixture is the shape reported from the Linux-only MacBookPro16,1 / bridgeOS 23P6068 capture in #17: command 1 rejected with
0xe00002c2, exact nil identity lists, and Catacomb UUID/hash status 22 with exact-sized zero payloads. The full-inventory refusal remains unchanged and is still exercised.Risk and recovery