Decide whether and how users can add their own commands, before anything is built. The review should compare:
- Language: JavaScript in the bundled JavaScriptCore; the Emacs Lisp subset orgstar already interprets; Lua or WebAssembly; Shortcuts and App Intents as the only route.
- Architecture: what a command can see and do (buffer text, the parse tree, the index, prompts, the echo area, key bindings, capture and agenda hooks), a versioned API, where scripts live in the configuration folder, and how they load on iOS.
- Safety: file and network access, the trust prompt code blocks use, time and memory limits (JavaScriptCore's public API has no execution time limit), and what a script synced from another device may do.
- App Store rules on downloaded and interpreted code, for the iOS and Mac App Store builds.
- What Emacs users would expect to port, and what would mislead them into expecting all of Emacs Lisp.
Output: a written recommendation in docs/plans/ and follow-up issues.
Platforms: Mac and iOS.