Skip to content

Lab: seed isolated profiles and validate staged app identity - #236

Merged
dayfine merged 3 commits into
lab/mainfrom
lab/profile-preparation
Nov 6, 2026
Merged

dayfine merged 3 commits into
lab/mainfrom
lab/profile-preparation

Conversation

@dayfine

@dayfine dayfine commented Nov 6, 2026

Copy link
Copy Markdown
Owner

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 against main and flagged 46 inherited lab findings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
@dayfine
dayfine marked this pull request as ready for review November 6, 2026 22:10
@dayfine
dayfine merged commit 58af96a into lab/main Nov 6, 2026
12 of 16 checks passed
@dayfine
dayfine deleted the lab/profile-preparation branch November 6, 2026 22:10
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