Skip to content

Remote tool approval on Windows and Linux: no approval path exists #4328

Done

Description

@mstomar125

core #4325 makes approval macOS-only (user-presence dialog + in-memory key in a hardened signed daemon). On Windows and Linux nothing can be approved, so no remote tool is offered, and nodespace secret set|delete fails there (no dialog). Decide a sound mechanism per platform (Windows Hello needs a daemon whose memory is protected from same-user processes; Linux polkit agents accept synthetic input) or document remote tools as macOS-only. Windows also lacks a peer pid on named pipes (GetNamedPipeClientProcessId).

Activity

  1. mstomar125 commented on Nov 25, 2026

    @mstomar125
    ContributorAuthor

    Decision (owner, 2026-11-25): remote tools are macOS-only for now. Document that (and that nodespace secret set|delete is unavailable elsewhere); no Windows or Linux approval mechanism is built.

  2. self-assigned this
    on Nov 25, 2026
  3. mstomar125 commented on Nov 25, 2026

    @mstomar125
    ContributorAuthor

    Recorded: remote tools are macOS-only for now; no Windows or Linux approval mechanism is built. Workspace nodes changed: decision "Remote tools are core subtypes of tool" (Trust paragraph 2f7fa10c-d2a3-458d-a3bd-ce6cab167611); spec "Remote tools exist as core subtypes of tool and run behind confirmation" (offering gate 53fc8367-0535-41bd-a0ce-f9a9d9f9e07d, credential store 4a09477e-f424-4acf-902c-102f6125751c, confirmation 408aeffc-51b9-41bd-8d61-b9b4fcf81f3c); design "The tool registry" (trust gate paragraph 115e3c24-b45f-4cc3-ac82-9e105ede5fd3 and table row 6d2bb30d-2cd1-4c3f-b8d7-1727342da748, approved_binding 1c99ca9a-d4d2-46ed-bd0a-c773af2b625e); issue "Secret references resolve from the operating-system keychain and a command sets them" (8caff162-b25c-4280-b672-67bed08f6969, 6e004122-4fea-4fd2-bcec-d15f815f3073 in the execution issue); the issue node for this ticket (1b4317a8-3a9d-40c1-aa0a-c5dcbe6d2ca5, fcf3eccb-e73d-425d-b41b-ec37b5f81f85).

    Code truth checked: approval needs an approval key that only a macOS daemon makes (packages/daemon/src/code_identity.rs:97-107), secret set|delete are refused when no screen confirmation exists (packages/daemon/src/user_presence.rs:228-238, secret_service.rs:96-107).

    Doc strings in core that still need the statement (not edited): packages/skill/references/cli.md:968 (says to use an env: reference on a platform without a dialog; that does not make a remote tool approvable), cli.md:1462-1476 (secret commands, no platform note), packages/cli/src/commands/secret.rs:9-11 and its clap help at secret.rs:30-40, packages/core/src/secrets.rs:451 (message suggests env:), packages/daemon/src/user_presence.rs:~238 (refusal text "this device has no way to confirm a change at its screen" does not say remote tools need macOS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions