User command trust prompt: full path, imports and what it can do !529

merged merged by cmc on 2026-11-27 16:05 UTC · krz/orgstar:250-user-command-trust-prompt into main

Discussion

cmc 2026-11-27 16:04 UTC

Closes #250.

  • UserCommandTrust.Question: the file under commands/, the modules it imports (directly or through others; unreadable ones left out) and a workspace flag for #247's wording. Answer replaces the string choices. Trust hashes are unchanged.
  • iOS: an alert (title, message, Run Once / Always / Don't Run) instead of the prompt sheet with its text field and Done button.
  • Mac: stays in the echo area, as code-block trust does. PromptRequest.detail shows the question, imports and explanation in full above the answers; other prompts are unchanged.
  • Strings in de, es, fr, ja, pt-BR. Manual: Trust section shows the full prompt.

Checked: swift test, both Xcode builds (no new warnings in Sources/), the alert on the iPhone 17 simulator at the default and accessibility XXL text sizes (Run Once runs, Don't Run says "Not run"), the Mac echo area in a snapshot run.

The Mac echo area overflows the editor column in a narrow window with the outline pane open; the same happens without this change.

Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form