adapter -> normalizer -> hasher -> materializer loader pipeline: cross-reference resolution, deterministic snapshot hashing, per-facet EnrichmentDecisionRecord derivation, context-card hashing/drift detection, and the LoadedTarget output.
Tracking: #97. Source: openspec/changes/target-ontology-adapter/tasks.md §4.
Tasks
adapter -> normalizer -> hasher -> materializerloader pipeline: cross-reference resolution, deterministic snapshot hashing, per-facetEnrichmentDecisionRecordderivation, context-card hashing/drift detection, and theLoadedTargetoutput.Tracking: #97. Source:
openspec/changes/target-ontology-adapter/tasks.md§4.Tasks
NormalizedTargetModelvalue objectTargetModelNormalizer.normalizesnapshot_hashfieldSnapshotHasher.hash(SHA-256 hex)Facet+EnrichmentStatusenumsFacetDecisionmodelEnrichmentDecisionRecord(all five facets)iter_termsNotImplementedError -> EXTERNAL routingenrichment.skip_facetsbuild-config opt-outcard_hashcomputation in loaderCardContentDriftErroraggregate_context_card_versionderivationLoadedTargetmodelload_targetorchestrationsnapshot_hashtestcard_hashdeterminism + drift testsaggregate_context_card_versiontestsskip_facetsopt-out testsselected_refstestLoaderStageOrderErrortest