From 02191733273d5cbf89b8bb1f845af109e409d9a7 Mon Sep 17 00:00:00 2001 From: Alan Silva Date: Mon, 19 Oct 2026 23:33:29 +0100 Subject: [PATCH] stage: say that the shared public folder is the absolute path A probe stage read "public/" in its task, created a workspace-relative public/ folder, and also copied to the run's shared path. The prompt now states that the absolute path is the shared folder and a relative public/ is a different, unshared directory. --- internal/stage/model_prompt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/stage/model_prompt.go b/internal/stage/model_prompt.go index 9e44af22..65be6ccf 100644 --- a/internal/stage/model_prompt.go +++ b/internal/stage/model_prompt.go @@ -102,7 +102,7 @@ func modelPrompt(def Definition, spec ModelSpec, input Values) (string, error) { fmt.Fprintf(&b, "\n\nAllowed outcomes: %s.\n\nEverything else is free-form markdown for the next stage and the operator. The server does not parse or validate any other section. Return the complete output.md content as your final message; do not wrap it in a JSON envelope.\n", strings.Join(outcomes, ", ")) fmt.Fprintf(&b, "\nExecution time: %s. Timezone: %s.\n", time.Now().Format(time.RFC3339), time.Local.String()) if def.Turn.Public != "" { - fmt.Fprintf(&b, "\nShared artifacts go to %s; files there are visible to every later stage. Turn-local work goes to %s and is not handed to later stages.\n", def.Turn.Public, def.Turn.Private) + fmt.Fprintf(&b, "\nShared artifacts go to %s; files there are visible to every later stage. That absolute path is the shared folder: a relative public/ inside the workspace is a different, unshared directory. Turn-local work goes to %s and is not handed to later stages.\n", def.Turn.Public, def.Turn.Private) } b.WriteString("\n") b.WriteString(toolsLine)