DeepSeek-Reasonix icon indicating copy to clipboard operation
DeepSeek-Reasonix copied to clipboard

fix(agent): add active-goal to transient user block regex (#4464)

Open myipanta opened this issue 5 months ago • 0 comments

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.

myipanta avatar Jun 15 '26 10:06 myipanta