Pin the released shared schemas for implementation

This commit is contained in:
2026-11-29 17:44:05 +00:00
parent bfd9556a9e
commit 30bc424343
2 changed files with 41 additions and 42 deletions

View File

@@ -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<selected-version>/` and `rpg/party/v<selected-version>/`. 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.