Skip to content

Commit f00518e

Browse files
committed
docs(adr): ADR-0161 dated note — an adapter embeds a search's question once, and its refusals stay ahead of the embed
A seventh dated note under K8 ("Rules for every member"), its line in the header's amendment list, and one cross-reference under K1. Add-only: 17 lines added, none changed and none removed. The note registers exactly two optional adapter-contract members, IKnowledgeAdapter.embedQuery and AdapterSearchOptions.queryVector, and the list stays closed beyond them. It records the maintainer's ruling of 2026-12-01 (ruling record 7296268226 on the card) and settles the three readings contract review 7290045524 left open: the adapter still embeds, with its own embedder and query prefix, and the service computes no vector; one vector serves every source a search binds to an adapter instance; a handed vector is checked by its width. It states the ruling's condition as an outcome: an adapter's refusals are answered as on main, and no question is sent to an embedding provider for a source the adapter refuses. The means it names: the second member is a function that answers a promise of the vector, and the adapter calls it at the point where it embeds today. It declares and builds nothing: no file under packages/ changes. Claude-Session: https://claude.ai/code/session_01JQwxbXfgA45f3y5YpDPT5h Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0fc9eab commit f00518e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)