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

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
G
Google Developers Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
博客园 - Franky
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
月光博客
月光博客
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
小众软件
小众软件
Microsoft Security Blog
Microsoft Security Blog
Last Week in AI
Last Week in AI
Vercel News
Vercel News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
爱范儿
爱范儿
J
Java Code Geeks
博客园 - 叶小钗
Engineering at Meta
Engineering at Meta
阮一峰的网络日志
阮一峰的网络日志

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
Wire diagnostics through the core chat command (#72936) ·...
pashpashpash · 2026-04-29 · via Recent Commits to openclaw:main

@@ -7,9 +7,13 @@ read_when:

77

- Reviewing what diagnostics data is recorded or redacted

88

---

9910-

OpenClaw can create a local diagnostics zip that is safe to attach to bug

11-

reports. It combines sanitized Gateway status, health, logs, config shape, and

12-

recent payload-free stability events.

10+

OpenClaw can create a local diagnostics zip for bug reports. It combines

11+

sanitized Gateway status, health, logs, config shape, and recent payload-free

12+

stability events.

13+14+

Treat diagnostics bundles like secrets until you have reviewed them. They are

15+

designed to omit or redact payloads and credentials, but they still summarize

16+

local Gateway logs and host-level runtime state.

13171418

## Quick start

1519

@@ -29,6 +33,45 @@ For automation:

2933

openclaw gateway diagnostics export --json

3034

```

313536+

## Chat command

37+38+

Owners can use `/diagnostics [note]` in chat to request a local Gateway export.

39+

Use this when the bug happened in a real conversation and you want one

40+

copy-pasteable report for support:

41+42+

1. Send `/diagnostics` in the conversation where you noticed the problem. Add a

43+

short note if it helps, for example `/diagnostics bad tool choice`.

44+

2. OpenClaw sends the diagnostics preamble and asks for one explicit exec

45+

approval. The approval runs `openclaw gateway diagnostics export --json`.

46+

Do not approve diagnostics through an allow-all rule.

47+

3. After approval, OpenClaw replies with a pasteable report containing the local

48+

bundle path, manifest summary, privacy notes, and relevant session ids.

49+50+

In group chats, an owner can still run `/diagnostics`, but OpenClaw does not

51+

post the diagnostic details back into the shared chat. It sends the preamble,

52+

approval prompts, Gateway export result, and Codex session/thread breakdown to

53+

the owner through the private approval route. The group only gets a short notice

54+

that the diagnostics flow was sent privately. If OpenClaw cannot find a private

55+

owner route, the command fails closed and asks the owner to run it from a DM.

56+57+

When the active OpenClaw session is using the native OpenAI Codex harness,

58+

the same exec approval also covers an OpenAI feedback upload for the Codex

59+

runtime threads OpenClaw knows about. That upload is separate from the local

60+

Gateway zip and appears only for Codex harness sessions. Before approval, the

61+

prompt explains that approving diagnostics will also send Codex feedback, but it

62+

does not list Codex session or thread ids. After approval, the chat reply lists

63+

the channels, OpenClaw session ids, Codex thread ids, and local resume commands

64+

for the threads that were sent to OpenAI servers. If you deny or ignore the

65+

approval, OpenClaw does not run the export, does not send Codex feedback, and

66+

does not print the Codex ids.

67+68+

That makes the common Codex debugging loop short: notice the bad behavior in

69+

Telegram, Discord, or another channel, run `/diagnostics`, approve once, share

70+

the report with support, then run the printed `codex resume <thread-id>` command

71+

locally if you want to inspect the native Codex thread yourself. See

72+

[Codex harness](/plugins/codex-harness#inspect-a-codex-thread-from-the-cli) for

73+

that inspection workflow.

74+3275

## What the export contains

33763477

The zip includes: