Rulvar API reference / @rulvar/core / ChildResultPage
Interface: ChildResultPage
Defined in: packages/core/src/orchestrator/handles.ts:125
One page of a settled child's FULL output, returned by the opt-in get_child_result tool. The digest is a wake signal truncated to 400 characters; this is the whole evidence, paged so a large result can be read without overflowing the orchestrator's context in one call (v1.40.0 improvement plan, the narrow RV-201 slice). The content is a deterministic serialization of the child's output (the raw string when the output IS a string, else its JCS-independent JSON.stringify) for a settled ok child, or the child's errorMessage otherwise, so the orchestrator can read WHY a child failed as readily as what it produced; a limit child carrying a structured terminal partial serves { error, partial } instead (RV-210 close-out), so the collected work is pageable in full. Everything here is a pure read of already durable journal state, so a resume reproduces it with no new spend.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
artifacts | { id: string; kind: string; label?: string; }[] | The child's artifacts, id and kind, so the model knows what read_child_artifact can fetch. | packages/core/src/orchestrator/handles.ts:137 |
content | string | The page: content.length is at most the requested (clamped) maxChars. | packages/core/src/orchestrator/handles.ts:133 |
facts? | ChildExecutionFacts | The child's execution facts (RV1503), under the executionFacts opt-in only. | packages/core/src/orchestrator/handles.ts:139 |
handle | number | - | packages/core/src/orchestrator/handles.ts:126 |
hasMore | boolean | True when more characters remain past this page; call again with a higher offset. | packages/core/src/orchestrator/handles.ts:135 |
offset | number | The character offset this page starts at, counted from zero. | packages/core/src/orchestrator/handles.ts:131 |
status | string | - | packages/core/src/orchestrator/handles.ts:127 |
totalChars | number | Length of the whole serialized result, in characters. | packages/core/src/orchestrator/handles.ts:129 |