fix(consult): align stream-layout contract with folded audit markup
Independent Staging Quality Gate / validate (push) Successful in 9m6s
Independent Staging Quality Gate / publish (push) Successful in 10m31s

The activity-row assertion still expected a one-line ChatMessageContent call, which cancelled the staging gate.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-19 15:55:26 +08:00
co-authored by Cursor
parent 8db716ca36
commit 9efd847d2f
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -57,7 +57,9 @@ test("shows honest agent activity states before and during streamed text", () =>
assert.match(messageRowSource, /正在处理…/);
assert.match(messageRowSource, /showActivity = message\.state !== "settled"/);
assert.match(messageRowSource, /\{showActivity && \(/);
assert.match(messageRowSource, /message\.text && <ChatMessageContent text=\{message\.text\}/);
assert.match(messageRowSource, /message\.text && \(/);
assert.match(messageRowSource, /<ChatMessageContent[\s\S]*text=\{message\.text\}[\s\S]*auditRows=\{message\.agentExecutionReceipt\?\.techniqueAuditTable\}/);
assert.match(globalStyles, /\.agent-activity-status \+ \.message-answer/);
assert.match(activitySource, /<ThinkingOrb aria-hidden="true" state=\{state\} size=\{20\}/);
assert.match(activitySource, /className="agent-activity-status__text"/);
assert.match(globalStyles, /@keyframes agent-activity-shimmer/);