ГЛОБАЛЬНЫЙ РЕФАКТОРИНГ АРХИТЕКТУРЫ - Архитектура маршрутизации: зафиксирован baseline-контракт и добавлен anti-regression контроль
This commit is contained in:
@@ -91,6 +91,14 @@ Tests:
|
||||
- `llm_normalizer/backend/tests/addressCapabilityPolicy.test.ts`
|
||||
- `llm_normalizer/backend/tests/addressNavigationState.test.ts`
|
||||
- `llm_normalizer/backend/tests/sessionBackwardCompat.test.ts` (extended)
|
||||
- `llm_normalizer/backend/tests/addressRouteBaseline.test.ts`
|
||||
|
||||
Route baseline contract:
|
||||
|
||||
- `docs/TECH/address_route_baseline_v1.json`
|
||||
- loader: `llm_normalizer/backend/src/services/addressRouteBaseline.ts`
|
||||
|
||||
This baseline freezes capability mapping for key intents and acts as anti-regression control when routing evolves.
|
||||
|
||||
## Why This Is a Foundation, Not a Patch
|
||||
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"schema_version": "address_route_baseline_v1",
|
||||
"updated_at": "2026-04-12T12:00:00.000Z",
|
||||
"entries": [
|
||||
{
|
||||
"intent": "payables_confirmed_as_of_date",
|
||||
"capability_id": "confirmed_payables_as_of_date",
|
||||
"capability_layer": "compute",
|
||||
"capability_route_mode": "exact"
|
||||
},
|
||||
{
|
||||
"intent": "list_payables_counterparties",
|
||||
"capability_id": "payables_candidates_list",
|
||||
"capability_layer": "compute",
|
||||
"capability_route_mode": "heuristic"
|
||||
},
|
||||
{
|
||||
"intent": "list_receivables_counterparties",
|
||||
"capability_id": "receivables_candidates_list",
|
||||
"capability_layer": "compute",
|
||||
"capability_route_mode": "heuristic"
|
||||
},
|
||||
{
|
||||
"intent": "account_balance_snapshot",
|
||||
"capability_id": "account_balance_exact",
|
||||
"capability_layer": "compute",
|
||||
"capability_route_mode": "exact"
|
||||
},
|
||||
{
|
||||
"intent": "documents_forming_balance",
|
||||
"capability_id": "account_balance_exact",
|
||||
"capability_layer": "compute",
|
||||
"capability_route_mode": "exact"
|
||||
},
|
||||
{
|
||||
"intent": "list_documents_by_counterparty",
|
||||
"capability_id": "documents_drilldown",
|
||||
"capability_layer": "navigation",
|
||||
"capability_route_mode": "exact"
|
||||
},
|
||||
{
|
||||
"intent": "list_documents_by_contract",
|
||||
"capability_id": "documents_drilldown",
|
||||
"capability_layer": "navigation",
|
||||
"capability_route_mode": "exact"
|
||||
},
|
||||
{
|
||||
"intent": "list_contracts_by_counterparty",
|
||||
"capability_id": "contracts_drilldown",
|
||||
"capability_layer": "navigation",
|
||||
"capability_route_mode": "exact"
|
||||
},
|
||||
{
|
||||
"intent": "bank_operations_by_counterparty",
|
||||
"capability_id": "bank_operations_drilldown",
|
||||
"capability_layer": "navigation",
|
||||
"capability_route_mode": "exact"
|
||||
},
|
||||
{
|
||||
"intent": "bank_operations_by_contract",
|
||||
"capability_id": "bank_operations_drilldown",
|
||||
"capability_layer": "navigation",
|
||||
"capability_route_mode": "exact"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user