diff --git a/docs/concepts/delegate-architecture.md b/docs/concepts/delegate-architecture.md index a52d2a16092..7d1563e3d5a 100644 --- a/docs/concepts/delegate-architecture.md +++ b/docs/concepts/delegate-architecture.md @@ -284,9 +284,10 @@ The delegate's `AGENTS.md` defines its autonomous authority — what it may do w If you grant `sessions_history`, remember it is a bounded, safety-filtered recall view. OpenClaw redacts credential/token-like text, truncates long -content, strips thinking tags / downgraded tool-call scaffolding / leaked model -control tokens / malformed MiniMax tool-call XML from assistant recall, and can -replace oversized rows with `[sessions_history omitted: message too large]` +content, strips thinking tags / `` scaffolding / plain-text +tool-call XML payloads / downgraded tool-call scaffolding / leaked model +control tokens / malformed MiniMax tool-call XML from assistant recall, and +can replace oversized rows with `[sessions_history omitted: message too large]` instead of returning a raw transcript dump. ## Scaling pattern diff --git a/docs/concepts/multi-agent.md b/docs/concepts/multi-agent.md index 510bd6fa267..96037a2ecc8 100644 --- a/docs/concepts/multi-agent.md +++ b/docs/concepts/multi-agent.md @@ -25,8 +25,9 @@ Auth profiles are **per-agent**. Each agent reads from its own: `sessions_history` is the safer cross-session recall path here too: it returns a bounded, sanitized view, not a raw transcript dump. Assistant recall strips -thinking tags, downgraded tool-call scaffolding, leaked model control tokens, -and malformed MiniMax tool-call XML before redaction/truncation. +thinking tags, `` scaffolding, plain-text tool-call XML +payloads, downgraded tool-call scaffolding, leaked model control tokens, and +malformed MiniMax tool-call XML before redaction/truncation. Main agent credentials are **not** shared automatically. Never reuse `agentDir` across agents (it causes auth/session collisions). If you want to share creds, diff --git a/docs/concepts/session-tool.md b/docs/concepts/session-tool.md index 9563e952ec6..7e3dd5a72aa 100644 --- a/docs/concepts/session-tool.md +++ b/docs/concepts/session-tool.md @@ -32,6 +32,8 @@ The returned view is intentionally bounded and safety-filtered: - assistant text is normalized before recall: - thinking tags are stripped + - `` / `` scaffolding blocks are stripped + - plain-text tool-call XML payload blocks such as `...` / `...` are stripped - downgraded tool-call/result scaffolding such as `[Tool Call: ...]`, `[Tool Result ...]`, and `[Historical context ...]` is stripped - leaked model control tokens such as `<|assistant|>` / `<|...|>` are stripped diff --git a/docs/tools/index.md b/docs/tools/index.md index cd6a348de47..c582b7dc5aa 100644 --- a/docs/tools/index.md +++ b/docs/tools/index.md @@ -130,8 +130,9 @@ Use `group:*` shorthands in allow/deny lists: | `group:openclaw` | All built-in OpenClaw tools (excludes plugin tools) | `sessions_history` returns a bounded, safety-filtered recall view. It strips -thinking tags, downgraded tool-call scaffolding, leaked model control tokens, -and malformed MiniMax tool-call XML from assistant text, then applies +thinking tags, `` scaffolding, plain-text tool-call XML +payloads, downgraded tool-call scaffolding, leaked model control tokens, and +malformed MiniMax tool-call XML from assistant text, then applies redaction/truncation and possible oversized-row placeholders instead of acting as a raw transcript dump. diff --git a/docs/tools/subagents.md b/docs/tools/subagents.md index b8a52047d13..b4e17713eac 100644 --- a/docs/tools/subagents.md +++ b/docs/tools/subagents.md @@ -265,6 +265,8 @@ Announce payloads include a stats line at the end (even when wrapped): - assistant recall is normalized first: - thinking tags are stripped + - `` / `` scaffolding blocks are stripped + - plain-text tool-call XML payload blocks such as `...` / `...` are stripped - downgraded tool-call/result scaffolding and historical-context markers are stripped - leaked model control tokens such as `<|assistant|>` are stripped - malformed MiniMax tool-call XML is stripped