docs: refresh session recall sanitization refs

This commit is contained in:
Peter Steinberger
2026-04-04 19:26:37 +01:00
parent fd222d3f07
commit f94645dfe5
11 changed files with 40 additions and 30 deletions

View File

@@ -129,9 +129,11 @@ Use `group:*` shorthands in allow/deny lists:
| `group:nodes` | nodes |
| `group:openclaw` | All built-in OpenClaw tools (excludes plugin tools) |
`sessions_history` returns a bounded, safety-filtered recall view. For very
large or sensitive transcripts, expect redaction, truncation, and possible
oversized-row placeholders instead of a raw transcript dump.
`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
redaction/truncation and possible oversized-row placeholders instead of acting
as a raw transcript dump.
### Provider-specific restrictions

View File

@@ -295,8 +295,10 @@ Legacy `agent.*` configs are migrated by `openclaw doctor`; prefer `agents.defau
}
```
`sessions_history` in this profile still returns a bounded, redacted recall
view rather than a raw transcript dump.
`sessions_history` in this profile still returns a bounded, sanitized recall
view rather than 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.
---

View File

@@ -261,6 +261,11 @@ Announce payloads include a stats line at the end (even when wrapped):
`sessions_history` is the safer orchestration path:
- assistant recall is normalized first:
- thinking tags 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
- credential/token-like text is redacted
- long blocks can be truncated
- very large histories can drop older rows or replace an oversized row with
@@ -276,7 +281,7 @@ By default, sub-agents get **all tools except session tools** and system tools:
- `sessions_send`
- `sessions_spawn`
`sessions_history` remains a bounded, redacted recall view here too; it is not
`sessions_history` remains a bounded, sanitized recall view here too; it is not
a raw transcript dump.
When `maxSpawnDepth >= 2`, depth-1 orchestrator sub-agents additionally receive `sessions_spawn`, `subagents`, `sessions_list`, and `sessions_history` so they can manage their children.