OptionaldryRun?: booleanWhen true, compute + validate the mapping but do NOT save anything (returns a preview instead).
OptionalhumanGuard?: HumanValueGuardDecides which of the record's current field values a person entered; absent = every value may be overwritten.
OptionallookupCache?: Map<string, string | number>Optional memoization cache mapping ${relatedEntityName}|${matchField}|${matchValue} -> resolved PK. Caches positive hits only to prevent downgrading onLookupMiss policies.
OptionaloverwriteHumanValues?: booleanOverwrite values a person entered (default false), and retire their Human values.
The caller's provider: lookups and tags run on it, the write unit on an instance minted from it.
Optionalrun?: RunProvenanceOptional run provenance information mapped via $run.*.
OptionalunitWork?: (unitProvider: IMetadataProvider) => Promise<void>Work that commits or rolls back with this write-back, run first in its unit (a pipeline's Feature Values); not on a dry run.
Optionalwithheld?: WithheldWriteBackTargetsTargets to leave as they are: the answer withheld them (see WithheldWriteBackTargets).
Applies an OutputMappingConfig against a work result. Supports updating fields (both single-key and composite-key entities), writing child records (with array fan-out; a
reconcilemapping is matched to existing rows on its key), and linking/creating tags via TagEngine.unitWork, the child rows and the fields are written in one entity transaction on its own provider instance; tags after it. A field a person entered is kept unlessoverwriteHumanValuesis set.Values resolve from
$(result),record(parent row) and$run(provenance).