command:envelope

command:envelope@0.0.0

A document is written as one of commandEnvelope.

manifestInfo

FieldTypeRequiredDefaultDescription
pathstringYesPath of the manifest file the run resolved

errorDetail

FieldTypeRequiredDefaultDescription
codestringYesThe error's code, such as MANIFEST_VALIDATION_FAILED: what a caller matches on and a reader searches for
messagestringYesWhat went wrong, in words, for whoever reads the answer

commandData

FieldTypeRequiredDefaultDescription
valueanyYesThe command's answer, written to the definition its config names as output; null where the run was refused before the command answered

commandEnvelope

FieldTypeRequiredDefaultDescription
schemaVersionversionYesThe version of this document's schema that this document was written under -- granted by the meta-schema to every definition named in metadata.documentRoots, never declared
commandstringYesThe name of the command that ran, without the group it was invoked under
commandVersionversionNoThe version of the contract the answering command declares in its config, absent from a refusal made before the command config was read
resourcestringNoThe group the command was invoked under, the nearest where groups nest; absent for a command with none
statusstringYessuccess where exitCode is 0, and error otherwise
exitCodeintegerYesThe code the process exits with: 0 for a success
startedAtstringYesWhen the run started, in UTC as ISO 8601 to the whole second: 2026-01-31T12:00:00Z
endedAtstringYesWhen the command answered, in UTC as ISO 8601 to the whole second
durationMsintegerYesMilliseconds from the run's start to its answer, taken before either time is cut to the second
repoRootstringYesThe root of the repository the run acted on; as the run was given it where it was refused before the root was settled
manifestmanifestInfoNoThe manifest the command ran against; absent for an application that reads none
datacommandDataYesThe command's answer, under value
errorslist[errorDetail]YesThe errors the run answered with, in order; empty where there were none