Skip to main content

Type Alias: ChainRefusalCode

ChainRefusalCode = "compose_needs_gate" | "step_missing" | "step_not_chainable" | "side_effects_undeclared" | "step_cycle"

Defined in: packages/agentos/src/cognition/emergent/StepGate.ts:43

Why a step may not be chained: no gate to resolve it (compose_needs_gate), no tool under its name (step_missing), a tool with side effects the host has not listed (step_not_chainable), a tool that does not declare hasSideEffects (side_effects_undeclared), or a chain that reaches itself (step_cycle).