DeepSeek-Reasonix
DeepSeek-Reasonix copied to clipboard
fix(agent): add active-goal to transient user block regex (#4464)
The StripTransientUserBlocks regex stripped reasoning-language, memory-update, and background-jobs XML blocks from persisted user messages before display, but missed active-goal blocks injected by goal/collaboration mode. This caused the goal-mode injection prompt to leak into the chat transcript as visible user-bubble text.
Add active-goal to both alternation groups in the regex so the block is stripped alongside the other three transient blocks.