Document native ConfigKit contracts and dependency attribution
This commit is contained in:
@@ -13,8 +13,8 @@ go test ./...
|
||||
go vet ./...
|
||||
```
|
||||
|
||||
`go test ./...` compiles and meta-validates all schemas, validates all examples
|
||||
and fixtures, checks semantic uniqueness and YAML/JSON equivalence, exercises
|
||||
`go test ./...` compiles and meta-validates all schemas, validates every current version's examples through native ConfigKit loading
|
||||
and checks active fixtures, checks semantic uniqueness and YAML/JSON equivalence, exercises
|
||||
decoding and CLI failures, and checks that distribution content and local
|
||||
documentation links are present. Tests are offline and use synthetic data.
|
||||
|
||||
@@ -31,7 +31,7 @@ original checkout so missing files and accidental outside references are caught.
|
||||
- `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/`: exact-version developer CLI; no consumer SDK.
|
||||
- `cmd/validate/`: most-current local version selection by schema name; no consumer SDK.
|
||||
- `internal/publication/` and `cmd/check-published/`: separate Git history checks
|
||||
used only in explicitly requested release preparation.
|
||||
|
||||
@@ -47,3 +47,19 @@ for their features. Use original synthetic examples. Before incorporating source
|
||||
material, record its origin, revision, applicable license, and modifications in
|
||||
[attribution](oss/attribution.md); the repository's CC0 choice does not change
|
||||
third-party terms. New code and prose here are dedicated under [CC0](../COPYRIGHT).
|
||||
|
||||
## Schema authoring boundary
|
||||
|
||||
Every new schema or revision conforms to the pinned ConfigKit acquisition and
|
||||
mapping-root handoff described in [validation](validation.md). Review field
|
||||
types, numeric ranges and precision promises, reserved names/controls, and
|
||||
extension values before publication. Resolve differences in the proposed
|
||||
contract rather than introducing a decoder or compatibility adapter. Pin that
|
||||
upstream baseline in each new version's semantic document.
|
||||
|
||||
Supply representative examples and focused boundary fixtures for new constraints.
|
||||
The catalog drives native example checks for the highest version of each name;
|
||||
missing or incompatible examples fail. Historical resources still compile offline.
|
||||
Tests supply evidence, not a proof covering every accepted document. Repeat this
|
||||
review and the same ordinary checks when upgrading ConfigKit. Broad-profile
|
||||
fixtures under `tests/historical/` document the original tool only.
|
||||
|
||||
Reference in New Issue
Block a user