MCPcopy
hub / github.com/garrytan/gstack / redact-engine-autoredact.test.ts

File redact-engine-autoredact.test.ts

test/redact-engine-autoredact.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Auto-redact tests (T15) — applyRedactions() substitutes redact tokens for the
3 * cleanly-substitutable PII patterns, right-to-left so offsets stay valid,
4 * refuses to mangle structural tokens, and is idempotent (re-scan after = clean).

Callers

nothing calls this directly

Calls 3

applyRedactionsFunction · 0.90
scanFunction · 0.90
testFunction · 0.70

Tested by

no test coverage detected