Skip to content

recover: opt-in memory redaction (#91) + remove dead Redacted wrapper (#92) → 1.25.0 - #99

Merged
sandstream merged 1 commit into
mainfrom
recover/redact-91-92
Jun 24, 2026
Merged

sandstream merged 1 commit into
mainfrom
recover/redact-91-92

Conversation

@sandstream

Copy link
Copy Markdown
Owner

Summary

The last two PRs from the security batch — both conflicted (not stacked): #91 collided with the 1.23.0 memory stats rewrite of db.ts; #92's premise needed re-checking. Resolved + integrated here.

Verify

  • scoped tsc clean; db.test 18/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

…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>
@github-actions

Copy link
Copy Markdown

✅ Docker image built successfully

  • CLI image: docker.io/sandstream/kit:test

@sandstream
sandstream merged commit e6da58d into main Jun 24, 2026
16 checks passed
@sandstream
sandstream deleted the recover/redact-91-92 branch June 24, 2026 04:39
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