Skip to content

v1.5.0

Choose a tag to compare

@Luneswan Luneswan released this 02 Sep 19:02
· 1 commit to main since this release

Keep your own sensitive strings out of an export

Credentials were already stripped automatically. This is the other half: the
strings that are sensitive only to you, an internal hostname, a client name, an
unreleased codename. Nothing generic can guess those, so you list them in
~/.claude/.reworkignore:

# one per line; blank lines and # comments ignored
Northwind Trading
re:\bACME-\d{4,}\b

A plain line matches literally and case-insensitively. Prefix with re: for a
regular expression. Check it before relying on it:

claude-rework redact

That prints how many times each pattern matches your history, shows examples,
reports any regex that will not compile, and names any pattern that matched
nothing. A rule you believe is active but is not is worse than no rule at all.

Patterns apply to everything a bundle carries: message text, activity records,
notes, and each project's context files. Your local index is never modified,
because redacting what you can already read on your own machine helps nobody.
The frequency map is left out of a redacted bundle entirely, so a removed term
cannot reappear as vocabulary.

Verified by checking the decompressed bundle, not the compressed bytes: a
literal term and a regex term are both absent from every member, still present
in the local index, and the bundle still imports and answers.