From 4c33329b0c4878e5845fe988117bb0c4c1dab08e Mon Sep 17 00:00:00 2001 From: Jesse_Chen Date: Wed, 19 Aug 2026 19:40:33 +0800 Subject: [PATCH] test(rectification): match the stop-collecting prompt contract BUG-304 rewrote the natural-end instruction; keep the source-level lock aligned so staging quality gate still passes. Co-authored-by: Cursor --- frontend/tests/rectification-agentic-entry.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/tests/rectification-agentic-entry.test.ts b/frontend/tests/rectification-agentic-entry.test.ts index 42281bea..d8b72b70 100644 --- a/frontend/tests/rectification-agentic-entry.test.ts +++ b/frontend/tests/rectification-agentic-entry.test.ts @@ -342,8 +342,8 @@ test("rectification Agent output stays natural and keeps tool execution silent", assert.match(agent, /工具执行过程保持静默/); assert.match(agent, /本轮做了什么/); assert.match(agent, /完成凭证完全由服务端公开 Activity\/receipt 展示/); - assert.match(agent, /如果当前不需要追问,可以直接解释结果、说明边界或自然结束本轮/); - assert.match(agent, /没有更多事件/); + assert.match(agent, /禁止只说记下了、会话会保留、以后再继续/); + assert.match(agent, /暂时想不到了 \/ 没有更多 \/ 先这样/); assert.match(skill, /不得叙述读取 Skill/); assert.match(skill, /完整回复可以(?:是)?零(?:个)?问题/); assert.match(skill, /同一用户可以保留多个可恢复 Case/);