Repository navigation
Lab: seed isolated profiles and validate staged app identity - #236
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
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.
Base:
lab/main(includes merged #233). This diff contains only offline instance preparation and build-receipt tooling.Two test apps need distinct profiles and identities without inheriting the default app's live device bindings. Add preference-only profile seeding, a post-link profile/hash receipt, and a staging CLI that refuses missing or mismatched receipts, signs a separate app copy, and verifies final package hashes. Existing profiles and deployments are never overwritten.
See INSTANCE_PREPARATION.md for the two-slot process. Physical-device ownership is still a separate required guard; this PR does not launch apps, configure devices, or authorize concurrent hardware use. Existing external deploy scripts have not been migrated.
Validation: 16 offline tool tests pass locally, including the real CMake receipt script with temporary Git/binary fixtures and injected signing failures. Code health passes against
origin/lab/main(no C++ source changes). CI covers macOS/Linux tool tests; real certificate and hardware behavior remain untested. Initial branch publication used the user's approved one-time hook bypass because the pre-PR fallback compared againstmainand flagged 46 inherited lab findings.