diff --git a/.entire/.gitignore b/.entire/.gitignore index 0b700c83e3..a1557d5f0e 100644 --- a/.entire/.gitignore +++ b/.entire/.gitignore @@ -3,3 +3,4 @@ settings.local.json metadata/ current_session logs/ +redactors/local/ diff --git a/cmd/entire/cli/settings/settings.go b/cmd/entire/cli/settings/settings.go index 3654f5ccde..c52204db82 100644 --- a/cmd/entire/cli/settings/settings.go +++ b/cmd/entire/cli/settings/settings.go @@ -155,6 +155,15 @@ func (s *SummaryGenerationSettings) SetProvider(newProvider, newModel string) { // RedactionSettings configures redaction behavior beyond the default secret detection. type RedactionSettings struct { PII *PIISettings `json:"pii,omitempty"` + + // CustomRedactions is a label → RE2 regex map for user-defined patterns + // to scrub from transcripts. Use it for internal credential shapes the + // bundled detectors don't know about, project codenames, or any other + // string pattern you don't want stored. Each match is replaced with the + // bare "REDACTED" token used by the built-in secret layers, not the + // "[REDACTED_