fix(knowledge_fs): use supported research intent in threshold test

This commit is contained in:
Stephen Zhou 2026-08-25 17:42:23 +08:00
parent 1a7a90a307
commit a562d9517b
No known key found for this signature in database
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Research score-threshold test intent
## What changed
- Updated the score-threshold retrieval test plan to use the supported `direct` research intent.
## Why
- The test fixture used the removed `lookup` intent, causing the KnowledgeFS API TypeScript gate to fail.
## Verification
- `pnpm --filter @knowledge/api typecheck`
- `pnpm --filter @knowledge/api test -- research-evidence-retrieval.test.ts`
## Risks and follow-up
- No production behavior changed; this only aligns the test fixture with the production query-plan contract.

View File

@ -183,7 +183,7 @@ describe("Research evidence retrieval V3", () => {
}),
plan: async () => ({
evidenceDimensions: ["renewal"],
intent: "lookup" as const,
intent: "direct" as const,
modelCalled: true,
subqueries: [],
useGraph: false,