Constrain provider vocabulary candidate promotion

This commit is contained in:
2026-05-15 17:29:07 +02:00
parent d44d50f623
commit 324fbb3745
3 changed files with 61 additions and 3 deletions

View File

@@ -579,7 +579,8 @@ class CandidateGraphGenerator:
for fact in facts
if not (
fact.kind == "llm_provider"
and self._utility_relationship(fact) not in {"owned", "facade", "adapter"}
and self._utility_relationship(fact)
not in {"facade", "adapter"}
)
),
]
@@ -1054,7 +1055,7 @@ class CandidateGraphGenerator:
return [
fact
for fact in facts
if self._utility_relationship(fact) in {"owned", "facade", "adapter"}
if self._utility_relationship(fact) in {"facade", "adapter"}
]
def _utility_relationship(self, fact: ObservedFact) -> str: