Skip to content

Graphorin API reference v0.12.1


Graphorin API reference / @graphorin/agent / filters / stripSensitiveOutputs

Function: stripSensitiveOutputs()

ts
function stripSensitiveOutputs(): DescribedFilter;

Defined in: packages/agent/src/filters/index.ts:232

Strip tool messages whose content carries a literal [REDACTED: redaction token - ANY redaction tier trips it, not only secret (AGENT-FIL-02). There is no secret annotation on the message surface in the current slice; the token stamped by the redaction layer at session-write time is the only signal this filter scans, so an output that was never redaction-stamped passes through. Same weak-contract caveat as bySensitivity.

Returns

DescribedFilter

Stable