Prepare shared glossary envelopes and combined input

This commit is contained in:
2026-11-30 00:39:39 +00:00
parent 4e94b2157b
commit f05e711328
22 changed files with 304 additions and 475 deletions

View File

@@ -66,7 +66,8 @@ presentation without rewriting diagnostic records.
`internal/config` adapts resolved selections and canonical party context to
`internal/glossary`. That owner loads native vocabulary, validates the pinned
schema, projects the roster, and serializes four deterministic documents.
schema, projects the roster, and serializes four individual envelopes and a
combined envelope.
Preparation and resume comparison share this resolver. Derived vocabulary does
not replace the authored ConfigKit results used by native inspection. Catalog
entry imports use the source file's native relative context.
@@ -96,7 +97,7 @@ External roster shape belongs in the [party contract](../integrations/party.md).
## Safe Persistence And Semantic Resume
Preparation materializes standalone campaign/session/party/players and four glossary inputs and
Preparation materializes standalone campaign/session/party/players and five glossary inputs and
a secret-safe pipeline projection. The projection preserves credential names,
family declarations, numeric values, and null/empty distinctions. It is a
persistence service, not a fabricated native result. An effective digest is

View File

@@ -18,7 +18,7 @@ Materialize canonical current-session inputs before processing stages.
- `inputs/pipeline.resolved.yml`
- `inputs/speakers.yml`
- `inputs/autocorrect.yml`
- `inputs/glossaries/{party,campaign,setting,spells}.yml`
- `inputs/glossaries/{party,campaign,setting,spells,combined}.yml`
- `inputs/players.yml`
- `inputs/party.yml`
- `audio/*.flac`
@@ -30,7 +30,9 @@ Materialize canonical current-session inputs before processing stages.
- validates required config/store state and resolves selected vocabulary before audio work.
- derives the party glossary and resolves the remaining named collections through
`internal/glossary`; writes all four with checksum, size, and provenance.
`internal/glossary`; writes four individual shared envelopes and a combined
envelope with checksums, sizes, and provenance. The combined record declares
its four individual input dependencies.
- enforces local audio vs S3 audio mutual exclusivity.
- rejects duplicate explicit local audio sources after resolution.
- gives distinct local source paths with the same basename deterministic unique

View File

@@ -328,14 +328,3 @@ License and notices: [CC0 1.0](licenses/CC0-1.0.txt) |
[LICENSE](https://forge.maximumdirect.net/eric/schemas/src/commit/f7e3cedeca11ed903311cdf29ca4d81fb1f216b7/LICENSE).
[Source](https://forge.maximumdirect.net/eric/schemas/src/commit/f7e3cedeca11ed903311cdf29ca4d81fb1f216b7).
## Narratio reference catalog
Material: `internal/glossary/glossary-v1.schema.json`.
SPDX-License-Identifier: CC0-1.0
License and notices: [CC0 1.0](licenses/CC0-1.0.txt) |
[LICENSE](https://forge.maximumdirect.net/eric/narratio-reference-catalog/src/commit/a1a87edafd59a1de545a1c0b4efe5feeb80348e0/LICENSE).
[Source](https://forge.maximumdirect.net/eric/narratio-reference-catalog/src/commit/a1a87edafd59a1de545a1c0b4efe5feeb80348e0).

View File

@@ -356,6 +356,13 @@ values must not gain a new blanket invalidator.
## Stage 9 — Prepare shared glossary envelopes, combined input, and references
**Complete.** Commit: `Prepare shared glossary envelopes and combined input`.
Verification: focused native composition, selected-only catalog acquisition,
individual/combined schema, dependency persistence, shared reference snapshot,
corruption, reuse, and safe publication-enumeration tests passed with Go 1.27.4.
The broader stage suite retains the previously recorded old-example and
publication-path transitions; downstream consumer execution is updated later.
**Read:** roadmap “Glossary composition and bindings”. Entry points:
`internal/glossary/{glossary,resolve}.go`, glossary configuration adaptation,
prepared source registration, and `extract_references.go`.