惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Full Disclosure
Recorded Future
Recorded Future
T
Tenable Blog
S
Securelist
C
CERT Recently Published Vulnerability Notes
T
Threatpost
S
Schneier on Security
A
Arctic Wolf
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Register - Security
The Register - Security
Cisco Talos Blog
Cisco Talos Blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
T
True Tiger Recordings
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
小众软件
小众软件
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Spread Privacy
Spread Privacy
Malwarebytes
Malwarebytes
P
Proofpoint News Feed
F
Fox-IT International blog
F
Fortinet All Blogs
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
量子位
Latest news
Latest news
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Project Zero
Project Zero
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
I
Intezer
博客园_首页
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Darknet – Hacking Tools, Hacker News & Cyber Security

Recent Commits to openclaw:main

fix(dev): bound realtime smoke HTTP waits · openclaw/openclaw@e2cebe8 fix(qa): accept Matrix tool error final races · openclaw/openclaw@a275ce8 fix(qa): cap Matrix readiness polling · openclaw/openclaw@099b0f8 fix(cli): validate directory limits before resolution · openclaw/openclaw@513a223 fix(cli): reject loose webhook and directory numeric options · openclaw/openclaw@0889106 fix(agents): keep runtime context before active user turns · openclaw/openclaw@0503853 fix(qa): stop Matrix phases after run timeout · openclaw/openclaw@f4b9d24 fix(agents): strip stale Anthropic thinking · openclaw/openclaw@66965f5 fix(doctor): validate bundled MCP tool schemas · openclaw/openclaw@a02fe52 fix(qa): kill timed out Matrix CLI runs · openclaw/openclaw@b8fc2f6 fix(dev): bound discord smoke waits · openclaw/openclaw@545ad7f feat(pixverse): add api region selection · openclaw/openclaw@b3083de feat(pixverse): add video generation provider · openclaw/openclaw@c183705 chore(pixverse): publish as external plugin · openclaw/openclaw@5366209 fix(qa): tolerate fast Matrix tool replies · openclaw/openclaw@a46e839 refactor: remove channel turn runtime aliases · openclaw/openclaw@6c37402 fix(test): bound qa otel receiver bodies · openclaw/openclaw@83ab0ba fix(lint): clean manifest registry installed checks · openclaw/openclaw@fd648ed fix(scripts): resolve npm package candidates through npm runner · openclaw/openclaw@7a7d9de fix(usage): forward cached token usage in chat completions (#82062) · openclaw/openclaw@12e5876 test(codex): align provider claim expectation · openclaw/openclaw@42387af perf(gateway): cache stable plugin index fingerprints · openclaw/openclaw@2babe03 fix(test): scan kitchen rpc readiness logs incrementally · openclaw/openclaw@1d4537a fix(test): fail startup bench on bad samples · openclaw/openclaw@8c6da93 fix(onboard): preserve agents.list and bindings on rerun · openclaw/openclaw@bbdff39 fix: send bare direct Anthropic model ids · openclaw/openclaw@aa0a290 fix(deepinfra): load all DeepInfra models when user wants to browse t… fix(package): honor dist package exclusions in inventory · openclaw/openclaw@296fbde fix(qa): harden Matrix tool progress scenario · openclaw/openclaw@32b3fb6 fix(package): match npm globstar exclusions · openclaw/openclaw@f4bcd61 fix: preserve channel runResolved mock compatibility · openclaw/openclaw@c89298f fix(test): bound config reload log polling · openclaw/openclaw@329dad2 fix(lint): preserve JSONL parse cause · openclaw/openclaw@d6949d5 test(e2e): preserve macos smoke entrypoint path · openclaw/openclaw@5eba765 fix(test): await mcp timeout cleanup · openclaw/openclaw@109ba23 fix(test): harden mcp channel ws timeout · openclaw/openclaw@a4a75a8 fix(test): harden gateway network ws timeout · openclaw/openclaw@e50b20f fix(agents/harness): validate forced plugin harness support before pi… · openclaw/openclaw@730ac1a fix(test): bound codex media path log polling · openclaw/openclaw@40a2600 test: align extension inbound context assertions · openclaw/openclaw@98c0ad8 fix(install): skip Homebrew until macOS packages need it · openclaw/openclaw@527b7c2 fix(ci): bound additional boundary checks · openclaw/openclaw@351aac9 fix(release): reject empty beta smoke runs · openclaw/openclaw@4dfc2cf fix(build): cap tsdown heap in containers · openclaw/openclaw@e8dde30 fix(docker): skip declarations in runtime packages · openclaw/openclaw@cc662ba fix(package): omit unpacked test helpers from inventory · openclaw/openclaw@6c42fea fix(crabbox): reinitialize invalid changed-gate git dirs · openclaw/openclaw@ecdc925 fix(lint): shard core lint checks · openclaw/openclaw@1ba4448 fix(lint): cap oxlint helper memory locally · openclaw/openclaw@8caa44f fix(lint): split source lint shards · openclaw/openclaw@158bc69 fix(crabbox): full-sync local sparse container runs · openclaw/openclaw@b3e3b1b fix(test): enable live cache script gates · openclaw/openclaw@72c6813 fix(test): reject unknown live media providers · openclaw/openclaw@51dd548 fix(cli): reject loose model and gateway numeric options · openclaw/openclaw@6b391ef refactor: centralize inbound supplemental context · openclaw/openclaw@1507a97 fix(test): reject empty gateway cpu runs · openclaw/openclaw@ad3d197 fix(test): fail empty plugin gauntlet runs · openclaw/openclaw@b460ee4 fix: load Claude CLI OAuth for PI auth profiles (#87167) · openclaw/openclaw@cc704ca fix(agents): ignore failed subagent placeholders fix(agents): report approval resolutions in bridge mode · openclaw/openclaw@88bbc5b fix(qa): keep fallback delivery on latest targets fix(agents): preserve bridge hook context · openclaw/openclaw@2c3190d fix(qa): close remaining mock qa e2e regressions · openclaw/openclaw@14198a1 fix(qa): isolate mock bridge hook state · openclaw/openclaw@35248be fix(qa): stabilize mock QA scenario contracts · openclaw/openclaw@81c1892 fix(agents): classify direct fallback targets by channel grammar · openclaw/openclaw@79f7b93 fix(qa): scope mock image prompts to latest turn · openclaw/openclaw@c2d059d fix(agents): suppress Write/Edit failed warning on response-timeout f… · openclaw/openclaw@7e702bb fix(cron): surface classified run failure causes · openclaw/openclaw@3104f36 fix(test): fail empty extension test requests · openclaw/openclaw@57b1c0b fix(cli): reject loose numeric options · openclaw/openclaw@c95d348 docs(providers/openai): clarify OpenAI Realtime Platform credits · openclaw/openclaw@717003a fix(codex): keep attempt watchdog for queued terminal turns · openclaw/openclaw@ca990f2 fix(qqbot): gate fallback approval buttons (#87154) · openclaw/openclaw@08a73db fix(test): fail explicit empty vitest runs · openclaw/openclaw@7615c31 ci: fall back from stale workflow dispatch refs · openclaw/openclaw@8d99037 fix(lint): serialize oxlint shards on constrained hosts · openclaw/openclaw@c93b7d8 fix: reject partial numeric CLI options fix(agents): avoid duplicate Claude CLI skill prompts · openclaw/openclaw@f4e20f8 test: harden e2e instance package fixture fix(codex): preserve raw reasoning source-reply guard · openclaw/openclaw@284098d test(codex): verify completion idle watch arms after non-assistant ra… · openclaw/openclaw@4d6bcf9 fix(codex): keep raw assistant release path intact · openclaw/openclaw@4314ead test(codex): mirror raw reasoning event order · openclaw/openclaw@e718d47 fix(codex): arm completion idle watch after rawResponseItem/completed… · openclaw/openclaw@a36c82b fix(node-host): restart stale node host on version mismatch · openclaw/openclaw@819fd9f fix(e2e): bound tool search gateway proof · openclaw/openclaw@761c802 fix(discord): harden requester checks for guild actions · openclaw/openclaw@9ed1b02 fix: let skills JSON output flush naturally · openclaw/openclaw@84b1123 fix: support plugin generated help targets · openclaw/openclaw@ec377dd fix: route generated help targets to subcommands · openclaw/openclaw@1de9848 fix: validate gateway call timeouts · openclaw/openclaw@f407e4e fix: mark plugin command groups in root help · openclaw/openclaw@482018e fix: route nested root help targets · openclaw/openclaw@2bbef6c fix: keep root help plugin descriptor loading quiet · openclaw/openclaw@ef2ebee fix: preserve root options in generated help · openclaw/openclaw@b31c9e9 fix: route root help targets to command help · openclaw/openclaw@5f6293a fix: normalize generated help self-help · openclaw/openclaw@9015d0c perf(secrets): propagate snapshots and eliminate esm side-effects in … test: stabilize main ci lanes · openclaw/openclaw@f327df8
fix(qa): hide Matrix tool progress marker in workspace · openclaw/openclaw@42f3550
vincentkoc · 2026-05-27 · via Recent Commits to openclaw:main

@@ -136,18 +136,24 @@ function mockMatrixQaRoomClient(params: {

136136

events: Array<{

137137

event:

138138

| MatrixQaObservedEvent

139-

| ((client: { sendTextMessage: ReturnType<typeof vi.fn> }) => MatrixQaObservedEvent);

139+

| ((client: {

140+

sendTextMessage: ReturnType<typeof vi.fn>;

141+

}) => MatrixQaObservedEvent | Promise<MatrixQaObservedEvent>);

140142

since: string;

141143

}>;

142144

}) {

143145

const primeRoom = vi.fn().mockResolvedValue("driver-sync-start");

144146

const sendTextMessage = vi.fn().mockResolvedValue(params.driverEventId);

145147

const waitForRoomEvent = vi.fn();

146148

for (const entry of params.events) {

147-

waitForRoomEvent.mockImplementationOnce(async () => ({

148-

event: typeof entry.event === "function" ? entry.event({ sendTextMessage }) : entry.event,

149-

since: entry.since,

150-

}));

149+

waitForRoomEvent.mockImplementationOnce(async () => {

150+

const event =

151+

typeof entry.event === "function" ? await entry.event({ sendTextMessage }) : entry.event;

152+

return {

153+

event,

154+

since: entry.since,

155+

};

156+

});

151157

}

152158

createMatrixQaClient.mockReturnValue({

153159

primeRoom,

@@ -3078,56 +3084,73 @@ describe("matrix live qa scenarios", () => {

3078308430793085

it("captures Matrix tool progress inside the quiet preview before finalizing", async () => {

30803086

const previewEventId = "$tool-progress-preview";

3081-

const { sendTextMessage } = mockMatrixQaRoomClient({

3082-

driverEventId: "$tool-progress-trigger",

3083-

events: [

3084-

{

3085-

event: matrixQaMessageEvent({

3086-

kind: "notice",

3087-

eventId: previewEventId,

3088-

body: "Barnacling...\n`📖 Read: from /tmp/qa/workspace/QA_KICKOFF_TASK.md`",

3089-

}),

3090-

since: "driver-sync-preview",

3091-

},

3092-

{

3093-

event: ({ sendTextMessage }) =>

3094-

matrixQaMessageEvent({

3087+

const gatewayWorkspaceDir = await mkdtemp(path.join(os.tmpdir(), "matrix-qa-workspace-"));

3088+

try {

3089+

const { sendTextMessage } = mockMatrixQaRoomClient({

3090+

driverEventId: "$tool-progress-trigger",

3091+

events: [

3092+

{

3093+

event: matrixQaMessageEvent({

30953094

kind: "notice",

3096-

eventId: "$tool-progress-final",

3097-

body: readMatrixQaReplyDirective(

3098-

mockMessageBody(sendTextMessage, "sendTextMessage"),

3099-

"MATRIX_QA_TOOL_PROGRESS_FIXED",

3100-

),

3101-

relatesTo: {

3102-

relType: "m.replace",

3103-

eventId: previewEventId,

3104-

},

3095+

eventId: previewEventId,

3096+

body: "Barnacling...\n`📖 Read: from /tmp/qa/workspace/QA_KICKOFF_TASK.md`",

31053097

}),

3106-

since: "driver-sync-next",

3107-

},

3108-

],

3109-

});

3098+

since: "driver-sync-preview",

3099+

},

3100+

{

3101+

event: async () => {

3102+

const task = await readFile(

3103+

path.join(gatewayWorkspaceDir, "QA_KICKOFF_TASK.md"),

3104+

"utf8",

3105+

);

3106+

const token = task.trim().split("\n").at(-1) ?? "";

3107+

return matrixQaMessageEvent({

3108+

kind: "notice",

3109+

eventId: "$tool-progress-final",

3110+

body: token,

3111+

relatesTo: {

3112+

relType: "m.replace",

3113+

eventId: previewEventId,

3114+

},

3115+

});

3116+

},

3117+

since: "driver-sync-next",

3118+

},

3119+

],

3120+

});

311031213111-

const scenario = requireMatrixQaScenario("matrix-room-tool-progress-preview");

3122+

const scenario = requireMatrixQaScenario("matrix-room-tool-progress-preview");

311231233113-

const result = await runMatrixQaScenario(scenario, matrixQaScenarioContext());

3114-

const artifacts = result.artifacts as {

3115-

driverEventId?: unknown;

3116-

previewBodyPreview?: unknown;

3117-

previewEventId?: unknown;

3118-

reply?: { eventId?: unknown };

3119-

};

3120-

expect(artifacts.driverEventId).toBe("$tool-progress-trigger");

3121-

expect(artifacts.previewBodyPreview).toBe(

3122-

"Barnacling...\n`📖 Read: from /tmp/qa/workspace/QA_KICKOFF_TASK.md`",

3123-

);

3124-

expect(artifacts.previewEventId).toBe("$tool-progress-preview");

3125-

expect(artifacts.reply?.eventId).toBe("$tool-progress-final");

3126-

const prompt = mockMessageBody(sendTextMessage, "sendTextMessage");

3127-

expect(prompt).toContain("call the read tool exactly once on `QA_KICKOFF_TASK.md`");

3128-

expect(prompt).toContain("answering from memory or sending the marker before the tool result fails");

3129-

expect(prompt).toContain("Do not read `HEARTBEAT.md`");

3130-

expect(prompt).toContain("reply with only this exact marker and no other text");

3124+

const result = await runMatrixQaScenario(scenario, {

3125+

...matrixQaScenarioContext(),

3126+

gatewayWorkspaceDir,

3127+

});

3128+

const artifacts = result.artifacts as {

3129+

driverEventId?: unknown;

3130+

previewBodyPreview?: unknown;

3131+

previewEventId?: unknown;

3132+

reply?: { eventId?: unknown; tokenMatched?: unknown };

3133+

token?: string;

3134+

};

3135+

expect(artifacts.driverEventId).toBe("$tool-progress-trigger");

3136+

expect(artifacts.previewBodyPreview).toBe(

3137+

"Barnacling...\n`📖 Read: from /tmp/qa/workspace/QA_KICKOFF_TASK.md`",

3138+

);

3139+

expect(artifacts.previewEventId).toBe("$tool-progress-preview");

3140+

expect(artifacts.reply?.eventId).toBe("$tool-progress-final");

3141+

expect(artifacts.reply?.tokenMatched).toBe(true);

3142+

const prompt = mockMessageBody(sendTextMessage, "sendTextMessage");

3143+

expect(prompt).toContain("call the read tool exactly once on `QA_KICKOFF_TASK.md`");

3144+

expect(prompt).toContain("the only valid final marker is inside that file");

3145+

expect(prompt).toContain("Do not read `HEARTBEAT.md`");

3146+

expect(prompt).toContain("reply with only the exact marker from the file");

3147+

expect(prompt).not.toContain(String(artifacts.token));

3148+

await expect(

3149+

readFile(path.join(gatewayWorkspaceDir, "QA_KICKOFF_TASK.md"), "utf8"),

3150+

).resolves.toContain(String(artifacts.token));

3151+

} finally {

3152+

await rm(gatewayWorkspaceDir, { force: true, recursive: true });

3153+

}

31313154

});

3132315531333156

it("accepts non-read Matrix tool progress lines in quiet previews", async () => {