From 30bc4243430dda273422f3901fdb6f758d509eea Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Sun, 29 Nov 2026 17:44:05 +0000 Subject: [PATCH] Pin the released shared schemas for implementation --- docs/roadmap/implementation.md | 44 ++++++++++++++------------- docs/roadmap/shared-domain-schemas.md | 39 +++++++++++------------- 2 files changed, 41 insertions(+), 42 deletions(-) diff --git a/docs/roadmap/implementation.md b/docs/roadmap/implementation.md index cf83f341..ee4070b0 100644 --- a/docs/roadmap/implementation.md +++ b/docs/roadmap/implementation.md @@ -20,12 +20,14 @@ authorize future implementation, not implementation during the planning pass. ## Resolved Design Details -- Adopt published ConfigKit-aligned glossary and RPG party contracts. The reviewed - `0.1.0` schemas in `2026.11.0` predate that alignment and are not the target. - Stage 1 verifies the new publication and records exact versions before reader - implementation. Do not implement a local bridge while awaiting publication. +- Adopt `glossary@0.2.0` and `rpg/party@0.2.0` from published schemas distribution + `2026.11.1`, commit `f7e3cedeca11ed903311cdf29ca4d81fb1f216b7`. + The respective document markers remain `maximumdirect.glossary.v1` and + `maximumdirect.rpg.party.v1`; unchanged markers do not imply old decoding + behavior. No publication wait or historical-version compatibility reader is + needed. - Bundle content under `assets/shared-domain/`, retaining upstream paths - `glossary/v/` and `rpg/party/v/`. Include + `glossary/v0.2.0/` and `rpg/party/v0.2.0/`. Include schema files, adjacent semantics, and a small source/version record. Link upstream manuals rather than copying them. Keep the single assets Go file content-only; extend its embed declaration as necessary. @@ -98,24 +100,24 @@ authorize future implementation, not implementation during the planning pass. construction shared by run and explicit preflight, before domain inference. Keep ordinary offline pipeline validation free of reference-file reads. -## Stage 1 — Confirm And Bundle The Aligned Contracts +## Stage 1 — Bundle The Pinned Aligned Contracts -**Goal:** Pin released aligned definitions and make essential contracts available -offline without behavioral asset registration. +**Goal:** Make the selected released contracts available offline without +behavioral asset registration. **Inspect:** `assets/package.go`, schemas tag/catalog and selected version directories in `../schemas`, `docs/policy/oss.md`, and current attribution. **Work:** -1. Verify publication of a ConfigKit-aligned schema distribution. At preparation - time only the pre-alignment `2026.11.0` source tag was available. If alignment - is not published yet, report that prerequisite and stop schema-dependent work; - do not silently select old contracts, unpublished candidates, or local patches. -2. Select the most current glossary and party versions from that published - distribution's catalog and review their semantics against ConfigKit `v1.4.0`. - Record distribution, full source commit, versions, document markers, and - canonical IDs in the feature roadmap, this plan, and a small asset source record. +1. Read the pinned `2026.11.1` catalog and glossary/party `0.2.0` semantics from + commit `f7e3cedeca11ed903311cdf29ca4d81fb1f216b7`. Use these exact versions, + not an automatic highest-version selection or older contracts with the same + `.v1` markers. Campaign support remains deferred. +2. Record distribution, full source commit, versions, document markers, and + canonical IDs in a small asset source record. The IDs are + `https://schemas.maximumdirect.net/glossary/v0.2.0/schema.json` and + `https://schemas.maximumdirect.net/rpg/party/v0.2.0/schema.json`. No runtime release discovery or inventory framework. 3. Copy only the selected schema files and adjacent semantics, plus exact schema dependencies if any, into the asset subtree. Keep schema files verbatim; link @@ -127,9 +129,9 @@ directories in `../schemas`, `docs/policy/oss.md`, and current attribution. 5. Add the incorporated material's attribution and applicable license text using the selected release's actual terms, existing OSS conventions, and pinned links. -**Acceptance:** Published aligned versions are pinned, and the packaged filesystem -contains their schemas and semantics; `assets` still has no business logic or kit -dependency. Source/license records describe only incorporated material. +**Acceptance:** The packaged filesystem contains the pinned `0.2.0` schemas and +semantics; `assets` still has no business logic or kit dependency. Source/license +records describe only incorporated material. **Validation:** `go test ./assets`; inspect copied files against `git show` at the selected upstream commit, and `git diff --check`. @@ -463,5 +465,5 @@ migration explanations are not stale references to delete. **Acceptance:** All stages' outcomes and the feature-roadmap acceptance criteria are satisfied; repository-wide checks pass and no compatibility reader or -duplicated authoring workflow remains. No blocking product decision is known; -the aligned-schema publication prerequisite must have been satisfied in Stage 1. +duplicated authoring workflow remains. No blocking product decision or schema +publication prerequisite remains. diff --git a/docs/roadmap/shared-domain-schemas.md b/docs/roadmap/shared-domain-schemas.md index 5f661e65..4891d100 100644 --- a/docs/roadmap/shared-domain-schemas.md +++ b/docs/roadmap/shared-domain-schemas.md @@ -46,38 +46,35 @@ Reviewed against Notarius commit `github.com/santhosh-tekuri/jsonschema/v6`. Their public APIs supply native loading and external JSON Schema validation; no new parser dependency is needed. -## Upstream Baseline And Adoption Prerequisite +## Selected Upstream Baseline -The reviewed shared schemas source distribution is -[`2026.11.0`](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.0), +Adopt the shared schemas source distribution +[`2026.11.1`](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1), whose published remote tag resolves to commit -`1b8430bdcbf04eb98c8d45c98a1cb986a9e6d477`. Its -[catalog](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.0/catalog.json) +`f7e3cedeca11ed903311cdf29ca4d81fb1f216b7`. Its +[catalog](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1/catalog.json) contains the following independently versioned contracts: -| Contract | Reviewed version | Document identifier | Intended adoption scope | +| Contract | Selected version | Document identifier | Adoption scope | | --- | --- | --- | --- | -| General glossary | `0.1.0` | `maximumdirect.glossary.v1` | Structured vocabulary and spell recognition. | -| RPG party | `0.1.0` | `maximumdirect.rpg.party.v1` | Structured character roster and player relationships. | -| RPG campaign | `0.1.0` | `maximumdirect.rpg.campaign.v1` | Reviewed; no new structured consumer in this work set. | +| [General glossary](https://schemas.maximumdirect.net/glossary/v0.2.0/schema.json) | `0.2.0` | `maximumdirect.glossary.v1` | Structured vocabulary and spell recognition. | +| [RPG party](https://schemas.maximumdirect.net/rpg/party/v0.2.0/schema.json) | `0.2.0` | `maximumdirect.rpg.party.v1` | Structured character roster and player relationships. | +| RPG campaign | `0.2.0` (reviewed only) | `maximumdirect.rpg.campaign.v1` | No new structured consumer in this work set. | -That release's `0.1.0` contracts predate the upstream ConfigKit-alignment work -and are not the implementation target. As of this revision, `2026.11.0` is the -only published source tag verified. Select the published ConfigKit-aligned -glossary and party versions when available, together with their adjacent -semantics. Record the distribution, full source commit, exact schema versions, -canonical IDs, and document markers before implementing their readers. Do not -adapt the old contracts locally or treat unpublished schema work as released. +Use the glossary and party definitions with their adjacent semantics from this +exact source revision. Their canonical IDs are the versioned schema URLs linked +above. The release's aligned native-loading contracts are available; schema +publication is no longer a prerequisite for implementation. -The adoption prerequisite is a published aligned schema distribution; no further -product decision is needed to keep loading native. Preparation can proceed, but -schema-dependent implementation must use the verified new definitions. Keep -older source/version details above as review evidence, not accepted legacy input. +The `.v1` markers remain unchanged from the earlier contracts and do not identify +an exact schema version or loading policy. Pin `0.2.0`; do not dispatch between +historical versions based on the marker, select the highest version at runtime, +or add compatibility readers for `0.1.0`. Use the existing ConfigKit `v1.4.0` [consumer guide](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.4.0/docs/consumers/README.md) and [native contract](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.4.0/docs/config.md) -for loading semantics; the aligned schema release must fit that boundary. +for loading semantics, as specified by the selected aligned schema contracts. Repository CalVer, individual schema SemVer, document generation markers, and canonical schema IDs remain distinct. Record exact selected versions and source revision; do not discover support from mutable `main` or live URL availability.