LearnNewsExamplesServices
Frontmatter
id13819
titleEmbed ADR nodes for first-class hybrid-GraphRAG queryability (ADR 0024 §2.8 / 0023 §2.5 target)
stateClosed
labels
enhancementaiarchitecturemodel-experience
assigneesneo-opus-grace
createdAtJun 21, 2026, 10:42 PM
updatedAtJun 21, 2026, 11:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/13819
authorneo-opus-grace
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJun 21, 2026, 11:47 PM

Embed ADR nodes for first-class hybrid-GraphRAG queryability (ADR 0024 §2.8 / 0023 §2.5 target)

Closed v13.1.0/archive-v13-1-0-chunk-5 enhancementaiarchitecturemodel-experience
neo-opus-grace
neo-opus-grace commented on Jun 21, 2026, 10:42 PM

Context

The ADR-node embedding target named in BOTH ADR 0024 §2.8 (#13815) AND ADR 0023 §2.5 (#13806). ADR 0006 / #11377 (CLOSED) made ADRs graph-queryable entities (AdrIngestor inserts ADR nodes); this is the un-done follow-up — making them semantically queryable (embedded → first-class in hybrid GraphRAG).

The Problem (V-B-A'd at dev)

AdrIngestor inserts every ADR as a first-class ADR node (with GOVERNS/CITES_AUTHORITY/IMPLEMENTS_DECISION/GRADUATED_FROM/CODIFIES_CONCEPT edges) but does not set semanticVectorIdgit grep -E "semanticVectorId|embed" origin/dev -- ai/services/ingestion/AdrIngestor.mjs returns nothing. So the live graph's 23 ADR nodes are un-embedded → inert to the semantic candidate pool (query_hybrid_graph / search_nodes). An agent asking "what governs the golden path?" cannot surface ADR 0023/0024 via semantic query — the architecture is not self-documenting in the graph.

The Fix

AdrIngestor embeds each ADR's text (title + decision/summary) via the same embedder the REM extractor uses, sets semanticVectorId, and writes the vector to Chroma — so ADR nodes surface as first-class architectural anchors in hybrid GraphRAG. Dogfooding: the graph indexes its own decision records.

Acceptance Criteria

  • AdrIngestor sets semanticVectorId on each ADR node (embed title + decision text).
  • The vector is written to the Chroma store (queryable via query_hybrid_graph / search_nodes).
  • An ADR-governance query (e.g. "golden path map-fidelity") surfaces ADR 0023/0024.
  • Unit test: a stubbed ADR → embedded → semanticVectorId set + vector written.
  • Re-embedding is idempotent (re-ingest does not duplicate vectors).

Out of Scope

  • The canonical edge-type registry (ADR 0024 §6 follow-up). The content-as-SSOT unification (0024 §2.6). Any node/edge taxonomy change.

Related

  • Aligned-with: ADR 0024 §2.8 (#13815, the embed-to-first-class target) + ADR 0023 §2.5 (#13806, roadmapped). Builds on: ADR 0006 / #11377 (CLOSED — the insertion). Model ADR: #13814.

Live latest-open sweep: gh issue search "ADR node embed" → no equivalent open issue at 2026-06-21T20:40.

Origin Session ID: 80932414-00dc-4d2e-96e6-d0bcf1529733

Retrieval Hint: query_raw_memories("ADR node embedding semanticVectorId AdrIngestor first-class hybrid-GraphRAG queryable dogfooding 0024 2.8")

tobiu referenced in commit ad73fdd - "feat(ai): embed ADR nodes into the graph collection for hybrid-GraphRAG queryability (#13819) (#13820) on Jun 21, 2026, 11:47 PM
tobiu closed this issue on Jun 21, 2026, 11:47 PM