ARCH: добавить MCP catalog index для discovery

This commit is contained in:
2026-04-20 09:06:40 +03:00
parent a75da40178
commit 1752d1babf
4 changed files with 575 additions and 0 deletions
@@ -682,6 +682,35 @@ Validation:
- `npm test -- assistantMcpDiscoveryPolicy.test.ts` passed 6/6;
- `npm run build` passed.
## Progress Update - 2026-04-20 MCP Catalog Index Seed
The second implementation slice of Big Block 5 added the first machine-readable catalog brain for guarded MCP discovery:
- `assistantMcpCatalogIndex.ts`
- `assistantMcpCatalogIndex.test.ts`
The catalog does not execute 1C/MCP calls yet.
It records what each reviewed discovery primitive is allowed to mean:
- business purpose;
- required grounding axes;
- optional axes;
- output fact kinds;
- minimum evidence floor.
This gives future planner/executor wiring a deterministic policy surface:
- every discovery primitive must have a catalog contract;
- a discovery plan can be reviewed against catalog-required axes before execution;
- missing axes degrade to `needs_more_axes` instead of a blind query;
- blocked discovery plans remain blocked at catalog review level.
Validation:
- `npm test -- assistantMcpDiscoveryPolicy.test.ts assistantMcpCatalogIndex.test.ts` passed 11/11;
- `npm run build` passed.
## Execution Rule
Do not implement this plan as: