evaluate_command() calls capture_output() without passing the active namespace or resolved environment. capture_output() consequently reloads the default stack, so a command evaluated while resolving another stack can run with the wrong variables.
Scope: pass an execution context through resolution or execute the command against the already resolved environment. Add a regression test using a non-default stack.
evaluate_command()callscapture_output()without passing the active namespace or resolved environment.capture_output()consequently reloads the default stack, so a command evaluated while resolving another stack can run with the wrong variables.Scope: pass an execution context through resolution or execute the command against the already resolved environment. Add a regression test using a non-default stack.