Releases that read only 1.x manifests ignore the dataset declaration and
each row's role, so they extract from select, calibrate and locked test
rows. Gating dataset packs on a new major version makes those releases
reject the pack ("Unsupported schema_version") instead.
- Accept schema majors 1 and 2; 2.x keeps every 1.x field.
- manifest.dataset now requires schema_version 2.0+ (was 1.3+, never
released). 1.x packs without a dataset are unchanged.
- Compare versions as (major, minor) tuples. The selector gate in
pack.py compared only the minor number and would have rejected 2.0.
- Unknown-major tests now use 3.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The new if/not schema support made the generic schema pass reject
version-gated fields first, so authors got "forbidden field or value"
instead of the schema_version the field needs, and three existing
token-policy tests failed. Check entry_point, special_token_policy and
dataset against schema_version before the schema pass.
A neighbour or battery set whose rows were all assigned to non-fit roles
was passed to extraction and gating empty. Require fit rows in every
declared set.
Document that older releases ignore the dataset declaration and extract
from every row. Hoist the similarity normalizer out of the pair loop.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>