Skip to main content

Module normalize

Module normalize 

Source
Expand description

Stage 3: NORMALIZE — deduplicate entities, constrain types to schema.

Structs§

NormalizeChange
NormalizeOptions
NormalizeReport
NormalizeSummary

Enums§

NormalizeChangeKind

Functions§

apply_source
Apply safe normalization repairs to a source path.
entity_name
Normalize entity name to canonical form.
entity_type
Map LLM-invented entity types to the 10 valid schema types.
normalize_findings
Normalize all findings: fix entity types and names, deduplicate entities within findings.
normalize_source
Plan or apply normalization for a source path.
plan_findings
Build a deterministic, safe repair plan for findings.
plan_project
Build a deterministic, safe repair plan for a loaded frontier.
plan_project_changes
Build a deterministic repair plan for a loaded frontier, including content address and internal link updates implied by entity normalization.
plan_source
Plan normalization for a source path without writing changes.