Parent epic: #31
Problem
Machine consumers need a stable contract that is independent of terminal formatting, colors, and prose changes.
Scope
Define the common protocol used by every structured Hum command.
A successful response should expose at least:
schemaVersion
- command identity
- project and template context when applicable
- a command-specific
data payload
A structured failure should expose at least:
schemaVersion
- a stable error
code
- a safe human-readable
message
- optional structured
details
- the documented process exit code
Acceptance criteria
Parent epic: #31
Problem
Machine consumers need a stable contract that is independent of terminal formatting, colors, and prose changes.
Scope
Define the common protocol used by every structured Hum command.
A successful response should expose at least:
schemaVersiondatapayloadA structured failure should expose at least:
schemaVersioncodemessagedetailsAcceptance criteria