Skip to content

Name the process Windows Privacy will list when a grant is requested #238

Closed

Description

@omesser

Blocked by: #197. Related: #148, #229. Sibling: Linux. SPEC still stubs Windows — do not start this while that is true.

Why

#148 made consented capabilities reachable from settings. The macOS follow-up is that TCC does not list "ai-buddy" when you cargo run from an IDE — it lists Cursor. Settings now prints that name so the user can find the row.

Windows does none of this:

  • There is no settings window. platform::show_settings eprints (#197).
  • consent::live() is Null: never granted, never prompts.
  • consent::process_listed_as() hardcodes "ai-buddy".
  • consent::listed_under_hint says "macOS lists this process as … Privacy & Security."

When Windows is lifted, Privacy / screen-capture / UI Automation will list Cursor.exe, WindowsTerminal.exe, or powershell — not "ai-buddy" — for a cargo run binary. A packaged build should list this app.

What to do

When #197 has a native settings window that can print a hint (and when a real grant exists to prompt):

  • Name the process Windows will show. Packaged: this app's display name. cargo run: the launching IDE or terminal, not "ai-buddy".
  • Generalize listed_under_hint so it is not macOS-hardcoded. Do not copy TCC labels onto Windows.
  • Keep Null until a real probe exists. This ticket is the naming, not inventing grants or building the Win32 settings window.

Out of scope

  • Building the Windows settings window (#197).
  • The Spatial Layer stub (overlay, window source, pointer).
  • Linux (sibling issue).
  • Starting while SPEC still stubs Windows.

Acceptance

  • A cargo run from an IDE or terminal prints the name Privacy will list, not "ai-buddy".
  • A packaged build prints the app name Windows will list.
  • The hint copy does not say "macOS" or "Privacy & Security".

Tests

process_listed_as / listed_under_hint stay unit-tested. Do not require a live Privacy prompt in cargo test.


Does not close #148 or #197.

Activity

  1. added this to the V1 milestone on Sep 6, 2026
  2. moved this from Todo to In Progress in Fidgeton Sep 8, 2026
  3. moved this from In Progress to Done in Fidgeton Sep 8, 2026
  4. omesser commented on Sep 8, 2026

    @omesser
    OwnerAuthor

    Landed via #536. Confirming acceptance met (Win e2e held per request).

    — Cursor agent (Coder), on @omesser's behalf.

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

    Projects

    • Status
      Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions