58 lines
3.6 KiB
Markdown
58 lines
3.6 KiB
Markdown
# Compatibility
|
|
|
|
The initial candidate is the `v1.0.0` schema set. Publication status is established
|
|
by the immutable upstream tag, not by this candidate's `VERSION` file. Contracts
|
|
jointly comprise their JSON Schemas and semantic documents.
|
|
|
|
## Version identities
|
|
|
|
Schema-set releases use Semantic Versioning and ship together. Contract markers
|
|
`maximumdirect.rpg.party.v1`, `maximumdirect.rpg.campaign.v1`, and
|
|
`maximumdirect.glossary.v1` identify major domain contracts. A compatible schema
|
|
release does not require editing operator document headers.
|
|
|
|
- Major: incompatible structure, validation, or meaning.
|
|
- Minor: compatible additions that preserve interpretation of existing data.
|
|
- Patch: compatible corrections. A tighter validation rule that rejects previously
|
|
valid documents is not automatically a patch fix.
|
|
|
|
Each release pins absolute `$id` values to its immutable raw tag URLs. These are
|
|
schema resource identities, distinct from the operator's contract marker.
|
|
Vocabulary, schema-set, and consumer application versions evolve independently.
|
|
|
|
## Both directions matter
|
|
|
|
A new consumer should accept old documents within its claimed major contract.
|
|
An older consumer can accept and preserve new optional extension fields without
|
|
claiming their meaning. Additional fields are compatible only when ignoring
|
|
them preserves interpretation of the known data. A field changing that
|
|
interpretation needs a new major contract or an explicitly selected extension
|
|
contract with its own documented semantics.
|
|
|
|
Consumers forwarding or republishing shared documents should preserve extensions;
|
|
task-specific projections may omit them. Extensions cannot redefine a standard
|
|
field. Consumers can require additional data for a task without claiming that
|
|
every shared document must contain it.
|
|
|
|
Contract changes include a compatibility assessment, updated schema and semantics,
|
|
examples and focused fixtures, and migration guidance for incompatible changes.
|
|
Retain representative valid documents from supported releases in `tests/valid/`
|
|
as compatibility evidence. A schema diff alone does not detect changed meanings.
|
|
The initial release has no earlier shared-schema releases to compare against.
|
|
|
|
## Existing consumers
|
|
|
|
No existing application is declared compatible by this repository's initial
|
|
release. Adoption requires explicit implementation and verification.
|
|
|
|
| Consumer | Current gap / later adoption responsibility |
|
|
| --- | --- |
|
|
| Narratio | Uses `narratio.party.v1`, stricter roster requirements, and the wrapperless glossary schema. Separate shared domain documents from operational campaign configuration and adopt the shared marker, alias spelling, and extension semantics. |
|
|
| Audita v4.2.0 | Runtime glossary input is wrapperless and can contain task instructions. Adopt the shared envelope and obtain instructions through application configuration. |
|
|
| Notarius v0.9.0 | Spell recognition consumes a strict JSON overlay with separate catalog and ruleset semantics. Reconcile its embedded catalog, merges, and ambiguity rules with shared spell entries and provenance; recognize names and aliases without asking operators to duplicate the source vocabulary. |
|
|
| Scriptorium prompts | Adopt shared party and glossary structures in the prompt input contracts that need them; no generic application compatibility is implied. |
|
|
| Reference catalog | Retains a wrapperless glossary and partial authoring format. Adopt shared completed envelopes while leaving composition to ConfigKit and vocabulary distribution independent. |
|
|
|
|
The [inventory](inventory.md) identifies source baselines and the deliberate
|
|
differences. Consumer release order and conversion code belong to later work.
|