`homeboy contract` command reference

Generated from the clap command tree. This page is the complete synopsis, argument, flag, and subcommand surface for this command family.

Concepts, recipes, and contracts are hand-written in docs/commands/contract.md.

Global flags apply to every command and are documented once in the root command reference.

homeboy contract

sh
homeboy contract <COMMAND>

Inspect, export, validate, and normalize Homeboy contract metadata

SubcommandSummary
homeboy contract listList core-owned data contracts
homeboy contract showShow one core-owned data contract by schema id or registry name
homeboy contract exportExport machine-consumable Homeboy contract JSON files
homeboy contract validateValidate a JSON file against a registered generic Homeboy contract
homeboy contract constantsExport Homeboy-owned constants for a generic contract surface
homeboy contract normalizeValidate and normalize generic contract values
homeboy contract materializeMaterialize generic contract envelopes from declarative inputs
homeboy contract manifestPrint the recursive command safety, docs, and output manifest

homeboy contract list

sh
homeboy contract list

List core-owned data contracts

homeboy contract show

sh
homeboy contract show <SCHEMA_ID_OR_NAME>

Show one core-owned data contract by schema id or registry name

ArgumentRequiredDescription
<SCHEMA_ID_OR_NAME>yesSchema id or short registry name

homeboy contract export

sh
homeboy contract export [OPTIONS]

Export machine-consumable Homeboy contract JSON files

OptionValueDescription
--dir<DIR>Directory to receive exported JSON contract files

homeboy contract validate

sh
homeboy contract validate [OPTIONS] <SCHEMA_ID>

Validate a JSON file against a registered generic Homeboy contract

ArgumentRequiredDescription
<SCHEMA_ID>yesContract schema id to validate against
OptionValueDescription
--file<PATH>JSON file to validate

homeboy contract constants

sh
homeboy contract constants <CONTRACT_ID>

Export Homeboy-owned constants for a generic contract surface

ArgumentRequiredDescription
<CONTRACT_ID>yesContract ID: all, artifact-manifest, artifact-paths, loop, secret-env-plan, resource-lifecycle-index, host-mutation-lifecycle, run-location-index, runner-execution-record, path-materialization-plan, run-outcome-envelope, run-artifact-files, runtime-artifacts, runner-artifact-manifest-ref, reviewer-facing-ref

homeboy contract normalize

sh
homeboy contract normalize [OPTIONS] <KIND>

Validate and normalize generic contract values

ArgumentRequiredDescription
<KIND>yesContract value kind to normalize Values: artifact-ref, path-materialization-plan, run-lifecycle-status, runner-execution-record, run-outcome-envelope.
OptionValueDescription
--input<JSON>JSON value to normalize. If omitted, stdin is read
--input-file<PATH>Read JSON value to normalize from a file

homeboy contract materialize

sh
homeboy contract materialize [OPTIONS] <KIND>

Materialize generic contract envelopes from declarative inputs

ArgumentRequiredDescription
<KIND>yesContract value kind to materialize Values: secret-env-handoff, secret-env-plan.
OptionValueDescription
--input<JSON>JSON request to materialize. If omitted, stdin is read
--input-file<PATH>Read JSON request to materialize from a file

homeboy contract manifest

sh
homeboy contract manifest

Print the recursive command safety, docs, and output manifest