Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / SpawnRecord

Interface: SpawnRecord

Defined in: packages/core/src/orchestrator/handles.ts:173

One spawned child tracked by the orchestrator runtime.

Properties

PropertyTypeDescriptionDefined in
abort() => void-packages/core/src/orchestrator/handles.ts:187
ceilingUsd?numberThe child's declared money (RV4906): the spawn's budgetUsd, else the profile's estCost; absent when neither was declared. Read by the acceptance fold's binding constraint profile.packages/core/src/orchestrator/handles.ts:186
escalationFlavor?"A" | "B"The spawn's escalation flavor, captured at dispatch.packages/core/src/orchestrator/handles.ts:189
handlenumber-packages/core/src/orchestrator/handles.ts:174
logicalTaskIdstring-packages/core/src/orchestrator/handles.ts:177
nodeIdstring-packages/core/src/orchestrator/handles.ts:176
resultPromise<AgentResult<unknown>>Settles with the child's full result; never rejects.packages/core/src/orchestrator/handles.ts:179
settled?AgentResult<unknown>-packages/core/src/orchestrator/handles.ts:180
spawnOrdinalnumber-packages/core/src/orchestrator/handles.ts:175