Skip to content

fix(cua-driver): accept host identity in embedded health check#2170

Open
injaneity wants to merge 1 commit into
trycua:mainfrom
injaneity:fix/macos-embedded-health-report
Open

fix(cua-driver): accept host identity in embedded health check#2170
injaneity wants to merge 1 commit into
trycua:mainfrom
injaneity:fix/macos-embedded-health-report

Conversation

@injaneity

Copy link
Copy Markdown
Collaborator

Summary

  • make the macOS health_report bundle identity check aware of embedded mode
  • report the host TCC identity as valid when CUA_DRIVER_EMBEDDED=1
  • retain the existing failure and CuaDriver.app remediation for non-embedded raw binaries
  • add regression coverage for both embedded and standalone behavior

Why

Embedded mode intentionally keeps cua-driver in its host application's TCC responsibility chain. The current bundle_identity health check still requires com.trycua.driver, so a correctly embedded driver is reported as degraded and receives remediation that would break host attribution.

This is a focused diagnostic follow-up to #2102. It does not change the unsupported status of ordinary raw-binary standalone launches outside CuaDriver.app.

Testing

  • cargo check --manifest-path libs/cua-driver/rust/Cargo.toml -p platform-macos --tests
  • git diff --check

The focused test binary compiles but cannot link in the local Command Line Tools-only environment because Swift compatibility libraries are unavailable.

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