Skip to content

Validate the complete wavec dry-run schema v1 contract #40

Closed

Description

@LunaStev

Motivation

Vex validates only the presence and broad top-level types of the dry-run plan. Array element shapes and many nested fields are not checked, so an incompatible compiler can pass preflight and fail later in less actionable ways.

Acceptance criteria

  • Encode the schema v1 contract as typed deserialization or an equivalent complete validator.
  • Validate every required field and nested object used by Vex.
  • Decide and document how unknown additive fields are handled.
  • Include JSON paths in type and missing-field errors.
  • Add fixtures for valid build, check, run, link, and no-link plans.
  • Add negative fixtures for each required nested shape.
  • Keep future schema versions rejected until explicitly supported.
  • Avoid coupling Vex to fields it does not need unless the schema marks them required.

Activity

  1. added
    enhancement
    wave compatibility
    stability
    on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementstabilitywave compatibility

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions