Skip to main content

Variable: FORGE_TRACE_STAGES

const FORGE_TRACE_STAGES: readonly ["guardrail_refused", "schema_check", "refused_before_approval", "shape_check", "host_refused", "orchestrator_refused", "permission_check_failed", "human_denied", "approval_timed_out", "approval_failed", "self_change_refused", "name_refused", "description_missing", "engine_disabled", "compose_refused", "compose_needs_step_output", "caller_context_required", "sandbox_disabled", "allowlist_unknown", "effects_need_ceiling", "capability_not_granted", "code_validation", "executor_unavailable", "test_responses_refused", "judge_rejected", "test_output_unserializable", "compose_refused_after_judge", "step_cycle", "removed_while_forging", "activation_failed", "registration_failed", "approved", "thrown"]

Defined in: packages/agentos/src/cognition/emergent/ForgeTrace.ts:36

The stage codes this release writes. The set grows: read a stage as a string and keep a default branch.