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

推荐订阅源

WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
MyScale Blog
MyScale Blog
雷峰网
雷峰网
博客园 - 叶小钗
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 三生石上(FineUI控件)
云风的 BLOG
云风的 BLOG
V
V2EX
宝玉的分享
宝玉的分享
酷 壳 – CoolShell
酷 壳 – CoolShell
N
Netflix TechBlog - Medium
Vercel News
Vercel News
美团技术团队
人人都是产品经理
人人都是产品经理
The Cloudflare Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: stabilize qa lab memory and thinking scenarios · ope...
steipete · 2026-04-25 · via Recent Commits to openclaw:main

@@ -10,7 +10,15 @@ coverage:

1010

secondary:

1111

- models.switching

1212

- runtime.session-continuity

13-

objective: Verify /think lists provider-owned levels and remaps stored thinking levels when /model changes provider capabilities.

13+

objective: Verify /think lists provider-owned levels and remaps stored thinking levels when the session model changes provider capabilities.

14+

plugins:

15+

- anthropic

16+

gatewayConfigPatch:

17+

agents:

18+

defaults:

19+

models:

20+

anthropic/claude-sonnet-4-6:

21+

params: {}

1422

successCriteria:

1523

- Anthropic Claude Sonnet 4.6 advertises adaptive but not OpenAI-only xhigh or Opus max.

1624

- A stored adaptive level remaps to medium when switching to OpenAI GPT-5.4.

@@ -35,7 +43,8 @@ execution:

3543

anthropicModelRef: anthropic/claude-sonnet-4-6

3644

openAiXhighModelRef: openai/gpt-5.4

3745

noXhighModelRef: anthropic/claude-sonnet-4-6

38-

conversationId: qa-thinking-slash-remap

46+

conversationId: thinking-slash-remap

47+

sessionKey: agent:qa:main

3948

```

40494150

```yaml qa-flow

@@ -55,25 +64,9 @@ steps:

5564

expr: "env.providerMode === config.requiredProviderMode"

5665

message:

5766

expr: "`thinking remap scenario requires ${config.requiredProviderMode}; got ${env.providerMode}`"

58-

- set: cursor

67+

- set: anthropicModelAck

5968

value:

60-

expr: state.getSnapshot().messages.length

61-

- call: state.addInboundMessage

62-

args:

63-

- conversation:

64-

id:

65-

expr: config.conversationId

66-

kind: direct

67-

senderId: qa-operator

68-

senderName: QA Operator

69-

text:

70-

expr: "`/model ${config.anthropicModelRef}`"

71-

- call: waitForCondition

72-

saveAs: anthropicModelAck

73-

args:

74-

- lambda:

75-

expr: "state.getSnapshot().messages.slice(cursor).filter((candidate) => candidate.direction === 'outbound' && candidate.conversation.id === config.conversationId && candidate.text.includes(`Model set to ${config.anthropicModelRef}`)).at(-1)"

76-

- expr: liveTurnTimeoutMs(env, 20000)

69+

expr: "await env.gateway.call('sessions.patch', { key: config.sessionKey, model: config.anthropicModelRef }, { timeoutMs: liveTurnTimeoutMs(env, 45000) })"

7770

- set: cursor

7871

value:

7972

expr: state.getSnapshot().messages.length

@@ -100,7 +93,7 @@ steps:

10093

expr: "!/Options: .*\\bxhigh\\b/i.test(anthropicThinkStatus.text) && !/Options: .*\\bmax\\b/i.test(anthropicThinkStatus.text)"

10194

message:

10295

expr: "`expected Sonnet /think options to omit xhigh/max, got ${anthropicThinkStatus.text}`"

103-

detailsExpr: "`model=${anthropicModelAck.text}; think=${anthropicThinkStatus.text}`"

96+

detailsExpr: "`model=${JSON.stringify(anthropicModelAck.resolved)}; think=${anthropicThinkStatus.text}`"

10497

- name: maps adaptive to medium when switching to OpenAI

10598

actions:

10699

- set: cursor

@@ -121,29 +114,13 @@ steps:

121114

- lambda:

122115

expr: "state.getSnapshot().messages.slice(cursor).filter((candidate) => candidate.direction === 'outbound' && candidate.conversation.id === config.conversationId && /Thinking level set to adaptive/i.test(candidate.text)).at(-1)"

123116

- expr: liveTurnTimeoutMs(env, 20000)

124-

- set: cursor

117+

- set: openAiModelAck

125118

value:

126-

expr: state.getSnapshot().messages.length

127-

- call: state.addInboundMessage

128-

args:

129-

- conversation:

130-

id:

131-

expr: config.conversationId

132-

kind: direct

133-

senderId: qa-operator

134-

senderName: QA Operator

135-

text:

136-

expr: "`/model ${config.openAiXhighModelRef}`"

137-

- call: waitForCondition

138-

saveAs: openAiModelAck

139-

args:

140-

- lambda:

141-

