feat: add --no-workspace-macros opt-out for workspace macro loading

Mirrors --no-workspace-mcp exactly: a CLI-only flag backed by an
AppConfig field (default false) that disables .coyote/macros in both
the resolved macro policy and Macro::load's workspace-then-global
preference, so the two always agree (custom-commands design §5).
This commit is contained in:
2026-08-21 11:55:13 -06:00
parent 5478c5a239
commit 4323d4823c
6 changed files with 111 additions and 4 deletions
+1 -1
View File
@@ -2505,7 +2505,7 @@ impl RequestContext {
self.agent.as_ref(),
self.session.as_ref(),
&crate::repl::builtin_command_names(),
false,
self.app.config.no_workspace_macros,
)
}