ARCH: добавить pilot executor MCP discovery

This commit is contained in:
2026-04-20 09:48:11 +03:00
parent 9d5ae69953
commit 4181bb9c9b
4 changed files with 784 additions and 0 deletions
@@ -759,6 +759,35 @@ Validation:
- `npm test -- assistantMcpDiscoveryPolicy.test.ts assistantMcpCatalogIndex.test.ts assistantMcpDiscoveryPlanner.test.ts assistantMcpDiscoveryRuntimeAdapter.test.ts` passed 21/21;
- `npm run build` passed.
## Progress Update - 2026-04-20 MCP Discovery Pilot Executor
The fifth implementation slice of Big Block 5 added the first isolated execution pilot:
- `assistantMcpDiscoveryPilotExecutor.ts`
- `assistantMcpDiscoveryPilotExecutor.test.ts`
This pilot is still not wired into the hot user-facing assistant runtime.
It can execute only one intentionally narrow primitive path:
- `counterparty_lifecycle_query_documents_v1`
- lifecycle/activity-duration turn meaning;
- `query_documents` through injected MCP dependencies;
- all other planned primitives remain skipped in the pilot until dedicated executors exist.
The pilot preserves the safety rules from the previous layers:
- it will not execute when dry-run status needs clarification;
- it will not execute unsupported ready plans;
- MCP errors become limitations, not facts;
- legal registration age remains an unknown fact;
- business activity duration may only be treated as a bounded inference from confirmed 1C activity rows.
Validation:
- `npm test -- assistantMcpDiscoveryPolicy.test.ts assistantMcpCatalogIndex.test.ts assistantMcpDiscoveryPlanner.test.ts assistantMcpDiscoveryRuntimeAdapter.test.ts assistantMcpDiscoveryPilotExecutor.test.ts` passed 25/25;
- `npm run build` passed.
## Execution Rule
Do not implement this plan as: