docs(routines): clarify automatic workspace variables

This commit is contained in:
Dotta committed 2026-04-20 10:29:19 -05:00
1 parent 67cf147677
commit 95aee72f7b
1 file changed
+2
+2
View File
@@ -282,6 +282,8 @@ function resolveRoutineVariableValues(
const missing: string[] = [];
for (const variable of variables) {
// Workspace-derived automatic values are authoritative for variables that
// Paperclip manages from execution context, so callers cannot override them.
const candidate = automaticVariables[variable.name] !== undefined
? automaticVariables[variable.name]
: provided[variable.name] !== undefined