Skip to content

2026.10.17: redaction rules match as written or by regex, with a case switch; pin core v0.71.0 - #326

Merged
fylorn merged 2 commits into
devfrom
feat/redact-match-modes
Oct 12, 2026
Merged

fylorn merged 2 commits into
devfrom
feat/redact-match-modes

Conversation

@fylorn

@fylorn fylorn commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

What

  • Custom outbound-redaction rules get Match by (Contains / Regex, Contains by default) and a Match case toggle (off by default). The dialog's hint, the live test, saving, the rule list and the security-log detail follow them.
  • Pins core v0.71.0 (control API 47): redaction no longer searches field names, custom rules skip protocol identifiers (ids, types, roles, tool names, model names) while built-in rules still search them, and the private-key rule stays within one text.
  • Version 2026.10.17 with English release notes (release-notes/2026.10.17.md).

Upgrade

Custom redaction rules written before this release were case-sensitive regexes; they now match text as written, ignoring case. The release notes tell users to switch regex rules to Regex.

Tests

Typecheck, vitest (1192), Rust lib/msg_codes/ts_bindings, clippy, and tests/control_plane.rs against a twcore built from the v0.71.0 tree.

🤖 Generated with Claude Code

fylorn and others added 2 commits October 12, 2026 12:46
…th a case switch

A custom redaction rule now has the same "match by" choice as content rules,
minus code points: Contains (the text as written, the default) or Regex.
Next to it, a "Match case" toggle; off by default. The pattern hint, the
live test, saving, the rule list and the security-log detail all follow it.

Needs core with control API 47; the generated types already describe it, the
pin moves when core is tagged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Core 0.71.0 (protocol 47): redaction keeps away from field names and, for
custom rules, from protocol identifiers; the private-key rule stays within
one text; custom redaction rules match text as written or by regex, with a
case switch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 7f3e95a into dev Oct 12, 2026
5 checks passed
@fylorn
fylorn deleted the feat/redact-match-modes branch October 12, 2026 05:52
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