Separate CalVer distributions from immutable schema versions

This commit is contained in:
2026-11-29 04:33:59 +00:00
parent f168d012e8
commit 053219b8da
12 changed files with 420 additions and 171 deletions

View File

@@ -25,17 +25,20 @@ original checkout so missing files and accidental outside references are caught.
## Layout and changes
- `schemas/`: language-neutral Draft 2020-12 contracts.
- `docs/{party,campaign,glossary}.md`: field meanings and semantic rules.
- `examples/`: complete authoring examples, including equivalent YAML and JSON.
- `glossary/v<version>/` and `rpg/{party,campaign}/v<version>/`: independent
schemas, adjacent `semantics.md`, and complete `examples/`.
- `catalog.json`: exact schema-version inventory; see [catalog format](catalog.md).
- `tests/valid/`: valid compatibility fixtures.
- `tests/invalid/`: focused invalid documents; prefixes identify failure phase.
- `internal/validation/`: local YAML profile, schema registration, semantic check.
- `cmd/validate/`: developer CLI; no application SDK or configuration loader.
- `cmd/validate/`: exact-version developer CLI; no consumer SDK.
- `internal/publication/` and `cmd/check-published/`: separate Git history checks
used only in explicitly requested release preparation.
Implement a contract change in its schema, semantics, and relevant examples and
fixtures together. Test observable acceptance and rejection, extension retention,
and semantic boundaries. Avoid duplicating the upstream libraries' own suites.
Published version directories are immutable; additions use a new version.
New standard fields need a compatibility assessment. Routine editing does not
publish a release or upgrade any consumer.