Repository navigation
Tooling only; the schema set is still 1.2 and /1.x/ serves the same bytes. Found by pinning the
reference implementation to 1.2.0: the type generator, the Pages deploy on a tag, and the narrowing
vectors being the reference's own bytes. One additive field, capabilities.tool_args on the plugin
schemas, so capabilities stays the lease allow shape property for property.
Fixed
- The type generator reads
.schema.jsononly, nameslease-record, and says what a type cannot.
It tripped overschemas/index.jsonand had no name for the record; and it silently dropped every
keyword TypeScript has no words for. The generated file's header now lists them, per keyword with a
count and an example site (allOfwithif/then,propertyNames,pattern, the bounds), so a
reader of the types knows to validate with the schema as well. capabilities.tool_argson both plugin schemas: the leaseallowshape, property for property,
now thatallowcarriestool_args(development stability, as there).- The narrowing vectors are the reference's bytes.
tool-args-droppedwas added by hand in 1.2.0;
the file is now regenerated from the reference implementation (CDF Harness) as the others always
were, which placed the vector second and gave it thediffthe generator records. - A valid lease-record fixture's reason no longer contains the word "secret", which the reference
deployment's corpus hygiene test bans as a marker. - The frozen copy deploys after a release. The github-pages environment admits
mainonly, so
the tag push that was meant to lay out/1.2.0/was refused at the deploy step;release.ymlnow
dispatchespages.ymlonmainafter publishing (it fetches every tag), and the tag trigger is
gone. 1.2.0's copy was deployed by hand the same way and is byte-identical to the tag.
npm: https://www.npmjs.com/package/@cognitive-delivery/contract/v/1.2.1
Provenance: published from this workflow run with npm publish --provenance; verify with npm audit signatures after installing, or search Sigstore for pkg:npm/%40cognitive-delivery/contract@1.2.1.
Schemas: https://cognitive-delivery.github.io/contract/1.x/