Skip to content

Conversation

@SorraTheOrc
Copy link
Member

Goal: integrate embedding-based similarity into the Director runtime scoring pipeline (thematic/lore/voice) behind an opt-in config flag.\n\nWhat I changed:\n- Added default flag in .\n- : evaluate() now optionally computes embedding similarity metrics (when enabled) and passes them into via . accepts these metrics and uses them for thematic/lore/voice placeholder slots.\n- Safe fallbacks to placeholder/default values when embeddings unavailable.\n\nTests: ran full test suite locally (unit+smoke). All tests pass.\n\nReviewer notes:\n- This change is opt-in; nothing changes unless is set in config or passed into evaluate().\n- Embedding computation uses when available. The director remains synchronous for computeRiskScore by accepting precomputed .\n\nLinked bead: ge-hch.5.22\n

SorraTheOrc and others added 10 commits January 21, 2026 16:32
…- Add enableEmbeddings config flag in src/runtime/director-config.js\n- Pass embeddingMetrics into computeRiskScore via evaluate() when enabled\n- Keep computeRiskScore synchronous by accepting precomputed embedding metrics\n- Safe fallbacks to placeholder values when embeddings unavailable\n- Tests unchanged; behavior behind opt-in flag
…add docs note (embeddings.md)\n\n- Attach embedding timing and fallback info to director telemetry under metrics.embedding\n- Add docs/dev/embeddings.md describing enabling, telemetry shape, and follow-ups
@rgardler-msft rgardler-msft merged commit 3c2e1c7 into main Jan 22, 2026
3 checks passed
@rgardler-msft rgardler-msft deleted the ge-hch.9/plan branch January 22, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants