From 8bf10163d9bcb6eabc6d966cfd203bfbeb607e8b Mon Sep 17 00:00:00 2001 From: CC-Girl Date: Tue, 16 Jun 2026 17:13:40 +0800 Subject: [PATCH] docs(prompt): correct stale BuildPrompt comment to file-first (#4182) --- server/internal/daemon/prompt.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/internal/daemon/prompt.go b/server/internal/daemon/prompt.go index 69a322ddc6..8bec307945 100644 --- a/server/internal/daemon/prompt.go +++ b/server/internal/daemon/prompt.go @@ -11,9 +11,9 @@ import ( // Keep this minimal — detailed instructions live in CLAUDE.md / AGENTS.md // injected by execenv.InjectRuntimeConfig. The provider string is threaded // through to comment-triggered tasks' per-turn reply template; that template -// is provider-agnostic now (Linux/macOS → quoted-HEREDOC stdin, Windows → -// file) because the shell-layer corruption it guards against is not specific -// to any one provider (MUL-2904). +// is provider-agnostic AND host-agnostic now (every OS → write a UTF-8 file, +// post with `--content-file`) because the shell-layer corruption it guards +// against is not specific to any one provider or host (MUL-2904, #4182). func BuildPrompt(task Task, provider string) string { if task.ChatSessionID != "" { return buildChatPrompt(task)