Skip to content

Glossary ​

The words used across these docs, including the aliases you may meet in command names and settings.

TermAlso calledMeaning
Gatewayproxy (the command is pii-airlock proxy)A small server on your computer. Your AI tool talks to it instead of the provider; it swaps placeholders in and out automatically.
HookA checkpoint inside Claude Code or Copilot. It inspects a prompt or a tool call before it is sent and can block it or ask you.
PlaceholdertokenWhat replaces a real value in the text the AI sees, for example <PERSON_482913>. Placeholders explained.
Mapmapping, mapping fileThe file pairing each placeholder with the original value. It is what makes restoring possible, and it is sensitive. Data handling.
Helperdaemon (the command is pii-airlock daemon)The background process that keeps the detection models loaded so hook checks take ~60 ms.
Typeentity (settings use entities, entity_actions)A category of personal data: PERSON, EMAIL_ADDRESS, IBAN_CODE… What it detects.
Base URLThe address a tool sends its AI requests to. Pointing it at the gateway is how the gateway intercepts traffic.
Project home.pii-airlock/The folder init creates. Its presence switches the hooks on for that project.
Policyproject policy, rulesYour allow/deny lists, actions and patterns, stored in .pii-airlock/config.yaml. The policy file.
Thresholdscore_thresholdThe minimum confidence (0 to 1) before a detection counts. Lower catches more, with more false alarms.
Fail closedWhen detection cannot run, treat the input as sensitive (the default). "Fail open" means letting it through instead.
Scrub / restoreclean / put backscrub replaces personal data with placeholders; restore puts the originals back in a reply.
RecognizerOne detector for one type, for example the checksum check for French social security numbers.
TrustAccepting a downloaded project's policy after reviewing it, so its loosening settings apply too. Trust.

Released under the MIT License.