The codec registry registers wai.quantum.circuit2 beside wai.quantum.circuit, with
the same media class, tier, licence and replicate class. The registry export, the
vocabulary and the generated REGISTRY.md table are regenerated from it, and SPEC.md
section 5 gains its row and qualifies the circuit/1 row's QFT sentence.
wrap_envelope returns a Result and tags the envelope with the circuit's own
capability. open_envelope decodes the payload and refuses an envelope whose
capability is not the one the container's magic names.
wai_quantum_vectors gen writes the circuit/1 corpus with three table-sensitive
vectors after the four frozen ones, the seven vectors again in circuit2 under v2/,
and 26 reject files with reject.json naming the class each is refused as. verify
checks all three trees: each vector decodes to the capability its entry names and
reproduces its hashes, and each reject file fails with its listed class. The four
original files and their manifest entries are unchanged.
The wai-quantum CLI takes --gateset v1|v2 (default v2) on every command that builds
a circuit and on fabric, reports the capability in its run and fabric JSON, and
prints the circuit/1 table note on standard error only. wai_quantum_meter names the
capability of the circuit it meters.
Co-Authored-By: Claude Opus 5.5 <[email protected]>