Skip to content

Redaction: an sk- key right after a hyphen - #247

Merged
deepfates merged 2 commits into
mainfrom
claude/sk-after-hyphen
Sep 28, 2026
Merged

deepfates merged 2 commits into
mainfrom
claude/sk-after-hyphen

Conversation

@deepfates

Copy link
Copy Markdown
Owner

Found by the fact-check of the 0.6.0 draft (#246). 0.5.0's Imp.ExternalCommand hid x-sk-… in command output: its own \bsk- replacement treated a hyphen as a word boundary. The one pattern set that replaced it (#226) required that no letter, digit, _ or - come before sk-, so flag x-sk-… set came back unredacted.

The pattern now allows a hyphen before sk-. The command-output differential in test/redaction_differential_test.exs gains the case. With the old pattern that test fails ("key after a hyphen showed what the previous pipeline hid"); with the new one it passes.

  • The redaction, differential, writers and ExternalCommand tests: 104 tests, 0 failures.
  • mix format --check-formatted: clean.

@deepfates
deepfates merged commit 2ef5d01 into main Sep 28, 2026
10 checks passed
@deepfates
deepfates deleted the claude/sk-after-hyphen branch September 28, 2026 14:34
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