Skip to content

feat(mobile): Daybreak/CVP mark on accounts in iOS and Android Inference (parity with #2349/#2355) - #2356

Merged
Th0rgal merged 1 commit into
masterfrom
claude/mobile-cyber-access-badge
Nov 30, 2026
Merged

Th0rgal merged 1 commit into
masterfrom
claude/mobile-cyber-access-badge

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #2355 (item 8, AGENTS.md parity). Stacked on #2355: until it merges this diff also shows its commits. Only the last commit (android_dashboard/, ios_dashboard/) belongs to this PR. Targeting master so the Android and iOS CI jobs run.

The Inference/providers screens on iOS and Android now show an account's Daybreak/CVP mark, which desktop has shown since #2349:

  • Shared model. OrbAccountCyberAccess.accountCyberAccessView uses the same name, fields and wording as desktop's accountCyberAccessView (offered, badge, title, on, detail, reserved, reserveTitle, and the two rule sentences). On both platforms it is checked against shared/orb-spec/fixtures/account-cyber-access.json.
  • Subtitle. The account subtitle (status(_:accountHint:) on iOS, providerStatusSubtitle on Android) now includes the badge word after the provider type: "Daybreak" or "CVP". When the account is kept for marked missions it shows "Daybreak only" / "CVP only".
  • Not included: the admin switches for the mark and for "Keep for … missions". On mobile the mark is read-only; it is set on desktop (or with PUT /api/ai/providers/:id/cyber-access). The view model already carries reserveTitle and detail for when the switches are added.

Versions: iOS MARKETING_VERSION 1.90.0 → 1.91.0 and CURRENT_PROJECT_VERSION 2026113002 → 2026113003. project.pbxproj was edited in lockstep; no files were added, so xcodegen didn't need to run. Android orbVersionName 1.91.0 and orbVersionCode 2026113003.

Tests:

  • Android OrbAccountCyberAccessTest: fixture parity and the subtitle.
  • iOS OrbSettingsTests.testAccountCyberAccessMatchesSharedFixture.

Not run locally. No Mac is reachable from here. The only Linux host with an Android SDK (uruk) lacks platform 36 and is running another agent's Lean build. Both suites run in this PR's CI (android-apk.yml runs testDebugUnitTest, ios-build.yml runs xcodebuild test); check those before merging.

@Th0rgal
Th0rgal force-pushed the claude/mobile-cyber-access-badge branch from da54d71 to 06e304b Compare November 30, 2026 15:46
@Th0rgal
Th0rgal merged commit 3a8abb7 into master Nov 30, 2026
21 checks passed
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