Skip to content

Add redacted config snapshot method for safe diagnostics#3429

Open
fedexcc wants to merge 1 commit into
orchestration-agent:mainfrom
fedexcc:codex/bounty-3015-redacted-config
Open

Add redacted config snapshot method for safe diagnostics#3429
fedexcc wants to merge 1 commit into
orchestration-agent:mainfrom
fedexcc:codex/bounty-3015-redacted-config

Conversation

@fedexcc
Copy link
Copy Markdown

@fedexcc fedexcc commented May 23, 2026

Fixes #3015

Summary

  • add Config.to_redacted_dict() to safely serialize config for diagnostics
  • mask sensitive key patterns (password, token, key, secret, auth, credential)
  • preserve to_dict() for trusted internal full snapshots
  • add regression tests for nested dict and list redaction behavior

Validation

  • pytest -q tests/test_config.py
  • 7 passed

/claim #3015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ Bounty $3k ] [ Config ] Provide redacted config snapshots — diagnostic output

1 participant