{"version":"2.1.238","anchor":"prompt-history-secret-redaction-catches-more-cases","canonical_anchor":"prompt-history-secret-redaction-catches-more-cases","heading":"Prompt-history secret redaction catches more cases","tier":"notice","area":"Prompt History","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238\/e\/prompt-history-secret-redaction-catches-more-cases","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238","markdown":"### Prompt-history secret redaction catches more cases\n\nPrompts containing secrets are kept out of your history in more cases, including `!` commands.\n\n**What**\n\nThe check that keeps a prompt with a secret in it out of your history now also inspects shell commands typed with a leading `!`, scans long text in overlapping pieces so a secret spanning a boundary is still caught, and only looks at pasted blocks the typed text actually refers to.\n\n**Details**\n\n- The old helper that only examined slash commands was removed.\n- Runs unconditionally, aside from the existing `CLAUDE_CODE_SKIP_PROMPT_HISTORY` opt-out.\n\n**Evidence**\n\n`CLAUDE_CODE_SKIP_PROMPT_HISTORY`\n\n- Area: Prompt History\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}