fix(rectification): remove static interview fallbacks
Independent Staging Quality Gate / validate (push) Successful in 10m50s
Independent Staging Quality Gate / publish (push) Successful in 13m29s

This commit is contained in:
Jesse_Chen
2026-08-27 16:40:47 +08:00
parent 5f855c610c
commit f3327235ea
43 changed files with 1798 additions and 509 deletions
@@ -398,8 +398,8 @@ test("completed Agent replies restore feedback, copy and safe in-place regenerat
test("candidate state renders from the snapshot API and never from sentinels", () => {
assert.match(chat, /当前可能的出生时间/);
assert.match(chat, /本会话以代表性时间收口,不确认唯一分钟/);
assert.match(chat, /可以先采用,也可以继续补充事件或改选/);
assert.doesNotMatch(chat, /本会话以代表性时间收口,不确认唯一分钟/);
assert.doesNotMatch(chat, /当前排盘时间(代表性时间,本会话不确认唯一分钟)/);
assert.match(chat, /相对支持度不是统计概率/);
assert.match(chat, /改选为此时间/);
assert.doesNotMatch(chat, /disabled=\{Boolean\(candidateResult\.selectedTime\)/);
@@ -616,8 +616,12 @@ test("rectification Agent output stays natural and keeps tool execution silent",
assert.match(agent, /本轮做了什么/);
assert.match(agent, /完成凭证完全由服务端公开 Activity\/receipt 展示/);
assert.match(agent, /禁止只说记下了、会话会保留、以后再继续/);
assert.match(agent, /没有 \/ 没有了 \/ 没有其它 \/ 想不起来了.*只关闭当前 focus 或当前领域/);
assert.match(agent, /结束校正 \/ 不想继续 \/ 直接给结果 \/ 就到这里.*on_user_stop/);
assert.match(agent, /根据用户自然语言语义区分“当前问题没有证据”“停止整个证据收集”和“恢复继续校正”/);
assert.match(agent, /rectification-read-case 传 resume=true/);
assert.doesNotMatch(route, /action === "message" && caseStatus === "paused"/);
assert.match(agent, /前者调用 rectification-resolve-focus/);
assert.match(agent, /全局停止则调用 rectification-stop-and-review/);
assert.doesNotMatch(agent, /USER_STOP_PATTERN|USER_STOP_NEGATION_PATTERN/);
assert.match(agent, /skill_verification_report/);
assert.match(agent, /D9\/D10 类型对照/);
assert.doesNotMatch(agent, /分盘句和宫位表由界面展示/);
@@ -677,7 +681,7 @@ test("adopted time offers a consultation handoff without unique-minute copy", ()
assert.match(page, /startConsultationAfterRectification/);
assert.match(page, /createSession\(modelCatalog\.defaultModelId\)/);
assert.match(agent, /start_consultation/);
assert.match(agent, /本会话以代表性时间收口,不确认唯一分钟/);
assert.doesNotMatch(agent, /本会话以代表性时间收口|本轮校正已收口/);
});
test("stream failures remove empty assistant placeholders", () => {