Tenant Isolation & Data Leak Prevention
Keeps every customer/tenant completely walled off so data can never leak across accounts.
A shared multi-tenant agent could accidentally include Customer A’s invoice inside Customer B’s answer.
Every database read, context item, and final reply is strictly checked against tenant boundaries.
What It Does (In Plain English)
Tenancy manages per-user access scopes and runs cross-tenant Data Leak Prevention (DLP). Even if a prompt tries to trick the model into repeating another tenant’s confidential canary or record, Tenancy catches it on both input (context.build) and output (output.release) and blocks it silently.
Real-World Example
- 1Operator registers Tenant A’s confidential DLP marker.
- 2Tenant B runs a task and an accidental mix-up tries to surface Tenant A’s marker.
- 3Tenancy blocks the output before release without revealing what marker matched or who owns it.
When Should You Turn It On?
Required automatically at Level 1 (review) and above.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
kits:
- "@neusym/kit-tenancy@0.1.0"
grants:
systemStore: [tenancy]Kits It Works With
Technical Details & Configuration Options (0 settings)
| Package | @neusym/kit-tenancy |
|---|---|
| Provides Ports | scopes@1dlp@1 |
| Requires Ports | None |
| Optional Ports | None |
| Publishes Events | scope.revoked |
| Owned DB Collections | scopesdlp_markers |
This kit requires zero custom configuration options.