Prepare scene extraction and deterministic normalization in core

This commit is contained in:
2026-11-25 15:48:32 +00:00
parent 9d2674481b
commit e3ddc177ab
13 changed files with 135 additions and 101 deletions

View File

@@ -77,6 +77,9 @@ type NativeOperation[T any] struct {
Correction CorrectionBuilder
Fallback Fallback[T]
Diagnostics TerminalDiagnostics[T]
// Reuse checks and, when needed, adapts a decoded accepted value to this
// operation's current domain inputs. An error makes the cache entry unusable.
Reuse func(T) (T, error)
// Evidence is optional, lazy preparation evidence for this operation.
Evidence func() (any, error)
}