Skip to content

[Bug] 接入ClaudeCode中会自己不停的做事情,一个简单的任务都会触发 #141

Description

@JiuliNuoyi

版本 / Version

v2.0.90

部署方式 / Deployment

自建服务器 / Self-hosted

问题描述 / What happened?

Image

部分日志:16:45:06
INFO
Chat: model=claude-opus-4-6 flow=cascade stream=true attempt=1 account=pf.k.z.v.j.o.i.x.nutj099@gmail.com ls=42100 turns=3 chars=1404
16:45:06
DEBUG
CascadeChat: uid=claude-opus-4-6-thinking enum=0 msgs=3 reuse=false
16:45:06
DEBUG
Cascade started: de4389b7-e303-4d97-a481-db1ced36e0ed
16:45:06
INFO
Probe[9iool9]: model=claude-opus-4-6 stream=true rf=none tools=26 reasoning=high ctypes=[string] turns=2 lastUser=len=5919 hash=c11359281bf4c792
16:45:06
INFO
Probe[9iool9] msg[0] role=system len=26161 hash=367a9ac09e3867d8
16:45:06
INFO
Probe[9iool9] msg[1] role=user len=5919 hash=c11359281bf4c792
16:45:06
WARN
Probe[9iool9]: large system prompt 26KB — heavy clients (OpenClaw / Cline / opencode) may hit upstream panel-state retries above ~30KB
16:45:06
INFO
Chat[9iool9]: routed claude-opus-4.6 -> claude-opus-4.6-thinking (wantThinking=true)
16:45:06
WARN
Probe[9iool9]: toolPreamble 78KB exceeds soft cap 23KB; using schema-compact tier (12KB, 26 tools)
16:45:06
INFO
Chat[9iool9]: env lifted into tool_calling_section: - Working directory: C:\Users\Danny - Is the directory a git repo: false - Platform: win32 - OS version: Windows 10 Pro 10.0.19045
16:45:06
INFO
Chat: model=claude-opus-4-6 flow=cascade stream=true attempt=1 account=pf.k.z.v.j.o.i.x.nutj099@gmail.com ls=42100 turns=3 chars=32474
16:45:06
DEBUG
CascadeChat: uid=claude-opus-4-6-thinking enum=0 msgs=3 reuse=false
16:45:06
DEBUG
Cascade started: 2a3879c6-ddb6-427e-be67-5954e2384700
16:45:10
DEBUG
ToolParser: matched xml format, name=Bash
16:45:10
INFO
Cascade done
16:45:10
INFO
Cascade usage: in=2899 out=16 cache_r=0 cache_w=0
16:45:18
INFO
Cascade done
16:45:18
INFO
Cascade usage: in=415 out=553 cache_r=0 cache_w=6937
16:45:19
INFO
Probe[hiube5]: model=claude-opus-4-6 stream=true rf=none tools=26 reasoning=high ctypes=[string] turns=4 lastUser=len=5919 hash=c11359281bf4c792
16:45:19
INFO
Probe[hiube5] msg[0] role=system len=26161 hash=55b522604ea5bd02
16:45:19
INFO
Probe[hiube5] msg[1] role=user len=5919 hash=c11359281bf4c792
16:45:19
INFO
Probe[hiube5] msg[2] role=assistant len=284 hash=c41d0e50e10a03bb
16:45:19
WARN
Probe[hiube5]: large system prompt 26KB — heavy clients (OpenClaw / Cline / opencode) may hit upstream panel-state retries above ~30KB
16:45:19
INFO
Chat[hiube5]: routed claude-opus-4.6 -> claude-opus-4.6-thinking (wantThinking=true)
16:45:19
WARN
Probe[hiube5]: toolPreamble 78KB exceeds soft cap 23KB; using schema-compact tier (12KB, 26 tools)
16:45:19
INFO
Chat[hiube5]: env lifted into tool_calling_section: - Working directory: C:\Users\Danny - Is the directory a git repo: false - Platform: win32 - OS version: Windows 10 Pro 10.0.19045
16:45:19
INFO
Chat: model=claude-opus-4-6 flow=cascade stream=true attempt=1 account=pf.k.z.v.j.o.i.x.nutj099@gmail.com ls=42100 turns=5 chars=32846
16:45:19
DEBUG
CascadeChat: uid=claude-opus-4-6-thinking enum=0 msgs=5 reuse=false
16:45:19
DEBUG
Cascade started: 265dee90-75bb-4d7f-855f-69c6530042a1
16:45:24
DEBUG
ToolParser: matched xml format, name=Bash
16:45:26
DEBUG
ToolParser: matched xml format, name=Bash
16:45:26
DEBUG
ToolParser: matched xml format, name=Bash
16:45:27
INFO
Cascade done
16:45:27
INFO
Cascade usage: in=415 out=269 cache_r=0 cache_w=7009
16:45:45
INFO
Probe[uw2h1k]: model=claude-opus-4-6 stream=true rf=none tools=26 reasoning=high ctypes=[string] turns=8 lastUser=len=5919 hash=c11359281bf4c792
16:45:45
INFO
Probe[uw2h1k] msg[0] role=system len=26161 hash=81f66ca3dc7d15e4
16:45:45
INFO
Probe[uw2h1k] msg[1] role=user len=5919 hash=c11359281bf4c792
16:45:45
INFO
Probe[uw2h1k] msg[2] role=assistant len=284 hash=c41d0e50e10a03bb
16:45:45
WARN
Probe[uw2h1k]: large system prompt 26KB — heavy clients (OpenClaw / Cline / opencode) may hit upstream panel-state retries above ~30KB
16:45:45
INFO
Chat[uw2h1k]: routed claude-opus-4.6 -> claude-opus-4.6-thinking (wantThinking=true)
16:45:45
WARN
Probe[uw2h1k]: toolPreamble 78KB exceeds soft cap 23KB; using schema-compact tier (12KB, 26 tools)
16:45:45
INFO
Chat[uw2h1k]: env lifted into tool_calling_section: - Working directory: C:\Users\Danny - Is the directory a git repo: false - Platform: win32 - OS version: Windows 10 Pro 10.0.19045
16:45:45
INFO
Chat: model=claude-opus-4-6 flow=cascade stream=true attempt=1 account=pf.k.z.v.j.o.i.x.nutj099@gmail.com ls=42100 turns=9 chars=33072
16:45:45
DEBUG
CascadeChat: uid=claude-opus-4-6-thinking enum=0 msgs=9 reuse=false
16:45:45
DEBUG
Cascade started: 3a3ae9ef-4824-40d2-adcc-55965cf11279
16:45:49
DEBUG
ToolParser: matched xml format, name=Bash
16:45:50
DEBUG
ToolParser: matched xml format, name=Glob
16:45:50
DEBUG
ToolParser: matched xml format, name=Bash
16:45:51
INFO
Cascade done
16:45:51
INFO
Cascade usage: in=415 out=215 cache_r=0 cache_w=7350
16:46:13
INFO
Probe[wq9hae]: model=claude-opus-4-6 stream=true rf=none tools=26 reasoning=high ctypes=[string] turns=12 lastUser=len=5919 hash=c11359281bf4c792
16:46:13
INFO
Probe[wq9hae] msg[0] role=system len=26161 hash=803a860853a5d675
16:46:13
INFO
Probe[wq9hae] msg[1] role=user len=5919 hash=c11359281bf4c792
16:46:13
INFO
Probe[wq9hae] msg[2] role=assistant len=284 hash=c41d0e50e10a03bb
16:46:13
WARN
Probe[wq9hae]: large system prompt 26KB — heavy clients (OpenClaw / Cline / opencode) may hit upstream panel-state retries above ~30KB
16:46:13
INFO
Chat[wq9hae]: routed claude-opus-4.6 -> claude-opus-4.6-thinking (wantThinking=true)
16:46:13
WARN
Probe[wq9hae]: toolPreamble 78KB exceeds soft cap 23KB; using schema-compact tier (12KB, 26 tools)
16:46:13
INFO
Chat[wq9hae]: env lifted into tool_calling_section: - Working directory: C:\Users\Danny - Is the directory a git repo: false - Platform: win32 - OS version: Windows 10 Pro 10.0.19045
16:46:13
INFO
Chat: model=claude-opus-4-6 flow=cascade stream=true attempt=1 account=pf.k.z.v.j.o.i.x.nutj099@gmail.com ls=42100 turns=13 chars=33772
16:46:13
DEBUG
CascadeChat: uid=claude-opus-4-6-thinking enum=0 msgs=13 reuse=false
16:46:13
DEBUG
Cascade started: 97e3d6b9-6cbd-4efd-b867-5e6608fa0181
16:46:19
DEBUG
ToolParser: matched xml format, name=Bash
16:46:19
DEBUG
ToolParser: matched xml format, name=Glob
16:46:20
DEBUG
ToolParser: matched xml format, name=Bash
16:46:23
DEBUG
ToolParser: matched xml format, name=Bash
16:46:29
DEBUG
ToolParser: matched xml format, name=Bash
16:46:33
DEBUG
ToolParser: matched xml format, name=Bash
16:46:42
INFO
Cascade done
16:46:42
INFO
Cascade usage: in=415 out=2304 cache_r=5095 cache_w=2681

复现步骤 / Steps to reproduce

不清楚什么情况,基本上随便一个指令都能复现

日志 / Logs

模型 / Model

claude-opus-4-6

环境 / Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaves incorrectlyupstream上游/第三方问题

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions