Before private work can touch any remote model, the Privacy Membrane seals sensitive values into typed
placeholders, audits the outbound JSON for raw or digit-squeezed leaks (throwing MembraneLeak on any hit),
and restores even mangled placeholders in the reply.
[]
Real LLMs often swap brackets ([EMAIL_1], «SSN_1», or bare PERSON_1). Edit to test lenient unsealing:
StreamSealGuard)
Streaming LLMs frequently split credentials across chunks (e.g. "sk-" in chunk 1 and "ant-api03-..." in chunk 2).
StreamSealGuard holds boundary prefixes so raw secrets, SSNs, and emails never emit mid-stream.
StreamSealGuard.// Waiting for stream simulation...