Skip to content

Use the saved default phone when automatic USB selection finds no device #19

Closed

Description

@Anheledir

Delivery slice of #17; related #4, #5 and #8.

state, write, animation apply and host delivery currently require --phone even when a default phone is saved and no USB device exists.

Acceptance:

  • Share target selection across all Delivery callers: explicit device/phone/token-env first; otherwise one mounted USB device; otherwise saved default phone (or the only saved phone).
  • Multiple USB devices remain an explicit-selection error. Multiple phones without a default remain an error. Never silently switch outputs after explicit-target, credential or transport failure.
  • Dry-run performs no device discovery, credential access, file creation or delivery.
  • A missing saved store does not require a native vault to report no output; unreadable existing storage fails with recovery guidance.
  • Add focused policy and caller regression tests; update output-selection documentation.

Scope: existing Auto behavior and phone fallback. Persisted preferred-output settings, interactive ambiguity selection, persistent shell and installation remain in #17/#18.

Merged in #20. Validation: 123 Release tests and generated CLI/host/plugin smoke pass on Windows, Linux and macOS in native CI. Quality, dependency review and CodeQL are green. Local documentation check and CLI/host/device smoke also pass.

Activity

  1. added
    enhancement
    P1
    on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions