Skip to content

Comments

feat: add configurable output redaction for tool streams#5

Merged
dedene merged 3 commits intomainfrom
feat/output-redaction
Feb 14, 2026
Merged

feat: add configurable output redaction for tool streams#5
dedene merged 3 commits intomainfrom
feat/output-redaction

Conversation

@dedene
Copy link
Owner

@dedene dedene commented Feb 14, 2026

Summary

  • add per-tool redact_output config rules with regex compilation, defaults, and validation limits
  • redact stdout/stderr in daemon output buffering for both inline streaming and file-buffered paths
  • add unit tests for config validation, chunk-boundary behavior, and leak regression

Validation

  • go test ./...
  • go vet ./...

Add per-tool redact_output rules to sanitize stdout/stderr in streaming and file-buffered modes, with validation limits and regression tests to prevent boundary leaks.
Handle nil config values during audit config comparison and add regression coverage for nil-safe behavior.
Add README and config reference guidance for output redaction rules, defaults, and usage examples.
@dedene dedene force-pushed the feat/output-redaction branch from 290018a to 01aee54 Compare February 14, 2026 15:31
@dedene dedene merged commit 7d0f260 into main Feb 14, 2026
2 checks passed
@dedene dedene deleted the feat/output-redaction branch February 14, 2026 15:35
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.

1 participant