Adopt a direct cutover for shared reference inputs
This commit is contained in:
@@ -12,7 +12,8 @@ This is Notarius's feature roadmap responding to the
|
|||||||
[Narratio feature request](narratio-shared-schemas-feature-request.md). It defines
|
[Narratio feature request](narratio-shared-schemas-feature-request.md). It defines
|
||||||
the target state and required work; a subsequent implementation plan will divide
|
the target state and required work; a subsequent implementation plan will divide
|
||||||
that work into execution stages. Collection selection belongs on reference
|
that work into execution stages. Collection selection belongs on reference
|
||||||
bindings; the text-input decision at the end remains pending review.
|
bindings, and the existing party/glossary slots make a direct structured-input
|
||||||
|
cutover.
|
||||||
|
|
||||||
## Current Baseline
|
## Current Baseline
|
||||||
|
|
||||||
@@ -205,6 +206,19 @@ spell extraction fields or output schema changes are part of this adoption.
|
|||||||
|
|
||||||
### Party And General Context
|
### Party And General Context
|
||||||
|
|
||||||
|
Reuse `party` for the shared party contract and `glossary` for the shared glossary
|
||||||
|
contract, making a documented direct cutover for those slots alongside the
|
||||||
|
spell-overlay replacement. Existing `roster` aliases, where already accepted,
|
||||||
|
retain their current slot-alias behavior while consuming the same new party
|
||||||
|
contract. These slots have one structured contract each, without legacy text
|
||||||
|
readers, format detection, or parallel structured slot names. Supplying party
|
||||||
|
and glossary references remains optional where it is optional today.
|
||||||
|
|
||||||
|
Keep `players` as optional supplemental text context. Derive ordinary
|
||||||
|
character/player relationships from the shared roster so the maintained workflow
|
||||||
|
does not need a separately authored player list. This cutover does not add a
|
||||||
|
typed campaign input or remove unrelated text interfaces.
|
||||||
|
|
||||||
Use a deterministic, contextual party projection for the chunker and extraction
|
Use a deterministic, contextual party projection for the chunker and extraction
|
||||||
families that already accept party context. It can include character names,
|
families that already accept party context. It can include character names,
|
||||||
aliases, player relationships, and relevant optional attributes without exposing
|
aliases, player relationships, and relevant optional attributes without exposing
|
||||||
@@ -216,7 +230,7 @@ Project selected general-glossary collections into useful reference vocabulary.
|
|||||||
Selection is explicit task policy, not an attempt to parse all unknown domain
|
Selection is explicit task policy, not an attempt to parse all unknown domain
|
||||||
extensions or execute collection content. Party-derived vocabulary may be
|
extensions or execute collection content. Party-derived vocabulary may be
|
||||||
consumed where useful but is not required alongside a roster containing the same
|
consumed where useful but is not required alongside a roster containing the same
|
||||||
facts. The treatment of existing text inputs remains an open decision below.
|
facts.
|
||||||
|
|
||||||
Do not add a required campaign file, a typed campaign reference slot, or campaign
|
Do not add a required campaign file, a typed campaign reference slot, or campaign
|
||||||
locator traversal without a demonstrated task. The shared RPG campaign contract
|
locator traversal without a demonstrated task. The shared RPG campaign contract
|
||||||
@@ -290,8 +304,7 @@ as part of this planning pass.
|
|||||||
Record incorporated schema material under the repository's
|
Record incorporated schema material under the repository's
|
||||||
[OSS policy](../policy/oss.md), using the selected source revision and its actual
|
[OSS policy](../policy/oss.md), using the selected source revision and its actual
|
||||||
CC0-1.0 grant and notices. Keep `assets` a content-only leaf. This adoption fits
|
CC0-1.0 grant and notices. Keep `assets` a content-only leaf. This adoption fits
|
||||||
existing architecture; no new ADR is necessary unless resolving the open
|
existing architectural ownership boundaries and does not require a new ADR.
|
||||||
decisions changes an architectural ownership boundary.
|
|
||||||
|
|
||||||
## Acceptance And Verification
|
## Acceptance And Verification
|
||||||
|
|
||||||
@@ -338,29 +351,3 @@ For the implementation, run `go test ./...`, `go vet ./...`, and
|
|||||||
links and stale private-overlay references. Paid/provider tests and coordinated
|
links and stale private-overlay references. Paid/provider tests and coordinated
|
||||||
Narratio/Audita deployment runs are optional follow-up evidence, not default
|
Narratio/Audita deployment runs are optional follow-up evidence, not default
|
||||||
offline correctness gates.
|
offline correctness gates.
|
||||||
|
|
||||||
## Open Decisions
|
|
||||||
|
|
||||||
### Existing Text Party And Glossary References
|
|
||||||
|
|
||||||
**Recommendation:** Reuse `party` for the shared party contract and `glossary`
|
|
||||||
for the shared glossary contract, making a documented direct cutover for those
|
|
||||||
slots alongside the spell-overlay replacement. Existing `roster` aliases, where
|
|
||||||
already accepted, can retain their current slot-alias behavior while consuming
|
|
||||||
the same new party contract; do not retain a second text roster parser. Keep
|
|
||||||
`players` as optional supplemental text context, while deriving the ordinary
|
|
||||||
character/player relationships from the roster so the maintained workflow does
|
|
||||||
not need that separate file.
|
|
||||||
|
|
||||||
This gives established slot names one clear meaning and avoids parallel typed
|
|
||||||
and untyped roster/vocabulary paths. It also changes public text-input behavior,
|
|
||||||
so approval and explicit migration guidance are appropriate. It does not require
|
|
||||||
adding a new typed campaign input or removing unrelated text interfaces.
|
|
||||||
|
|
||||||
**Viable alternative:** Add distinctly named structured party/glossary slots and
|
|
||||||
leave current text slots unchanged. This preserves ordinary free-form context
|
|
||||||
without format detection or legacy converters, and may suit independent users
|
|
||||||
of those text interfaces. It introduces parallel context sources, requires
|
|
||||||
documented combination/precedence behavior, and makes it easier to continue
|
|
||||||
duplicating the same roster facts. Choose it if retaining those text workflows
|
|
||||||
outweighs the benefit of a simpler cutover.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user