Document core operation authoring with a working example
This commit is contained in:
@@ -33,11 +33,10 @@ registry normalizers are model-backed; current mergers and remaining normalizers
|
||||
are deterministic. A model-backed module can still have an ordinary no-model
|
||||
branch. Registration does not construct engines or register prompt/schema assets.
|
||||
|
||||
Each model producer receives the shared native engine, prepares fixed operation
|
||||
inputs, and calls the common producer helper with initial request, interpretation,
|
||||
correction builder, and supported fallback. Static prompt dependencies match its
|
||||
request constants. The pipeline supplies complete candidate assessment; returning
|
||||
from the helper does not trigger a duplicate validator pass.
|
||||
Each model producer prepares fixed operation inputs and returns an initial request,
|
||||
interpretation, correction builder, and supported fallback to core. Static prompt
|
||||
dependencies match its request constants. Core owns the shared engine and complete
|
||||
candidate assessment; modules do not run another producer loop.
|
||||
Pure codecs, identities, reference resolvers, and deterministic transforms remain
|
||||
separate from execution integration.
|
||||
|
||||
@@ -137,13 +136,13 @@ The three registry normalizers retain their intentional model-assisted exception
|
||||
[NPC](../../internal/modules/dnd/normalize/npcregistry/normalizer.go),
|
||||
[item](../../internal/modules/dnd/normalize/itemregistry/normalizer.go), and
|
||||
[location](../../internal/modules/dnd/normalize/locationregistry/normalizer.go)
|
||||
normalization use ordinary functions from
|
||||
[semanticreconcile](../../internal/framework/semanticreconcile/preparation.go),
|
||||
normalization use the shared operation facility in
|
||||
[semanticreconcile](../../internal/framework/semanticreconcile/operation.go),
|
||||
not a separate reconciliation engine/service.
|
||||
|
||||
The operation retains the incoming merged artifact separately, preprocesses
|
||||
fixed originals once, and calls `Prepare` once. Preparation filters unusable
|
||||
candidate evidence, assigns contiguous one-based request-local handles, declares
|
||||
fixed originals once; the shared facility prepares candidates once. Preparation
|
||||
filters unusable candidate evidence, assigns contiguous one-based request-local handles, declares
|
||||
their inclusive range, and builds bounded transcript windows/material.
|
||||
Candidate handles are not transcript unit IDs or durable identity. Identical
|
||||
labels/evidence remain separately selectable.
|
||||
|
||||
Reference in New Issue
Block a user