You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f4f4e8b
Browse filesBrowse the repository at this point in the historyBrowse files
description: Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code.
4
+
---
5
+
6
+
# OpenClaw Debugging
7
+
8
+
Use this skill when OpenClaw behavior differs between local tests, live models,
9
+
providers, code mode, Tool Search, Crabbox, or CI, and the next move should be a
10
+
debug signal rather than a guess.
11
+
12
+
## Read First
13
+
14
+
-`docs/logging.md` for log files, `openclaw logs`, and targeted debug flags.
15
+
-`docs/reference/test.md` for local test commands.
16
+
-`docs/reference/code-mode.md` for code-mode exec/wait and tool catalog rules.
17
+
- Use `$openclaw-testing` for choosing test lanes.
18
+
- Use `$crabbox` for broad, Docker, package, Linux, live-key, or CI-parity proof.
19
+
20
+
## Default Loop
21
+
22
+
1. State the suspected boundary: config, tool construction, provider payload,
23
+
fetch, stream/SSE, transcript replay, worker/runtime, package/dist, or CI.
24
+
2. Add or enable the narrowest signal that proves that boundary.
25
+
3. Reproduce with the same provider/model/config. Do not randomly switch models
26
+
unless the model itself is the variable being tested.
27
+
4. Compare configured state with actual run activation.
28
+
5. Patch the root cause.
29
+
6. Rerun the exact failing probe, then broaden only if the contract requires it.
30
+
31
+
## Model Transport Logs
32
+
33
+
Use targeted env flags instead of global debug when the model request shape or
short_description: "Debug model, tool, stream, and live behavior"
4
+
default_prompt: "Use $openclaw-debugging to identify the right OpenClaw debug boundary, turn on targeted logs, and choose the narrowest local or Crabbox proof."
0 commit comments