Skip to content

fix(release): restore macOS Beta release eligibility - #10219

Merged
Git-on-my-level merged 5 commits into
mainfrom
fix/canonical-beta-identity-guard
Jul 21, 2026
Merged

Git-on-my-level merged 5 commits into
mainfrom
fix/canonical-beta-identity-guard

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Jul 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Restore the canonical single macOS production identity in the production data-plane routing guard after #10216 accidentally required a separate Beta bundle identifier.

  • Require com.omi.computer-macos as the sole production-family macOS identity.
  • Reject .beta, canary, or other divergent com.omi.computer-macos.* identities.
  • Pin Codemagic's executable desktop release BUNDLE_ID to exactly com.omi.computer-macos, rejecting missing, wrong, and duplicate assignments.
  • Repair the Swift routing test to exercise both Stable and Beta channels through the canonical production identity.
  • Correct locked INV-DATA-1 documentation to define Beta as a channel pointer/feed, not a separate app identity.
  • Preserve production API and based-hardware Firestore routing pins.
  • No runtime product behavior or channel pointer is changed.

Root cause

#10216's static guard encoded a superseded separate-Beta bundle identity instead of the canonical single-app/channel-pointer model. Exact-main Release Eligibility and Repo Checks correctly failed against the actual canonical AppBuild implementation.

Product invariants affected

  • INV-DATA-1 — all production-family release cohorts share the canonical production customer data plane and macOS app identity.

Verification

  • Regression test observed RED before checker repair.
  • python3 .github/scripts/test_check_mobile_production_routing.py — 9 passed
  • python3 .github/scripts/check-mobile-production-routing.py
  • python3 -m py_compile .github/scripts/check-mobile-production-routing.py .github/scripts/test_check_mobile_production_routing.py
  • git diff --check
  • PR-body preflight
  • python3 .github/scripts/check-release-process-guards.py
  • uv run --with pytest --with pyyaml pytest -q .github/scripts/test_check_release_process_guards.py — 81 passed
  • OMI_SWIFT_TEST_SUITE_WORKERS=4 ./scripts/run-swift-ci.sh --test — attempted locally; correctly refused because this host does not have the required /Applications/Xcode_16.4.app. GitHub's pinned Xcode 16.4 lane is the Swift execution authority.

Failure class

Failure-Class: FC-customer-data-plane-divergence

Failure-Class: FC-customer-data-plane-divergence
@Git-on-my-level Git-on-my-level added the no-changelog-needed Skip desktop changelog enforcement for internal-only changes label Jul 21, 2026
@Git-on-my-level
Git-on-my-level force-pushed the fix/canonical-beta-identity-guard branch from 26486b4 to c7551d6 Compare July 21, 2026 19:19

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 26486b4a0c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +94 to +95
if relative_path == "desktop/macos/Desktop/Sources/AppBuild.swift":
for bundle_identifier in MACOS_PRODUCTION_BUNDLE_IDENTIFIER_PATTERN.findall(source):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Guard the Codemagic bundle id as well

When the desktop release workflow's BUNDLE_ID in codemagic.yaml is changed to com.omi.computer-macos.beta, the signed artifact identity changes even though AppBuild.swift is untouched, and validate() still returns [] because the new divergent-identity scan only runs against AppBuild literals. Since that workflow value is emitted to CM_ENV and drives the release build, this guard can pass the exact split-bundle identity it is meant to prevent; add a pinned check/mutation test for the Codemagic BUNDLE_ID too.

Useful? React with 👍 / 👎.

@Git-on-my-level Git-on-my-level changed the title fix(release): restore canonical macOS identity guard fix(release): restore macOS Beta release eligibility Jul 21, 2026
@mintlify

mintlify Bot commented Jul 21, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
omi 🟢 Ready View Preview Jul 21, 2026, 7:29 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@Git-on-my-level Git-on-my-level removed the no-changelog-needed Skip desktop changelog enforcement for internal-only changes label Jul 21, 2026
Failure-Class: FC-customer-data-plane-divergence
…entity-guard

# Conflicts:
#	.github/scripts/check-mobile-production-routing.py
#	.github/scripts/fixtures/codemagic_workflow_contract/v1.json
#	docs/product/invariants/data-plane-continuity.md
@Git-on-my-level
Git-on-my-level merged commit 19b71fc into main Jul 21, 2026
26 of 27 checks passed
@Git-on-my-level
Git-on-my-level deleted the fix/canonical-beta-identity-guard branch July 21, 2026 19:51
undivisible added a commit that referenced this pull request Jul 21, 2026
…creen (#10204)

Fixes #10143 — an active screen share in a call (Zoom/Teams/Meet) stops
at the moment Omi takes its periodic Rewind screenshot.

## Root cause

The Rewind capture path issues one-shot
`SCScreenshotManager.captureImage` requests every ~1s. When another app
is streaming the screen (an outgoing call share), the concurrent
ScreenCaptureKit request contends in WindowServer capture arbitration;
this is the same cause family as the CleanShot/Shottr 20–60s stall fixed
by #6819, but the observed outcome — the user's share terminating — is
worse. Apple documents no contract for concurrent capture (checked
SCScreenshotManager/SCStream docs), so the mitigation is to not capture
at all while a share is active.

## Fix

- `ConferencingApps.isShareIndicatorWindow(ownerName:title:)` +
`activeScreenSharePresent()`: detect the share-only chrome windows
conferencing apps create while the user is presenting (Zoom "zoom share
statusbar/toolbar window" floating controls, Teams "Screen sharing
toolbar", the browser "<site> is sharing your screen/a tab/a
window" stop-sharing bubble — this covers Google Meet and Teams web).
Adding another app is a 2-line signature + test.
- New `ProactiveExternalCaptureYield` (Core): one seam that runs both
"yield to an external capture" gates — the existing screenshot-app gate
(#6819) and the new share gate — each a `ProactiveScreenshotCaptureGate`
with its own 10s post-condition backoff. The share check is an
autoclosure so its CGWindowList enumeration is skipped when the
screenshot gate already pauses the tick. Extracted (rather than grown in
place) because `ProactiveAssistantsPlugin.swift` is frozen by the
product file line-count ratchet; the plugin now makes a single
`shouldYield` call.
- Declares a new failure class, `FC-concurrent-capture-contention`
(definition added in this PR, as `Failure-Class: new` requires): second
instance of this cause after #6819; the reusable guard surface is the
shared gate state machine + the new yield seam.

Failure-Class: new

## Why per-app window signatures instead of a native "screen is being
shared" API

macOS has **no public API** that reports another app capturing/sharing
the screen. `UIScreen.isCaptured` is iOS/Catalyst-only; the only macOS
equivalent is the private SkyLight call `CGSIsScreenWatcherPresent()`.
Even if we accepted a private API, any generic "screen watcher present"
signal is self-confounded: **Omi itself is a screen watcher every ~1s**,
so the signal would read true because of our own capture, not the call
app's share.

**Follow-up worth validating live** (needs a GUI session): whether
one-shot `SCScreenshotManager` captures do *not* light the macOS 15
system capture indicator while persistent `SCStream` shares do. If that
holds, enumerating the system indicator window becomes an app-agnostic
signal covering Discord/Slack/any social app — qualified by a
persistence threshold (N consecutive ticks) so a short-lived capture (a
screenshot tool, a one-shot grab) is never misread as a video share. The
`ProactiveExternalCaptureYield` seam is where that signal would plug in.

## Carried CI repair

`4a8244742d` (#10181) removed floating-bar typing but left
source-inspection tripwires anchored on the deleted composer
(AgentPillLifecycleTests, FloatingBarTimingSignalTests), so the desktop
Swift test target fails on every merge with main. This branch carries
the tripwire re-anchor commit; the same repair rides in #10210, and
#10211 carries an equivalent one — whichever merges first repairs main
and the later copies merge as no-ops.

The branch previously also carried a beta production-identity restore
for INV-DATA-1; main has since been repaired canonically (beta is a
channel on the production bundle id, #10219) and the updated
`production-data-plane-routing` guard rejects the divergent identity, so
that commit is reverted here — the branch no longer touches
AppBuild/DesktopBackendEnvironment/OmiApp.

(The single Failure-Class declaration above stays `new` for this PR's
own FC-concurrent-capture-contention definition.)

## Verification

- `xcrun swift build -c debug --package-path Desktop` — clean build.
- `xcrun swift test --filter
"ConferencingAppsTests|ProactiveAssistantOrchestrationPolicyTests"` —
23/23 pass: new share-indicator classification tests (positive
Zoom/Teams/browser signatures; negatives for ordinary call windows, a
Teams chat titled about screen sharing, non-conferencing owners) and new
`ProactiveExternalCaptureYield` behavioral tests (pause across a share
then backoff then resume; screenshot gate short-circuits the share
check; reset clears both gates).
- Full desktop Swift suite (`scripts/swift-test-suites.sh`, 344 suites):
same result as pristine `origin/main` on this machine — 3 suites fail
identically on both (AgentPillLifecycleTests,
FloatingBarTimingSignalTests, ScreenRecordingPermissionPolicyTests;
headless-environment failures, no GUI session), i.e. no regression from
this change.
- `make preflight` — 19/19 checks pass.
- **Live verification (named bundle + real Google Meet share)**: built
this branch as a named test bundle and ran a real Meet screen share
against it. Log shows `Active screen share detected — pausing capture
until the share ends` at share start, zero capture activity for the full
~2.5-minute share, `Screen share ended` on stop, and the encoder/indexer
resuming frames ~9s later. The Meet share survived the entire session —
the #10143 failure mode did not reproduce.


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/10204?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. -->
skanderkaroui added a commit that referenced this pull request Jul 22, 2026
#10210)

## What

Onboarding integration icons (the "Use Omi memory where you work" step,
and the matching home stack — same `ConnectorBrandIcon`) didn't show up
for most users: Notion, ChatGPT, and Claude marks resolved **only** from
a hardcoded `/Applications/<App>.app` path, so any user without the app
installed at exactly that path saw a generic gray SF Symbol tile.

- **Bundled brand marks for every onboarding row.** Ships
`notion_logo.png`, `chatgpt_logo.png`, `claude_logo.png` (Simple Icons
brand marks, rasterized at 512px with alpha and recolored for the dark
tile: white Notion/OpenAI, Claude coral `#D97757`). Codex reuses the
ChatGPT mark and Claude Code the Claude mark, mirroring the existing
app-icon reuse. Every destination the onboarding introduces (Notion,
Obsidian, Claude / Claude Code, ChatGPT / Codex, OpenClaw, Hermes, plus
Gemini behind "More") now has a real logo with zero apps installed.
- **Installed apps found by bundle identifier.**
`installedApplicationURL` now asks LaunchServices
(`urlForApplication(withBundleIdentifier:)`) first — finds apps in
`~/Applications`, Setapp, or renamed copies — keeping the fixed
`/Applications` path as a fallback for unregistered copies.
- **Sturdier resource-bundle probe.** The SwiftPM
`"<pkg>_<target>.bundle"` scan now checks nested bundle locations under
every candidate bundle (not just `Bundle.main.resourceURL`), so the
bundled-logo fallback also resolves outside the packaged-app layout —
this is what lets the new regression test load the real resources
hermetically.

## Verification

- `xcrun swift build -c debug --package-path Desktop` — clean.
- New `ConnectorBrandIconResourceTests` passes (`xcrun swift test
--filter ConnectorBrandIconResourceTests`): every onboarding brand
resolves a loadable bundled logo. The build machine has none of
Notion/Obsidian/ChatGPT/Claude installed, so this exercises exactly the
previously-broken "no apps installed" scenario end-to-end through the
production loader.
- Rendered-logo visual check: composited all three new PNGs on the dark
tile background and inspected — crisp white OpenAI knot, coral Claude
spark, white Notion mark.
- `make preflight` green.

## Carried CI repair

`4a8244742d` (#10181) removed floating-bar typing but left
source-inspection tripwires anchored on the deleted composer
(AgentPillLifecycleTests, FloatingBarTimingSignalTests), so the desktop
Swift test target fails on every merge with main. This branch carries
the tripwire re-anchor commit; the same repair rides in #10204, and
#10211 carries an equivalent one — whichever merges first repairs main
and the later copies merge as no-ops.

The branch previously also carried a beta production-identity restore
for INV-DATA-1; main has since been repaired canonically (beta is a
channel on the production bundle id, #10219) and the updated
`production-data-plane-routing` guard rejects the divergent identity, so
that commit is reverted here — the branch no longer touches
AppBuild/DesktopBackendEnvironment/OmiApp.

## Product invariants

- INV-INT-1 — touched `ConnectorBrandIcon.swift` (matches
`**/*Connector*`). Icon rendering only: no connector contract, probe, or
"Connected" semantics change. The bundle identifiers added are stable
app identity (same class of fact as the pre-existing hardcoded install
paths), not volatile provider knowledge.

## Failure class (fixes)

Failure-Class: none

(The icon fix introduces no failure class; the previously declared
FC-customer-data-plane-divergence rode with the carried data-plane
repair, which is now reverted in favor of main's canonical fix from
#10219.)


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/10210?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
…0219)

## Summary

Restore the canonical single macOS production identity in the production
data-plane routing guard after BasedHardware#10216 accidentally required a separate
Beta bundle identifier.

- Require `com.omi.computer-macos` as the sole production-family macOS
identity.
- Reject `.beta`, canary, or other divergent `com.omi.computer-macos.*`
identities.
- Pin Codemagic's executable desktop release `BUNDLE_ID` to exactly
`com.omi.computer-macos`, rejecting missing, wrong, and duplicate
assignments.
- Repair the Swift routing test to exercise both Stable and Beta
channels through the canonical production identity.
- Correct locked `INV-DATA-1` documentation to define Beta as a channel
pointer/feed, not a separate app identity.
- Preserve production API and `based-hardware` Firestore routing pins.
- No runtime product behavior or channel pointer is changed.

## Root cause

BasedHardware#10216's static guard encoded a superseded separate-Beta bundle identity
instead of the canonical single-app/channel-pointer model. Exact-main
Release Eligibility and Repo Checks correctly failed against the actual
canonical `AppBuild` implementation.

## Product invariants affected

- INV-DATA-1 — all production-family release cohorts share the canonical
production customer data plane and macOS app identity.

## Verification

- Regression test observed RED before checker repair.
- `python3 .github/scripts/test_check_mobile_production_routing.py` — 9
passed
- `python3 .github/scripts/check-mobile-production-routing.py`
- `python3 -m py_compile
.github/scripts/check-mobile-production-routing.py
.github/scripts/test_check_mobile_production_routing.py`
- `git diff --check`
- PR-body preflight
- `python3 .github/scripts/check-release-process-guards.py`
- `uv run --with pytest --with pyyaml pytest -q
.github/scripts/test_check_release_process_guards.py` — 81 passed
- `OMI_SWIFT_TEST_SUITE_WORKERS=4 ./scripts/run-swift-ci.sh --test` —
attempted locally; correctly refused because this host does not have the
required `/Applications/Xcode_16.4.app`. GitHub's pinned Xcode 16.4 lane
is the Swift execution authority.

## Failure class

Failure-Class: FC-customer-data-plane-divergence
undivisible added a commit to undivisible/omi that referenced this pull request Sep 29, 2026
…creen (BasedHardware#10204)

Fixes BasedHardware#10143 — an active screen share in a call (Zoom/Teams/Meet) stops
at the moment Omi takes its periodic Rewind screenshot.

## Root cause

The Rewind capture path issues one-shot
`SCScreenshotManager.captureImage` requests every ~1s. When another app
is streaming the screen (an outgoing call share), the concurrent
ScreenCaptureKit request contends in WindowServer capture arbitration;
this is the same cause family as the CleanShot/Shottr 20–60s stall fixed
by BasedHardware#6819, but the observed outcome — the user's share terminating — is
worse. Apple documents no contract for concurrent capture (checked
SCScreenshotManager/SCStream docs), so the mitigation is to not capture
at all while a share is active.

## Fix

- `ConferencingApps.isShareIndicatorWindow(ownerName:title:)` +
`activeScreenSharePresent()`: detect the share-only chrome windows
conferencing apps create while the user is presenting (Zoom "zoom share
statusbar/toolbar window" floating controls, Teams "Screen sharing
toolbar", the browser "&lt;site&gt; is sharing your screen/a tab/a
window" stop-sharing bubble — this covers Google Meet and Teams web).
Adding another app is a 2-line signature + test.
- New `ProactiveExternalCaptureYield` (Core): one seam that runs both
"yield to an external capture" gates — the existing screenshot-app gate
(BasedHardware#6819) and the new share gate — each a `ProactiveScreenshotCaptureGate`
with its own 10s post-condition backoff. The share check is an
autoclosure so its CGWindowList enumeration is skipped when the
screenshot gate already pauses the tick. Extracted (rather than grown in
place) because `ProactiveAssistantsPlugin.swift` is frozen by the
product file line-count ratchet; the plugin now makes a single
`shouldYield` call.
- Declares a new failure class, `FC-concurrent-capture-contention`
(definition added in this PR, as `Failure-Class: new` requires): second
instance of this cause after BasedHardware#6819; the reusable guard surface is the
shared gate state machine + the new yield seam.

Failure-Class: new

## Why per-app window signatures instead of a native "screen is being
shared" API

macOS has **no public API** that reports another app capturing/sharing
the screen. `UIScreen.isCaptured` is iOS/Catalyst-only; the only macOS
equivalent is the private SkyLight call `CGSIsScreenWatcherPresent()`.
Even if we accepted a private API, any generic "screen watcher present"
signal is self-confounded: **Omi itself is a screen watcher every ~1s**,
so the signal would read true because of our own capture, not the call
app's share.

**Follow-up worth validating live** (needs a GUI session): whether
one-shot `SCScreenshotManager` captures do *not* light the macOS 15
system capture indicator while persistent `SCStream` shares do. If that
holds, enumerating the system indicator window becomes an app-agnostic
signal covering Discord/Slack/any social app — qualified by a
persistence threshold (N consecutive ticks) so a short-lived capture (a
screenshot tool, a one-shot grab) is never misread as a video share. The
`ProactiveExternalCaptureYield` seam is where that signal would plug in.

## Carried CI repair

`4a8244742d` (BasedHardware#10181) removed floating-bar typing but left
source-inspection tripwires anchored on the deleted composer
(AgentPillLifecycleTests, FloatingBarTimingSignalTests), so the desktop
Swift test target fails on every merge with main. This branch carries
the tripwire re-anchor commit; the same repair rides in BasedHardware#10210, and
BasedHardware#10211 carries an equivalent one — whichever merges first repairs main
and the later copies merge as no-ops.

The branch previously also carried a beta production-identity restore
for INV-DATA-1; main has since been repaired canonically (beta is a
channel on the production bundle id, BasedHardware#10219) and the updated
`production-data-plane-routing` guard rejects the divergent identity, so
that commit is reverted here — the branch no longer touches
AppBuild/DesktopBackendEnvironment/OmiApp.

(The single Failure-Class declaration above stays `new` for this PR's
own FC-concurrent-capture-contention definition.)

## Verification

- `xcrun swift build -c debug --package-path Desktop` — clean build.
- `xcrun swift test --filter
"ConferencingAppsTests|ProactiveAssistantOrchestrationPolicyTests"` —
23/23 pass: new share-indicator classification tests (positive
Zoom/Teams/browser signatures; negatives for ordinary call windows, a
Teams chat titled about screen sharing, non-conferencing owners) and new
`ProactiveExternalCaptureYield` behavioral tests (pause across a share
then backoff then resume; screenshot gate short-circuits the share
check; reset clears both gates).
- Full desktop Swift suite (`scripts/swift-test-suites.sh`, 344 suites):
same result as pristine `origin/main` on this machine — 3 suites fail
identically on both (AgentPillLifecycleTests,
FloatingBarTimingSignalTests, ScreenRecordingPermissionPolicyTests;
headless-environment failures, no GUI session), i.e. no regression from
this change.
- `make preflight` — 19/19 checks pass.
- **Live verification (named bundle + real Google Meet share)**: built
this branch as a named test bundle and ran a real Meet screen share
against it. Log shows `Active screen share detected — pausing capture
until the share ends` at share start, zero capture activity for the full
~2.5-minute share, `Screen share ended` on stop, and the encoder/indexer
resuming frames ~9s later. The Meet share survived the entire session —
the BasedHardware#10143 failure mode did not reproduce.


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/10204?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
BasedHardware#10210)

## What

Onboarding integration icons (the "Use Omi memory where you work" step,
and the matching home stack — same `ConnectorBrandIcon`) didn't show up
for most users: Notion, ChatGPT, and Claude marks resolved **only** from
a hardcoded `/Applications/<App>.app` path, so any user without the app
installed at exactly that path saw a generic gray SF Symbol tile.

- **Bundled brand marks for every onboarding row.** Ships
`notion_logo.png`, `chatgpt_logo.png`, `claude_logo.png` (Simple Icons
brand marks, rasterized at 512px with alpha and recolored for the dark
tile: white Notion/OpenAI, Claude coral `#D97757`). Codex reuses the
ChatGPT mark and Claude Code the Claude mark, mirroring the existing
app-icon reuse. Every destination the onboarding introduces (Notion,
Obsidian, Claude / Claude Code, ChatGPT / Codex, OpenClaw, Hermes, plus
Gemini behind "More") now has a real logo with zero apps installed.
- **Installed apps found by bundle identifier.**
`installedApplicationURL` now asks LaunchServices
(`urlForApplication(withBundleIdentifier:)`) first — finds apps in
`~/Applications`, Setapp, or renamed copies — keeping the fixed
`/Applications` path as a fallback for unregistered copies.
- **Sturdier resource-bundle probe.** The SwiftPM
`"<pkg>_<target>.bundle"` scan now checks nested bundle locations under
every candidate bundle (not just `Bundle.main.resourceURL`), so the
bundled-logo fallback also resolves outside the packaged-app layout —
this is what lets the new regression test load the real resources
hermetically.

## Verification

- `xcrun swift build -c debug --package-path Desktop` — clean.
- New `ConnectorBrandIconResourceTests` passes (`xcrun swift test
--filter ConnectorBrandIconResourceTests`): every onboarding brand
resolves a loadable bundled logo. The build machine has none of
Notion/Obsidian/ChatGPT/Claude installed, so this exercises exactly the
previously-broken "no apps installed" scenario end-to-end through the
production loader.
- Rendered-logo visual check: composited all three new PNGs on the dark
tile background and inspected — crisp white OpenAI knot, coral Claude
spark, white Notion mark.
- `make preflight` green.

## Carried CI repair

`4a8244742d` (BasedHardware#10181) removed floating-bar typing but left
source-inspection tripwires anchored on the deleted composer
(AgentPillLifecycleTests, FloatingBarTimingSignalTests), so the desktop
Swift test target fails on every merge with main. This branch carries
the tripwire re-anchor commit; the same repair rides in BasedHardware#10204, and
BasedHardware#10211 carries an equivalent one — whichever merges first repairs main
and the later copies merge as no-ops.

The branch previously also carried a beta production-identity restore
for INV-DATA-1; main has since been repaired canonically (beta is a
channel on the production bundle id, BasedHardware#10219) and the updated
`production-data-plane-routing` guard rejects the divergent identity, so
that commit is reverted here — the branch no longer touches
AppBuild/DesktopBackendEnvironment/OmiApp.

## Product invariants

- INV-INT-1 — touched `ConnectorBrandIcon.swift` (matches
`**/*Connector*`). Icon rendering only: no connector contract, probe, or
"Connected" semantics change. The bundle identifiers added are stable
app identity (same class of fact as the pre-existing hardcoded install
paths), not volatile provider knowledge.

## Failure class (fixes)

Failure-Class: none

(The icon fix introduces no failure class; the previously declared
FC-customer-data-plane-divergence rode with the carried data-plane
repair, which is now reverted in favor of main's canonical fix from
BasedHardware#10219.)


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/10210?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. -->

This branch was successfully deployed

1 active deployment
staging - docs — eed6cc0e Deployed Jul 21, 2026 by mintlify[bot]
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.

2 participants