Skip to content

@intutic/gate / core / IntuticGateHold

Class: IntuticGateHold ​

Raised when a hold rule stopped the call to ask a person first (codeHELD). A subclass, so a caller that stops on every refusal stops on this too; one that tells the user about holds catches it first.

holdId names the hold in the review queue, and is undefined when the hold could not be recorded (no control plane to record it in), in which case there is nothing to approve yet. .message starts [Intutic Governance] HELD:, as the hook gates print a hold, and says who can approve it and when a retry passes. See hold.ts.

Extends ​

Constructors ​

Constructor ​

ts
new IntuticGateHold(reason, holdId): IntuticGateHold;

Parameters ​

ParameterType
reasonstring
holdIdstring | undefined

Returns ​

IntuticGateHold

Overrides ​

IntuticGateRefusal.constructor

Properties ​

PropertyModifierTypeDescriptionInherited from
codereadonly| "GOVERNANCE_UNAVAILABLE" | "INSUFFICIENT_SCOPE" | "DECIDE_REFUSED" | "DECIDE_ESCALATED" | "PREREQUISITE_UNMET" | "OUT_OF_SCOPE" | "OFF_PLAN" | "PLAN_NOT_APPROVED" | "COMMAND_NOT_ALLOWED" | "SSO_GROUP" | "SNAPSHOT" | "HELD" | "SERVER_BLOCKED" | "SERVER_HELD" | "SERVER_NOT_APPROVED" | "TOOL_DISABLED" | "SERVER_NOT_ALLOWED" | "POLICY_SNAPSHOT_UNVERIFIED" | "SOP_RULE" | "HOOK_GATE" | "COMMAND_TOO_LARGE" | "CHAOS_FAULT" | "E_UNPINNED_LATEST" | "E_UNPINNED_TAG" | "E_UNKNOWN_REGISTRY" | "E_UNKNOWN_IMAGE" | "E_DIGEST_MISMATCH" | "E_MANIFEST_UNPARSEABLE" | "WORKFLOW_SANDBOX" | "NO_GATE"-IntuticGateRefusal.code
evidencereadonlyRefusalEvidence[] | undefinedWhat the refuser saw, bounded; undefined when nothing, and in OPAQUE.IntuticGateRefusal.evidence
holdIdreadonlystring | undefined--
incidentIdreadonlystring | undefined-IntuticGateRefusal.incidentId
reasonreadonlystring-IntuticGateRefusal.reason
scopereadonlyRefusalScope | undefinedWhere the refusal applies, so a retry can stay out of it (paths, tools, step, detector, rule), bounded as refusalDetail.ts says. Undefined when the refusal names none, and always in an OPAQUE workspace.IntuticGateRefusal.scope

The circuit breaker for AI agents