dsh-buddy-guard: Fix HTTP 400 error for CodeBuddy channel in DSH

When using the buddy channel of Tencent CodeBuddy in DeepSeek Harness, the DSH default system prompt begins with "You are an AI agent powered by DeepSeek Harness.", which triggers upstream prefix validation and causes every request to return HTTP 400 with "Illegal API invocation from an unapproved channel". The community plugin dsh-buddy-guard (AsterLuo, v0.1.0) listens to the system-prompt/assemble event and inserts a leading space before the first non-empty section to bypass the matching. This article describes the root cause, installation command, configuration options, and verification steps, and discusses considerations including validation bypass, rule mutability, and the workbuddy alternative.

Read More