Garry's Opinionated OpenClaw/Hermes Agent Brain
Imported conversation pages now also redact cookie values (Cookie: and Set-Cookie: headers, curl -b/--cookie; names kept), a one-line .netrc password, and a value that arrives alone on the line after a key or token label or in the message after any credential label (password:, then the password). These rules run only for transcripts; the sources push gate and the compiled-context scan are unchanged. Pages imported earlier are not rewritten: doctor's transcript_secret_exposure asks for a fresh gbrain transcripts audit-secrets, which now lists pages carrying cookie values, .netrc passwords and a key label with its value on the next line. It cannot see a value that was sent as its own message, because a stored page no longer marks where one message ends. Three cases still reach the page verbatim, as they do today: a .netrc entry written over several lines (machine, login and password each on its own line), a -b cookie on its own continued line of a multi-line curl command (what Chrome's "Copy as cURL" produces), and a quoted cookie value inside escaped JSON (sid=\"…\").