Member Junction
    Preparing search index...

    Everything the judge needs to evaluate whether the goal is met. Uses a "pull" pattern — the judge receives all context in one object rather than the engine pushing individual pieces.

    Index

    Constructors

    Properties

    ApplicationContext?: string

    Free-form application context, threaded through to the judge prompt.

    ControllerRequestedJudgement: boolean = false

    Whether the controller explicitly requested this judgement evaluation.

    CurrentDiagnosticsDigest: string = ''

    Compact digest of the current step's browser diagnostics — console errors, failed requests, crashes. Lets the judge explain an infrastructure state (blank page = ChunkLoadError) instead of hallucinating a reason. '' when clean.

    CurrentScreenshot: string = ''

    Current screenshot as base64 PNG

    CurrentScreenshotHash: string = ''

    Perceptual (dHash) fingerprint of the current screenshot. Lets the heuristic judge detect stagnation across near-identical frames — including animated spinners, which byte-equality never catches — without re-decoding the PNG (the engine computes the hash once at capture). '' when unavailable.

    CurrentUrl: string = ''

    Current URL of the browser

    Goal: string = ''

    The natural-language goal being pursued

    IsCheckpointTour: boolean = false

    Whether this run is a checkpoint tour. Tours are scored by latching sections as the trajectory passes through them, so the judge is the ONLY way a visual criterion can ever latch. The navigation-shape heuristics (stuck-frame, URL loop) must therefore not preempt the LLM judge here — see HeuristicJudge.

    MaxSteps: number = 0

    Maximum steps configured for this run

    ScreenshotHistory: string[] = []

    Recent screenshots as base64 PNGs (bounded by ScreenshotHistoryDepth)

    Signal?: AbortSignal

    Cancellation signal, passed through to the judge prompt request so an in-flight judge LLM call aborts promptly when the run is stopped.

    StepHistory: StepRecord[] = []

    History of all steps executed so far

    StepNumber: number = 0

    Current step number (1-indexed)

    ValidationCriteria?: string[]

    Validation-criteria rubric for this run — the test's authored pass criteria. When present, the judge returns a per-criterion verdict and Done is derived as all-criteria-met. Empty → the judge uses its scalar assessment of the goal.