Relax private D&D response schemas
This commit is contained in:
@@ -20,6 +20,11 @@ the Unicode-normalized, case-folded canonical name using the identity policy.
|
||||
The durable codec enforces the artifact shape and ID syntax; registry identity
|
||||
validation remains a separate deterministic concern.
|
||||
|
||||
The extractor's private LLM response schema is a separate structural transport
|
||||
contract. It omits framework-assigned NPC and source IDs and admits semantic
|
||||
candidates for the deterministic shape and source-reference validators; it is
|
||||
not part of this durable contract.
|
||||
|
||||
## Output Shape
|
||||
|
||||
The payload is one object with a required top-level `npcs` array:
|
||||
|
||||
@@ -18,7 +18,9 @@ The durable JSON Schema is owned by the D&D spell artifact codec. The
|
||||
extractor's private LLM response schema is a separate transport contract: its
|
||||
source-reference objects omit `source_id`, which the extractor assigns while
|
||||
mapping the response to the canonical artifact. The LLM DTO and transport
|
||||
schema are not part of this durable contract.
|
||||
schema are not part of this durable contract. The private schema owns required
|
||||
fields, JSON types, object and array shapes, and unknown-field rejection;
|
||||
deterministic validators own the durable artifact's semantic constraints.
|
||||
|
||||
The output contains canonical spell casts derived from transcript evidence.
|
||||
Source IDs are assigned from the input identity; source-unit ranges identify
|
||||
|
||||
Reference in New Issue
Block a user