liby233 on Discord: in DeepSeek Harness on DeepSeek-V4.1-Flash ·
WorkBuddy, a user asked the model to repeat
"/root/DSH/Work/OC-182.92.66.95/" word for word and got
"/root/the agent harness/Work/OC-182.92.66.95/" back; another model was
fine. hide_dsh (0.2.23, on by default) ran /\bDSH\b(?!_)/ and the bare
"DeepSeek Harness" rule over every user and assistant text, so a path's
DSH segment went to WorkBuddy rewritten. The switch's own description
already promised "Paths ... stay as they are".
- The bare name is taken out only where dsh wrote it: system/developer
messages, Messages' system, tools' descriptions (DSH_PROSE).
- User and assistant text get dsh's own lines alone (DSH_LINES: the
opener, the checkout and Web GUI lines, "DSH itself"), so the runtime
context dsh sends as a user message still loses the name.
- Even in the system prompt, a name in a path, file name or identifier
(/root/DSH/, C:\DSH\, ~/DSH, DSH.md, DSH-2, @DSH, file:DSH,
"/srv/DeepSeek Harness/bin") is left: IN_PATH_BEFORE/AFTER guards.
- Siblings: FLAGGED and OPENERS rewrite whole known lines (a comma), not
a bare word; no other plugin has a DSH scrub (git grep).
- README updated.
Run on mote at this tree (mote-run): HOME=$(mktemp -d) bun test
packages/workbuddy: 334 pass, 0 fail; bun scripts/check.mjs: all ok.
New tests use the reporter's literal path.
Broken by hand, each red: user/assistant text through DSH_PROSE again
(5 fail, the reporter's case among them); IN_PATH_BEFORE as \b (the path
test fails).
Not tried: a real dsh request on a real WorkBuddy account. Whether
the narrower hide still matters for a ban is unknown, as before.
Reported-by: liby233
NancyTom18 on X: a WorkBuddy account used from DeepSeek Harness through
magpie was banned, and a reply said Tencent recognises dsh's built-in
prompt. A new per-site switch, "Hide DeepSeek Harness's name" (hide_dsh),
on by default and on in OpenCode, takes the name out of the system prompt,
user and assistant text and tool descriptions: dsh's opener becomes "You
are an AI agent.", the runtime context's checkout and Web GUI lines lose
the name. Tool results, paths, commands, DSH_HOME and ~/.dsh are kept.
Labels in zh, zh-TW, ja, de. README section added.
Run: bun test packages/workbuddy on mote, 332 pass 0 fail, at this tree.
hidedsh.test.mjs uses dsh 0.2.1's literal strings from
@deepseek-ai/dsh-system-prompt and dsh-harness-dev-context.
Broken by hand: with the hook as `if (false && ...)` the new file went
6 pass 4 fail (the four "name doesn't go" cases).
Not tried: a real dsh request capture, a real WorkBuddy account. Whether
this prevents a ban can't be verified.