Repository navigation
feat(desktop): re-land Omi Beta side-by-side identity as locked invariant INV-BETA-1 - #10317
Merged
Merged
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
kodjima33
force-pushed
the
kodjima33/omi-beta-identity-reland
branch
from
July 22, 2026 18:34
6ba3661 to
1a82969
Compare
This reverts commit dba3af2.
…iant INV-BETA-1 Re-lands the side-by-side beta identity (#10059, #10185) removed by dba3af2, adapted to the current release architecture: the manifest schema, admission-controlled promotion, and same-byte stable promotion are untouched — beta enclosures resolve from the GitHub release by tag, so no promotion or manifest surface changes. The beta smoke gains the source-sha field added upstream (caught by the codemagic/gate contract test). INV-BETA-1 encodes the founder's explicit requirement so release-pipeline refactors can no longer remove the beta identity without sign-off. Verified: 97 focused Swift tests; 114 backend updates tests incl. 6 beta-serving cases and the pre-rollout /download/beta fallback; qualification checker suite; signed-smoke harness; codemagic + qualify-workflow YAML validity; async-blocker scan clean. Failure-Class: none Co-Authored-By: Claude Fable 5 <[email protected]>
…ng guard INV-BETA-1 makes com.omi.computer-macos.beta the single sanctioned second production identity; the divergent-identity guard keeps rejecting every other identity (canary case preserved). Co-Authored-By: Claude Fable 5 <[email protected]>
…es by tag The revert had dragged back required beta_* manifest fields; INV-BETA-1's serving lane resolves beta enclosures from the GitHub release by tag, so the v1 manifest contract, schema, and fixtures stay exactly as main has them. Co-Authored-By: Claude Fable 5 <[email protected]>
…tifact pair desktop_qualify_beta.yml passes Omi.Beta.zip/omi-beta.dmg when a release ships them, but the evidence builder allowed only the stable pair and exited before promotion. The four-artifact set is now valid (partial beta pairs fail closed; beta zip signature = betaEdSignature); covered by test_qualification_evidence_accepts_the_side_by_side_beta_artifact_pair. Failure-Class: none Co-Authored-By: Claude Fable 5 <[email protected]>
The workflow passes --asset Omi.Beta.zip/omi-beta.dmg but the CLI arg whitelist still allowed only the stable pair, exiting before build_evidence. CLI now accepts ARTIFACTS + BETA_ARTIFACTS; build/verify still require exact pairs. Regression test drives the real CLI subprocess with all four assets. Failure-Class: none Co-Authored-By: Claude Fable 5 <[email protected]>
kodjima33
force-pushed
the
kodjima33/omi-beta-identity-reland
branch
from
July 22, 2026 19:16
1a82969 to
b6cad30
Compare
kodjima33
added a commit
that referenced
this pull request
Jul 22, 2026
…e guard fixture (#10328) PR #10317 (INV-BETA-1 re-land) changed the approved Codemagic workflow shape (new "Create Omi Beta variant" step; beta assets in the publication script) without regenerating `check-release-process-guards.py`'s approved fixture — the guard is failing on main. Fixture regenerated using the guard's own canonicalization functions; step count 21→22 documented inline. The shape change is intentional and founder-reviewed. ## Product invariants affected - INV-BETA-1 Verified: `python3 .github/scripts/check-release-process-guards.py` → "release process guard checks passed".
pull Bot
pushed a commit
to Mu-L/omi
that referenced
this pull request
Jul 22, 2026
…e process-guard fixture The re-land (PR BasedHardware#10317) added the 'Create Omi Beta variant' step and the beta assets in the publication script; the release-process guard pins the workflow by digest and was failing on main. Fixture regenerated with the guard's own canonicalization; approved step count 21 -> 22. Shape change is founder-reviewed (INV-BETA-1). Co-Authored-By: Claude Fable 5 <[email protected]>
aryanorastar
added a commit
to aryanorastar/omi
that referenced
this pull request
Aug 3, 2026
…edHardware#10351) 9 of 87 guard self-tests failed on main and the suite ran in no CI lane, so the failures accumulated silently. The parent-era regression probes copied today's codemagic.yaml (22 approved script steps after BasedHardware#10317) and ran the reviewed parent guard (which approves 21) against it, tripping the step-count check the parent never knew about. Check out codemagic.yaml and the contract fixture as of the reviewed parent revision for parent-guard probes, and run the current-guard assertions against a re-seeded current-era tree. The dead _restore_parent_preview_credential_shape helper is removed; all 92 tests pass. Wire the suite into CI: scripts/run-release-process-guard-tests.sh runs the pytest suite with the repository's locked backend interpreter, and the checks-manifest now selects it whenever the guard or its tests change. Co-authored-by: CommandCodeBot <[email protected]>
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…iant INV-BETA-1 (BasedHardware#10317) ## Re-land: Omi Beta side-by-side identity (locked as INV-BETA-1) `6a8de347f3` ("restore single macOS artifact") removed the side-by-side Omi Beta identity that shipped in BasedHardware#10059/BasedHardware#10185 as part of release-pipeline hardening. That removal contradicts an explicit founder requirement (Nik, 2026-07-22): beta and stable must install and run side-by-side, and the beta app must auto-update from a beta-identity artifact. This PR re-lands the feature adapted to the current release architecture and locks the requirement as `INV-BETA-1` so pipeline refactors can no longer remove it without explicit sign-off. ### Adapted, not fought The hardening program's architecture is preserved untouched: manifest v1 schema, admission-controlled promotion, same-byte stable promotion, canonical lowercase `omi.dmg`, source-sha smoke binding. Beta enclosures resolve from the GitHub release **by tag** at serve time, so no manifest, channels-DB, promotion, or evidence-schema changes were needed (the original BasedHardware#10059 pointer-lane manifest fields are gone for good). The qualify workflow's beta lanes are additive and optional — releases without beta assets qualify exactly as today. ### What re-lands - **Swift:** `com.omi.computer-macos.beta` production-family identity — isolated "Omi Beta" storage root, per-identity log, pinned beta channel, beta-ring routing, legacy-cleanup restriction, manual-download identity. - **Codemagic:** `create-omi-beta-variant.sh` step (duplicate signed app → re-identify → outer re-sign → notarize → `Omi.Beta.zip` + `omi-beta.dmg`), dual smoke with the full evidence contract (now incl. upstream's `--source-sha`, caught by the codemagic↔gate contract test in this PR's verification), release uploads. - **Backend:** identity-aware `appcast.xml?identity=beta` (beta items only, beta enclosures, omit-when-absent) and `download/latest|beta` (beta DMG with telemetried pre-rollout fallback to stable DMG so the public link never 404s). - **Docs:** `docs/product/invariants/desktop-beta-identity.md` (INV-BETA-1) + changelog fragment; the desktop AGENTS.md already documented the side-by-side model — main was internally inconsistent after the removal. ## Product invariants affected - INV-BETA-1 - INV-AUTH-1 - INV-DATA-1 (INV-BETA-1 is introduced by this PR. INV-DATA-1: path-glob matches on codemagic.yaml/AppBuild/DesktopBackendEnvironment restorations — the beta identity rides the existing beta release ring and prod data plane exactly like a stable-identity beta-channel client; no data-plane URL, lock, or routing contract changes. INV-AUTH-1: path-glob matches on `ClientDeviceService.swift`/`RewindDatabase.swift` restorations — install-id storage selection and isolated-storage migration guard only; `AuthSessionCoordinator` ownership untouched.) ## Failure class Failure-Class: none Re-land of a feature removed in-repo the same week; no shipped user-facing failure class. The one `fix:`-shaped change inside (beta smoke `--source-sha`) is a defect that never left CI and is covered by the new contract test. ### Verification - 97 focused Swift tests green (`AppBuildBetaIdentityTests`, `DesktopStorageIdentityTests`, `APIClientRoutingTests`, `ExternalPreviewBuildTests`, `AuthTokenStorageTests`) - 114 backend tests green (`test_desktop_updates.py`, incl. 6 beta-serving cases + pre-rollout `/download/beta` fallback with `record_fallback` assertion) - Qualification checker suite green (beta smoke held to the stable contract incl. notification-callback canary under the beta bundle id; codemagic↔gate evidence-parity test) - Signed-smoke harness green; codemagic.yaml + desktop_qualify_beta.yml YAML-valid; async-blocker scan clean - **Real user path (prior artifacts of this same code):** a beta-identity build is installed and running beside the stable app on Nik's machine right now — signed in, isolated storage, per-identity duplicate refusal verified in both directions - **UNVERIFIED until the next candidate:** first CI run of the restored packaging on the current pipeline; plan: merge → deploy backend → cut candidate → qualify/promote to live beta → verify Sparkle auto-update on the installed Omi Beta 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10317?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…e process-guard fixture The re-land (PR BasedHardware#10317) added the 'Create Omi Beta variant' step and the beta assets in the publication script; the release-process guard pins the workflow by digest and was failing on main. Fixture regenerated with the guard's own canonicalization; approved step count 21 -> 22. Shape change is founder-reviewed (INV-BETA-1). Co-Authored-By: Claude Fable 5 <[email protected]>
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…e guard fixture (BasedHardware#10328) PR BasedHardware#10317 (INV-BETA-1 re-land) changed the approved Codemagic workflow shape (new "Create Omi Beta variant" step; beta assets in the publication script) without regenerating `check-release-process-guards.py`'s approved fixture — the guard is failing on main. Fixture regenerated using the guard's own canonicalization functions; step count 21→22 documented inline. The shape change is intentional and founder-reviewed. ## Product invariants affected - INV-BETA-1 Verified: `python3 .github/scripts/check-release-process-guards.py` → "release process guard checks passed".
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.
Re-land: Omi Beta side-by-side identity (locked as INV-BETA-1)
dba3af2522("restore single macOS artifact") removed the side-by-side Omi Beta identity that shipped in #10059/#10185 as part of release-pipeline hardening. That removal contradicts an explicit founder requirement (Nik, 2026-07-22): beta and stable must install and run side-by-side, and the beta app must auto-update from a beta-identity artifact. This PR re-lands the feature adapted to the current release architecture and locks the requirement asINV-BETA-1so pipeline refactors can no longer remove it without explicit sign-off.Adapted, not fought
The hardening program's architecture is preserved untouched: manifest v1 schema, admission-controlled promotion, same-byte stable promotion, canonical lowercase
omi.dmg, source-sha smoke binding. Beta enclosures resolve from the GitHub release by tag at serve time, so no manifest, channels-DB, promotion, or evidence-schema changes were needed (the original #10059 pointer-lane manifest fields are gone for good). The qualify workflow's beta lanes are additive and optional — releases without beta assets qualify exactly as today.What re-lands
com.omi.computer-macos.betaproduction-family identity — isolated "Omi Beta" storage root, per-identity log, pinned beta channel, beta-ring routing, legacy-cleanup restriction, manual-download identity.create-omi-beta-variant.shstep (duplicate signed app → re-identify → outer re-sign → notarize →Omi.Beta.zip+omi-beta.dmg), dual smoke with the full evidence contract (now incl. upstream's--source-sha, caught by the codemagic↔gate contract test in this PR's verification), release uploads.appcast.xml?identity=beta(beta items only, beta enclosures, omit-when-absent) anddownload/latest|beta(beta DMG with telemetried pre-rollout fallback to stable DMG so the public link never 404s).docs/product/invariants/desktop-beta-identity.md(INV-BETA-1) + changelog fragment; the desktop AGENTS.md already documented the side-by-side model — main was internally inconsistent after the removal.Product invariants affected
(INV-BETA-1 is introduced by this PR. INV-DATA-1: path-glob matches on codemagic.yaml/AppBuild/DesktopBackendEnvironment restorations — the beta identity rides the existing beta release ring and prod data plane exactly like a stable-identity beta-channel client; no data-plane URL, lock, or routing contract changes. INV-AUTH-1: path-glob matches on
ClientDeviceService.swift/RewindDatabase.swiftrestorations — install-id storage selection and isolated-storage migration guard only;AuthSessionCoordinatorownership untouched.)Failure class
Failure-Class: none
Re-land of a feature removed in-repo the same week; no shipped user-facing failure class. The one
fix:-shaped change inside (beta smoke--source-sha) is a defect that never left CI and is covered by the new contract test.Verification
AppBuildBetaIdentityTests,DesktopStorageIdentityTests,APIClientRoutingTests,ExternalPreviewBuildTests,AuthTokenStorageTests)test_desktop_updates.py, incl. 6 beta-serving cases + pre-rollout/download/betafallback withrecord_fallbackassertion)🤖 Generated with Claude Code