fix(rectification): stop unwritten-evidence claims and same-cluster dasha false conflicts (BUG-635–640)
Host only says 记下了 after a real write; Mastra schema rejections fail closed. Ledger year keys no longer drop quality probes, dual-dasha agreement is per cluster, width uses cluster span, and public house tables follow the inference minute. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -277,8 +277,10 @@ test("usage completes or releases without hiding settlement failures", () => {
|
||||
assert.match(run, /composeHostFallbackNarration/);
|
||||
assert.match(run, /errorCode: "empty_stream"/);
|
||||
assert.match(run, /if \(errorCode === "empty_stream"\) return status === "retryable"/);
|
||||
assert.match(run, /if \(errorCode === "evidence_not_written"\) return status === "retryable"/);
|
||||
assert.doesNotMatch(run, /if \(!answerText\.trim\(\)\) return failedAttempt\(attemptId, "empty_stream"\)/);
|
||||
assert.doesNotMatch(run, /RETRYABLE_ERROR_CODES = new Set\(\[[^\]]*empty_stream/);
|
||||
assert.doesNotMatch(run, /RETRYABLE_ERROR_CODES = new Set\(\[[^\]]*evidence_not_written/);
|
||||
assert.doesNotMatch(run, /bindSpokenToOpenQuestion|CHOICE_CARD_CONTINUATION_ACK|openQuestionPromptFromToolResult/);
|
||||
assert.doesNotMatch(run, /heldSpoken/);
|
||||
assert.match(run, /replace: true/);
|
||||
|
||||
Reference in New Issue
Block a user