Skip to content

Runtime Bindings schema v2 and canonical validation #137

@zack-nova

Description

@zack-nova

Parent

#136

What to build

Implement the first public Runtime Bindings document contract end to end for the canonical .harness/vars.yaml path. This slice should make schema 2 parseable, validatable, and stably writable with inline values, explicit value sources, and existing Scoped Bindings shape, without depending on install onboarding or template rendering changes.

Acceptance criteria

  • .harness/vars.yaml is the canonical Runtime Bindings path for public validation/path behavior; .orbit/vars.yaml is not used as a public compatibility path.
  • Runtime Bindings schema 2 accepts variables.<name>.value, variables.<name>.value_from.env, variables.<name>.value_from.file, and scoped_variables.<namespace>.variables.<name> with the same binding leaf shape.
  • Schema validation rejects schema 1, scalar shorthand, invalid variable names, invalid scoped namespaces, binding leaves with both value and value_from, binding leaves with neither, and blank value_from entries.
  • Stable marshaling preserves the schema 2 shape for global and scoped Runtime Bindings.
  • hyard vars path reports .harness/vars.yaml as the canonical Runtime Bindings file.
  • hyard vars validate validates the schema 2 file and returns actionable errors for invalid shape.

Blocked by

None - can start immediately

Metadata

Metadata

Assignees

No one assigned

    Labels

    delivery-mode:afkDelivery expected to proceed through objective repository gatesstate:mergedWork has landedtype:featureFeature work item

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions