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
Live agent activity, tool envelopes, errors, and debug logs can accidentally carry environment variables or credentials into UI, logs, traces, and test artifacts. Muster already needs safe previews; one central recursive redactor is a small, high-value hardening layer.
Bounded v1
Add one well-tested recursive redaction utility for maps, arrays, nested objects, env name/value pairs, headers, URLs with credentials, and common snake/camel-case secret keys.
Apply it before agent observer events, activity headlines, structured logs, error diagnostics, traces, and browser-visible run data leave their trust boundary.
Preserve execution payloads required by the runtime; scrub only copies destined for observation/logging and explicitly restricted projections.
Bound depth, item count, string length, and cyclic/unserialisable input behavior.
Emit a safe redaction marker without revealing the original value or secret length.
Acceptance criteria
API keys, tokens, passwords, cookies, authorisation headers, private keys, and env name/value pairs are redacted across observer/log surfaces.
Parent: #21
Related: #20, #25, #27
Source: block/buzz#2869
Why this is valuable
Live agent activity, tool envelopes, errors, and debug logs can accidentally carry environment variables or credentials into UI, logs, traces, and test artifacts. Muster already needs safe previews; one central recursive redactor is a small, high-value hardening layer.
Bounded v1
Acceptance criteria
Effort guardrail
Central helper plus targeted call sites. Do not redesign encrypted evidence storage in this issue.