Skip to content

@intutic/gate / core / Snapshot

Class: Snapshot ​

Constructors ​

Constructor ​

ts
new Snapshot(): Snapshot;

Returns ​

Snapshot

Properties ​

PropertyTypeDefault valueDescription
ageDaysnumber0-
digeststring'none'-
droppedRulesnumber0Regexes that would not compile.
generatedAtstring''-
mcpAllowlistMcpAllowlistRecord | nullnullThe workspace's mcpAllowedServers list (the @mcp_allowlist record), or null when it set none. Null on a snapshot that fails its integrity check, as mcpRegistry is.
mcpRegistryMcpRegistryRecord | nullnullThe workspace's MCP server registry decisions (the @mcp_registry record), or null when it made none. Null on a snapshot that fails its integrity check, on which the gate admits no MCP server at all (mcpSnapshotUnverifiedRefusal): a deleted record looks like one never set, so neither record can be vouched for.
opaquebooleanfalseThe workspace is OPAQUE (the @intervention_mode record): a refusal on workspace policy tells the agent OPAQUE_REFUSAL_MESSAGE, not the rule, and the event keeps the rule. Kept on a snapshot that fails its integrity check, since it only ever hides text and never allows a call.
rulesRule[][]-
ssoGroupsSsoGroupRecord | nullnullThe workspace's SSO-group policy and the member this snapshot was issued to, or null when the workspace has no group policy. On a snapshot that fails its integrity check the member is null — groups unknown — so an edited group list in the file clears nothing.
stateSnapshotState'absent'-
workspaceIdstring''-

Accessors ​

healthMessage ​

Get Signature ​

ts
get healthMessage(): string;
Returns ​

string

The circuit breaker for AI agents