Skip to content
Français

ObservationScope

import type { ObservationScope } from "@elie-laloum/outpost";
  • executionIdOptional
    string | undefined
    Workflow execution identifier, preserved when resuming its checkpoint.
  • taskKeyOptional
    string | undefined
    Declared workflow task key producing this event.
  • attemptOptional
    number | undefined
    Task attempt number; condition evaluation may use zero.
  • dispatchIdOptional
    string | undefined
    Unique identifier for one cold or warm dispatch, shared across its passes.
  • passOptional
    number | undefined
    Agent pass number within the dispatch.
  • subagentIdOptional
    string | undefined
    Built-in child identifier within the dispatch, propagated from child events without replacing workflow, task or pass scope.
  • candidateOptional
    string | undefined
    Declared speculative candidate key.
export interface ObservationScope {
  readonly executionId?: string;
  readonly taskKey?: string;
  readonly attempt?: number;
  readonly dispatchId?: string;
  readonly pass?: number;
  readonly subagentId?: string;
  readonly candidate?: string;
}