test(rectification): match the stop-collecting prompt contract
Independent Staging Quality Gate / validate (push) Failing after 9m23s
Independent Staging Quality Gate / publish (push) Has been skipped

BUG-304 rewrote the natural-end instruction; keep the source-level lock
aligned so staging quality gate still passes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-19 19:40:33 +08:00
parent 7d667fecbf
commit 4c33329b0c
@@ -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/);