expr: "state.getSnapshot().messages.slice(cursor).filter((candidate) => candidate.direction === 'outbound' && candidate.conversation.id === config.conversationId && candidate.text.includes(config.openAiXhighModelRef) && /Model (set to|reset to default)/i.test(candidate.text)).at(-1)"

142-

- expr: liveTurnTimeoutMs(env, 20000)

119+

expr: "await env.gateway.call('sessions.patch', { key: config.sessionKey, model: config.openAiXhighModelRef }, { timeoutMs: liveTurnTimeoutMs(env, 45000) })"

143120

- assert:

144-

expr: "/Thinking level set to medium \\(adaptive not supported for openai\\/gpt-5\\.4\\)/i.test(openAiModelAck.text)"

121+

expr: "openAiModelAck.entry?.thinkingLevel === 'medium'"

145122

message:

146-

expr: "`expected adaptive->medium remap, got ${openAiModelAck.text}`"

123+

expr: "`expected adaptive->medium remap, got ${JSON.stringify(openAiModelAck.entry)}`"

147124

- set: cursor

148125

value:

149126

expr: state.getSnapshot().messages.length

@@ -166,7 +143,7 @@ steps:

166143

expr: "/Options: .*\\bxhigh\\b/i.test(openAiThinkStatus.text) && !/Options: .*\\badaptive\\b/i.test(openAiThinkStatus.text) && !/Options: .*\\bmax\\b/i.test(openAiThinkStatus.text)"

167144

message:

168145

expr: "`expected OpenAI GPT-5.4 /think options to include xhigh only, got ${openAiThinkStatus.text}`"

169-

detailsExpr: "`adaptive=${adaptiveAck.text}; switch=${openAiModelAck.text}; think=${openAiThinkStatus.text}`"

146+

detailsExpr: "`adaptive=${adaptiveAck.text}; switch=${JSON.stringify(openAiModelAck.resolved)}; think=${openAiThinkStatus.text}`"

170147

- name: maps xhigh to high on a model without xhigh

171148

actions:

172149

- set: cursor

@@ -187,29 +164,13 @@ steps:

187164

- lambda:

188165

expr: "state.getSnapshot().messages.slice(cursor).filter((candidate) => candidate.direction === 'outbound' && candidate.conversation.id === config.conversationId && /Thinking level set to xhigh/i.test(candidate.text)).at(-1)"

189166

- expr: liveTurnTimeoutMs(env, 20000)

190-

- set: cursor

167+

- set: noXhighModelAck

191168

value:

192-

expr: state.getSnapshot().messages.length

193-

- call: state.addInboundMessage

194-

args:

195-

- conversation:

196-

id:

197-

expr: config.conversationId

198-

kind: direct

199-

senderId: qa-operator

200-

senderName: QA Operator

201-

text:

202-

expr: "`/model ${config.noXhighModelRef}`"

203-

- call: waitForCondition

204-

saveAs: noXhighModelAck

205-

args:

206-

- lambda:

207-

expr: "state.getSnapshot().messages.slice(cursor).filter((candidate) => candidate.direction === 'outbound' && candidate.conversation.id === config.conversationId && candidate.text.includes(config.noXhighModelRef) && /Model (set to|reset to default)/i.test(candidate.text)).at(-1)"

208-

- expr: liveTurnTimeoutMs(env, 20000)

169+

expr: "await env.gateway.call('sessions.patch', { key: config.sessionKey, model: config.noXhighModelRef }, { timeoutMs: liveTurnTimeoutMs(env, 45000) })"

209170

- assert:

210-

expr: "/Thinking level set to high \\(xhigh not supported for anthropic\\/claude-sonnet-4-6\\)/i.test(noXhighModelAck.text)"

171+

expr: "noXhighModelAck.entry?.thinkingLevel === 'high'"

211172

message:

212-

expr: "`expected xhigh->high remap, got ${noXhighModelAck.text}`"

173+

expr: "`expected xhigh->high remap, got ${JSON.stringify(noXhighModelAck.entry)}`"

213174

- set: cursor

214175

value:

215176

expr: state.getSnapshot().messages.length

@@ -232,5 +193,5 @@ steps:

232193

expr: "/Options: .*\\badaptive\\b/i.test(noXhighThinkStatus.text) && !/Options: .*\\bxhigh\\b/i.test(noXhighThinkStatus.text) && !/Options: .*\\bmax\\b/i.test(noXhighThinkStatus.text)"

233194

message:

234195

expr: "`expected non-xhigh model /think options to include adaptive and omit xhigh/max, got ${noXhighThinkStatus.text}`"

235-

detailsExpr: "`xhigh=${xhighAck.text}; switch=${noXhighModelAck.text}; think=${noXhighThinkStatus.text}`"

196+

detailsExpr: "`xhigh=${xhighAck.text}; switch=${JSON.stringify(noXhighModelAck.resolved)}; think=${noXhighThinkStatus.text}`"

236197

```