Replace personal data with typed placeholders in both directions
Create one redaction rule that lists the kinds of personal data to catch and the placeholder to write in their place. Policy then applies the rule to prompts and responses alike. Call the policy check on sample text to test the rule before you send real prompts through it.
Impact
Policy returns the test prompt about Mireille Lacroix with her social security number replaced by [REDACTED:ssn].
Prompt for a coding agent: Redact social security numbers from prompts and responses, and test the rule first.
Select a file to view its contents
