Skip to content

v2.0.0: Inline Schema Encoding

Choose a tag to compare

@blackwell-systems blackwell-systems released this 13 Jun 06:18
· 77 commits to main since this release

v2.0.0: Inline Schema Encoding

The generic profile encoder now produces inline schema format for nested objects with 3+ scalar fields. This is a breaking change from v1.x output.

Breaking Changes

  • encodeGeneric output format changed (inline schemas, no attachment indentation)
  • Decoders no longer accept v1.x indented attachment syntax
  • Comma no longer quoted in pipe-delimited contexts (only in comma-delimited inline arrays)
  • Strings starting with digits no longer quoted unless they match JSON number grammar

New Features

  • Inline object schema (^{fields}): nested objects encoded positionally
  • Shared array schemas: identical nested arrays omit field headers after first row
  • 25.5% fewer tokens than TOON across 15 real-world datasets

Integrity

  • 1B+ lossless round-trip iterations across 6 language implementations
  • 100% comprehension accuracy on every frontier model tested
  • 156 conformance fixtures passing

Full spec: https://github.com/blackwell-systems/gcf/releases/tag/v3.0.0