Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / ResolvedSandboxPolicy

Interface: ResolvedSandboxPolicy

Defined in: packages/security/src/sandbox/sandbox.ts:76

Per-tool / per-skill sandbox policy. The dispatcher resolves the effective policy from the trust tier, the source, and any operator overrides; downstream code consumes the resolved object verbatim.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
forcedreadonlybooleanWhether the resolver mandated this policy regardless of operator preference.packages/security/src/sandbox/sandbox.ts:87
kindreadonlySandboxKind-packages/security/src/sandbox/sandbox.ts:77
maxMemoryMbreadonlynumberMemory ceiling in MB.packages/security/src/sandbox/sandbox.ts:85
noFilesystemreadonlybooleanBlock filesystem access.packages/security/src/sandbox/sandbox.ts:81
noNetworkreadonlybooleanBlock outbound network calls.packages/security/src/sandbox/sandbox.ts:79
reasonreadonlystringHuman-readable explanation surfaced through traces / WARN logs.packages/security/src/sandbox/sandbox.ts:89
timeoutMsreadonlynumberHard wall-clock timeout in milliseconds.packages/security/src/sandbox/sandbox.ts:83