Functions
pauseDemandsDecision
Function: pauseDemandsDecision()
pauseDemandsDecision(
pauseData):ConsentGate|undefined
Defined in: src/core/pause.ts:162
Read a pause payload and say whether answering it requires a
CheckInDecision — and if so, which gate is outstanding.
THE ONE reader of that shape. RunnerBase.detectPause builds
outcome.checkIn / outcome.ask from this, and Agent.resume refuses a
mis-shaped answer from this, so the surface a consumer is told about and the
surface the library enforces cannot drift apart.
Keyed on the PAUSE, never on the input: a plain askHuman answer is a string
and must stay one, so "is this the right answer?" can only be decided by
knowing what was asked.
Parameters
pauseData
unknown
Returns
ConsentGate | undefined
the gate, or undefined when this pause takes any value.
