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.yaml — port 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: INTEGER → type: 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
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)
INTEGERtoken:conformance/component/v1/structural/036-public-port-on-udp-endpoint/case.yaml— line ~24:type: INTEGERongamePortinput schema.conformance/blueprint/v1/semantic/012-connection-type-mismatch/tree/acme-wiki/components/postgres.yaml—portoutput declarestype: INTEGER.Why it matters
A validator that has aligned its wire vocabulary with §10 (i.e. accepts
NUMBER, rejectsINTEGER) now:structural-036structurally withERR_INVALID_VALUEinstead of the corpus's expected pass;semantic-012(the postgres component fails structural before its INTEGER↔STRING mismatch can be evaluated), producing "platform accepted the document" instead of the expectedERR_INCOMPATIBLE_TYPE.Proposed change
Rename
type: INTEGER→type: NUMBERin 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