ARCH: добавить planner MCP semantic discovery
This commit is contained in:
+22
@@ -711,6 +711,28 @@ Validation:
|
||||
- `npm test -- assistantMcpDiscoveryPolicy.test.ts assistantMcpCatalogIndex.test.ts` passed 11/11;
|
||||
- `npm run build` passed.
|
||||
|
||||
## Progress Update - 2026-04-20 MCP Discovery Planner Seed
|
||||
|
||||
The third implementation slice of Big Block 5 added a standalone planner over the discovery policy and catalog index:
|
||||
|
||||
- `assistantMcpDiscoveryPlanner.ts`
|
||||
- `assistantMcpDiscoveryPlanner.test.ts`
|
||||
|
||||
The planner still does not execute live MCP calls.
|
||||
|
||||
It converts current-turn meaning into a guarded discovery plan and immediately reviews it against catalog constraints:
|
||||
|
||||
- value-flow questions choose entity resolution, movement query, aggregation, and coverage probe;
|
||||
- document questions choose entity resolution, document query, and coverage probe;
|
||||
- lifecycle/activity-duration questions choose document evidence plus explicit evidence-basis explanation;
|
||||
- metadata questions stay in metadata inspection;
|
||||
- unclassified turns remain in clarification state rather than executing a blind query.
|
||||
|
||||
Validation:
|
||||
|
||||
- `npm test -- assistantMcpDiscoveryPolicy.test.ts assistantMcpCatalogIndex.test.ts assistantMcpDiscoveryPlanner.test.ts` passed 17/17;
|
||||
- `npm run build` passed.
|
||||
|
||||
## Execution Rule
|
||||
|
||||
Do not implement this plan as:
|
||||
|
||||
Reference in New Issue
Block a user