public classification; user-scoped memory allows internal data.
Policy JSON
What It Does
- Requires classification labels on all memory writes (
public,internal,confidential,restricted) - Enforces scope-based rules — global/shared memory only accepts
publicdata; user memory acceptsinternalor lower - Governs reads — agents can only read data at or below their classification level
- Prevents accidental data leakage between scopes with different sensitivity levels
Example
Agent attempts to writeconfidential data to shared memory:
Decision object:
Install
Customize
Related
- Session Scope Only — Simpler approach: restrict scopes instead of classifying data
- Deny Secrets in Memory — Block secrets regardless of classification
- HIPAA Healthcare Pack — Uses
restrictedclassification for PHI - TealMemory Documentation — Full API reference

