Expand description
String-based privacy boundary helpers.
These work with the string representation of privacy boundaries (“local_only”,
“encrypted_only”, “any”, “inherit”, or empty) so enforcement logic doesn’t
require the full privacy feature flag.
Functions§
- boundary_
allows_ network - Check if a privacy boundary allows outbound network access.
- boundary_
allows_ provider - Check if a privacy boundary allows the given provider kind.
- boundary_
allows_ recall - Check if a memory entry with
entry_boundaryshould be visible to a query running underquery_boundary. - is_
network_ tool - Check if a tool name is known to require network access.
- resolve_
boundary - Resolve a child boundary against a parent. The result is always at least as strict as the parent.