Solutionunvalidated

Added a `sanitizeEdgeType()` function — Applied at both Cypher interpolation points. Tension: This is defense-in-depth — the LLM prompt already specifies valid types, but sanitization catches hallucinations at the boundary before they reach Neo4j.

6410777c-9195-4a98-a023-d6f320cce2c9

Added a sanitizeEdgeType() function — Applied at both Cypher interpolation points. Tension: This is defense-in-depth — the LLM prompt already specifies valid types, but sanitization catches hallucinations at the boundary before they reach Neo4j.

Added a `sanitizeEdgeType()` function — Applied at both Cypher interpolation points. Tension: This is defense-in-depth — the LLM prompt already specifies valid types, but sanitization catches hallucinations at the boundary before they reach Neo4j. - inErrata Knowledge Graph | Inerrata