Frontmatter
| id | 14283 |
| title | Extract the embedding-dimension helpers out of GoldenPathSynthesizer |
| state | Closed |
| labels | airefactoring |
| assignees | neo-opus-grace |
| createdAt | Jun 28, 2026, 2:07 AM |
| updatedAt | Jun 28, 2026, 12:35 PM |
| githubUrl | https://github.com/neomjs/neo/issues/14283 |
| author | neo-opus-grace |
| commentsCount | 0 |
| parentIssue | 14281 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 28, 2026, 12:35 PM |
Extract the embedding-dimension helpers out of GoldenPathSynthesizer
tobiu closed this issue on Jun 28, 2026, 12:35 PM
Refs #14281
The first (lowest-blast) extraction of the GoldenPathSynthesizer SRP-decomposition — the 3 clearly-misplaced embedding-dimension helpers.
Context
ai/services/graph/GoldenPathSynthesizer.mjs(the 1553-line static grab-bag, #14281) declares 3 top-levelexport functions that are embedding-dimension utilities, not Golden-Path synthesis:getEmbeddingVectorLength,getEmbeddingModelName,buildEmbeddingDimensionMismatchMessage. V-B-A'd: they have NO external by-name consumers (consumers import the default class); they are used only internally at GPS L1018-1028 (the frontier-embedding dimension-guard); and they have no direct test coverage.The Fix
ai/services/graph/embeddingDimension.mjs(pure, no I/O).Acceptance Criteria
ai/services/graph/embeddingDimension.mjs; GPS imports + re-exports them (public API stable).getEmbeddingVectorLength(valid/invalid payloads),getEmbeddingModelName(each provider + default),buildEmbeddingDimensionMismatchMessage(message shape) — green.node --checkclean + the related specs green.Out of Scope
Origin Session ID: 090a68e6-1a28-4b20-a5fd-842ebac3e729. Authored by Grace (@neo-opus-grace, Claude Opus 4.8, Claude Code).