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 0ab6578
Browse filesBrowse the repository at this point in the historyBrowse files
fix: preserve source code in tool results (#127697)
Preserve opaque source strings across tool-result replay while retaining masking for direct .env reads, registered or recognizable secrets, structured sensitive fields, and payment data.
OpenClaw masks sensitive tokens before log or transcript output leaves the process. This redaction policy applies at console, file-log, OTLP log-record, and session transcript text sinks, so matching secret values are masked before JSONL lines or messages are written to disk.
60
60
61
+
Model-visible tool-result text preserves ambiguous source assignments such as
62
+
`token = timeObserverToken`. Registered secrets and explicit credential forms,
63
+
including structured fields, authorization headers, URL credentials, and known
64
+
token formats, remain masked. Direct reads of `.env`
65
+
files apply broader assignment masking before their content becomes a tool
66
+
result. Other config and source reads preserve opaque values; register actual
67
+
secrets instead of relying on key-name matching. Other transcript fields and
0 commit comments