Skip to content

Conformance corpus still uses type: INTEGER — should be NUMBER per §10 #54

Description

@justinmerrell

Summary

Spec §10 defines the primitive shape vocabulary as STRING, NUMBER, BOOLEAN, JSON. The conformance corpus at least two places still uses the (now-retired) INTEGER token:

  • conformance/component/v1/structural/036-public-port-on-udp-endpoint/case.yaml — line ~24: type: INTEGER on gamePort input schema.
  • conformance/blueprint/v1/semantic/012-connection-type-mismatch/tree/acme-wiki/components/postgres.yamlport output declares type: INTEGER.

Why it matters

A validator that has aligned its wire vocabulary with §10 (i.e. accepts NUMBER, rejects INTEGER) now:

  • fails structural-036 structurally with ERR_INVALID_VALUE instead of the corpus's expected pass;
  • silently accepts semantic-012 (the postgres component fails structural before its INTEGER↔STRING mismatch can be evaluated), producing "platform accepted the document" instead of the expected ERR_INCOMPATIBLE_TYPE.

Proposed change

Rename type: INTEGERtype: NUMBER in both fixtures. This aligns the corpus with §10's vocabulary and unblocks conformant validators.

Downstream

Filed from musher-dev/platform PR #1997, which adopted the §10 vocabulary and had to add a pin for the two cases until this lands.

/label bug conformance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions