Document native ConfigKit contracts and dependency attribution

This commit is contained in:
2026-11-29 16:36:50 +00:00
parent 73ed94ea34
commit 83fc22814d
11 changed files with 1006 additions and 115 deletions

View File

@@ -16,12 +16,19 @@ at `0.1.0`. These independent schema versions remain pre-stable.
- 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.
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.
The unpublished `0.2.0` candidates retain 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](validation.md) 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
@@ -40,7 +47,7 @@ independent of source publication.
Select a published CalVer archive and exact `name@version` entries from its
[catalog](catalog.md). For example, select `glossary@0.1.0` from `2026.11.0`
after that distribution is published. Bundle `glossary/v0.1.0/` with its schema,
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.
@@ -52,8 +59,8 @@ 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
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.