output-contractAvailable
Final summary
Emits one compact JSON success object containing execution, persistence, and UI-state facts.
Reference contract
| Field | Value | Description |
|---|---|---|
| ok | true on committed success | — |
| input | resolved input project path | — |
| output | resolved committed output project path | — |
| log | resolved text log path | — |
| sourceKind | generated or custom | — |
| saveCount | number of staged model.save() snapshots | — |
| savedModelRevision | revision captured by the committed save | — |
| modelRevision | final in-memory model revision | — |
| studies | unique executed system-solver labels | — |
| datasets | published result-dataset labels | — |
| durationSeconds | maximum measured end-to-end/workflow duration | — |
| warnings | transaction and unsaved-change warnings | — |
| diagnostics | project pack diagnostics | — |
| stdout | captured custom workflow standard output | — |
| stderr | captured custom workflow standard error | — |
| uiState.fileName | saved UI project filename | — |
| uiState.meshNodes | saved native mesh node count | — |
| uiState.meshTets | saved native tetrahedron count | — |
| uiState.resultCount | saved UI result-row count | — |
On success, Batch writes this object as the final stdout line and returns exit 0. Without --json-progress it is the only stdout JSON record. Failure paths write a concise message to stderr and do not emit a success summary. Consumers should parse the last nonempty stdout line when progress streaming is enabled.