diff --git a/server/src/services/routines.ts b/server/src/services/routines.ts index 60319620982..bc24c5966ea 100644 --- a/server/src/services/routines.ts +++ b/server/src/services/routines.ts @@ -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