Files
schemas/docs/compatibility.md

4.4 KiB

Compatibility

Contracts comprise their versioned JSON Schema and adjacent semantic document. The initial release 2026.11.0 contains glossary, RPG party, and RPG campaign at 0.1.0. These independent schema versions remain pre-stable.

Independent identities

  • Repository distribution: CalVer YYYY.MM.MICRO, with UTC year, zero-padded month, and a publication counter starting at zero each month. The counter conveys no compatibility guarantee.
  • Schema version: full SemVer, independently selected per schema, represented by its v<version>/ directory.
  • Document generation: maximumdirect.glossary.v1, maximumdirect.rpg.party.v1, or maximumdirect.rpg.campaign.v1.
  • Canonical schema identity: https://schemas.maximumdirect.net/ plus the exact repository-relative schema path. It stays unchanged across repository snapshots.

A compatible schema update retains its document marker. Incompatible structure or meaning changes the affected marker, including during pre-stable development. Independent stable schemas use SemVer: major for incompatibility, minor for compatible additions, patch for compatible corrections. Pre-stable versions express developing maturity; 1.0.0 is selected when adoption establishes a stable contract. Document generation is not derived from schema or Go module major.

Published contracts

Published version directories, including semantics and examples, remain available byte-for-byte. A change requires a new schema version. Retain old records in catalog.json. Later CalVer snapshots may add versions without changing unrelated schemas. Exact publication dates belong in release notes.

Hosting exposes raw repository files directly from main, including candidates. Only published tags and their inventories establish released versions. A source release completes at successful upstream publication; live URL inspection is optional delivery verification. Hosting selection and consumer adoption are independent of source publication.

Consumer selection and compatibility

Select a published CalVer archive and exact name@version entries from its catalog. For example, select glossary@0.1.0 from 2026.11.0 after that distribution is published. Bundle glossary/v0.1.0/ with its schema, semantic document, and any exact-version dependency directories referenced by the schema. Register canonical IDs against bundled files for offline resolution. No Go module dependency is required.

For an update, review that schema's compatibility and migration notes, replace the selected bundled directories, test application behavior, and commit the selected schema versions and source distribution. Unrelated schema updates can be ignored. Migration is explicit, with no automatic conversion or legacy reader.

A new consumer reads supported older documents. An older consumer may preserve new optional extensions without interpreting them. Additions are compatible only when ignoring them preserves known meanings; otherwise select a new contract generation or an explicitly selected extension contract. Forwarded documents preserve extensions; task-specific projections may omit them. Consumers may require more data for a particular operation than schema conformance requires.

Each contract change includes compatibility assessment, updated semantics, examples and focused fixtures, and migration guidance where needed. Retain valid supported-release fixtures as evidence. Schema diffs alone cannot establish unchanged meaning.

Existing consumers

No current application is declared compatible by this repository's readiness.

Consumer Later adoption responsibility
Narratio Adopt the RPG party marker, plural aliases, optional attributes, and shared glossary envelope; separate campaign context from operational configuration.
Audita v4.2.0 Adopt the glossary envelope and obtain task instructions from application configuration.
Notarius v0.9.0 Reconcile shared spell entries and provenance with embedded vocabulary, recognition, merges, and ambiguity policy.
Scriptorium prompts Adopt the shared structures required by individual prompt input contracts.
Reference catalog Adopt shared completed envelopes while leaving composition to ConfigKit and vocabulary releases independent.

Inventory records the source baselines and deliberate differences. Consumer adoption order and implementation remain separate work.