From 95aee72f7b95c59c1262d17ac5eed7fdec78b0f2 Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 20 Apr 2026 10:29:19 -0500 Subject: [PATCH] docs(routines): clarify automatic workspace variables --- server/src/services/routines.ts | 2 ++ 1 file changed, 2 insertions(+) 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