mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-14 14:43:16 -06:00
977c8e9d37
Sensitive log redaction became unconditional and `logging.redactSensitive` was retired from the config schema, but the policy doctor still classified `dataHandling.sensitiveLogging.requireRedaction` as an automatic repair that would have written the retired key back into config. Remove the automatic repair (check-id registration, patch branch, and the `enableSensitiveLoggingRedaction` writer), drop the `logging.redactSensitive` config target, and reclassify the check as `validateOnly`. The check keeps evaluating the policy declaration against the redaction invariant; it just no longer claims a fixable config target. Refresh the policy docs, the finding fix hint, and a stale comment in `src/logging/redact.ts`.