Repository navigation
recover: opt-in memory redaction (#91) + remove dead Redacted wrapper (#92) → 1.25.0 - #99
Merged
Merged
Conversation
…per → 1.25.0 Recovers two redaction PRs that conflicted with the 1.23/1.24 work: - #91 KIT_MEMORY_REDACT=1 masks secret-shaped substrings in content/tool_input before they land in memory.db (spillage prevention). Off by default. Integrated into the current insertMessage/insertToolUse (post cache-column changes). - #92 remove the dead src/utils/redacted.ts Redacted<T> wrapper (no importers; redactSecrets does the masking). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
✅ Docker image built successfully
|
This was referenced Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The last two PRs from the security batch — both conflicted (not stacked): #91 collided with the 1.23.0
memory statsrewrite ofdb.ts; #92's premise needed re-checking. Resolved + integrated here.KIT_MEMORY_REDACT=1). Masks secret-shaped substrings incontent/tool_input(viaredactSecrets) before they land inmemory.db. Off by default. Re-integrated into the currentinsertMessage/insertToolUse(post cache-column changes from feat(memory): kit memory stats — recall count + token economy + heatmap → 1.23.0 #96).Redacted<T>wrapper. Verified genuinely unused on current main (no importers; masking is done byredactSecrets). Removedsrc/utils/redacted.ts+ test.Verify
db.test18/18 incl. the new redaction tests (raw-by-default + masked-when-enabled); build doesn't break after removal (wrapper truly dead); prettier gate clean.Recovers #91, #92.
🤖 Generated with Claude Code