Member Junction
    Preparing search index...
    ClaimGateDecision:
        | { mode: "open" }
        | { mode: "closed" }
        | { mode: "step"; taskIDs: string[] }
        | { mode: "breakpoint"; taskID: string }

    What the claim gate decided for one graph on one pass.

    Type Declaration

    • { mode: "open" }

      Not paused, no breakpoint in the eligible set — claim normally.

    • { mode: "closed" }

      Paused with no step allowance — claim nothing, notify nobody.

    • { mode: "step"; taskIDs: string[] }

      Paused with a step allowance — the caller may claim taskIDs this pass (after consuming the marker CAS-style; a lost consume means another instance is stepping).

    • { mode: "breakpoint"; taskID: string }

      An eligible task has a breakpoint — the caller should pause the graph (CAS), announce BreakpointHit, and claim nothing this pass.