Pattern format
Glob-style: `secrets/`, `*.env`, `customer.ssn`. Match field paths in the receipt JSON.
When to use
Sensitive fields in otherwise full-content receipts. PII redaction for HIPAA/GDPR-sensitive projects. Secret redaction in CI-generated receipts.
Difference vs digest-only mode
Digest-only hashes everything. redactPaths hashes selected fields, leaving the rest visible. Granular control.
Setting redactPaths
MCP server: GENZAGENTS_REDACT_PATHS env var. SDK: redactPaths option in the builder. CI: pass as the --redact-paths flag.