Describe the bug
docs/src/content/docs/docs/AIAssistant.md:50 documents that a macro AI Assistant command without its own system prompt falls back to the live default system prompt. It does not: AIAssistantCommand's constructor snapshots defaults.defaultSystemPrompt at creation time (AIAssistantCommand.ts:34), and MacroChoiceEngine passes command.systemPrompt with no fallback. The same applies to the default model at :48.
Consequence
Editing "Default system prompt" (or the default model) in settings silently does nothing to existing macro AI commands - only newly created commands and the quickAddApi.ai.* script APIs read the live default. A user following the docs will edit the default and believe all their macros changed.
Fix shape
Either document the snapshot behavior honestly (and when each surface reads the live default), or - if the snapshot is judged a bug - change the command to fall back at run time, which is a behavior change that needs its own decision. The docs fix is the safe first step. Anchors are frozen; keep existing {#id}s.
Found during the #1571/#1572 triage investigation (see #1572 for the full call-site map).
Describe the bug
docs/src/content/docs/docs/AIAssistant.md:50documents that a macro AI Assistant command without its own system prompt falls back to the live default system prompt. It does not:AIAssistantCommand's constructor snapshotsdefaults.defaultSystemPromptat creation time (AIAssistantCommand.ts:34), andMacroChoiceEnginepassescommand.systemPromptwith no fallback. The same applies to the default model at:48.Consequence
Editing "Default system prompt" (or the default model) in settings silently does nothing to existing macro AI commands - only newly created commands and the
quickAddApi.ai.*script APIs read the live default. A user following the docs will edit the default and believe all their macros changed.Fix shape
Either document the snapshot behavior honestly (and when each surface reads the live default), or - if the snapshot is judged a bug - change the command to fall back at run time, which is a behavior change that needs its own decision. The docs fix is the safe first step. Anchors are frozen; keep existing
{#id}s.Found during the #1571/#1572 triage investigation (see #1572 for the full call-site map).