Files
schemas/docs/compatibility.md

4.8 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.

Document generations follow independent schema major versions. Pre-1.0 and 1.x schemas use .v1; schema 2.0.0 begins .v2. Pre-1.0 contract changes require a new schema version and migration guidance, but retain the marker. Stable schemas follow SemVer: incompatible changes require a major, compatible additions a minor, and compatible corrections a patch. The Go module identity is independent of these schema versions.

Release 2026.11.1 adds 0.2.0 versions retaining the .v1 markers while adopting ConfigKit v1.4.0's native mapping handoff. Supported values, syntax, reserved controls, and numeric precision follow that pinned baseline. RPG party levels gain the int64 maximum. See validation for migration advice and the original guide/tool for historical full conformance. New semantic documents pin their upstream boundary independently of future repository guidance.

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 using that distribution's original contracts. 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 apply the pre-stable or stable version-transition rules above, or select an explicitly defined 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.