1.5 KiB
1.5 KiB
G7 Multi Endpoint Inventory Design
Date: 2026-04-18 Status: Initial implementation slice
Goal
Define G7 多接口盘点汇总型 as a separate family so multi-endpoint inventory scenes no longer fall back into G1 or G1-E.
The first implementation slice is classification and fail-closed safety only.
Family Definition
G7 covers scenes that query multiple inventory/statistics endpoints by asset category and aggregate the results into one report.
Minimum signals:
- three or more inventory/statistics endpoints
- endpoint names or URLs carrying
assetStats,inventory,stock,AcqTrml,MeterCommonModule, orJlGnModule - no explicit host bridge action requirement
- no local SQL/document-generation pipeline requirement
P0 Boundary Sample
计量资产库存统计
Repo-local representative:
tests/fixtures/generated_scene/g7_multi_endpoint_inventory
Contract Policy
The first slice intentionally blocks runnable generation until a real G7 inventory contract exists.
The initial system must:
- classify as
multi_endpoint_inventory - preserve inventory endpoint evidence
- avoid fallback to
single_request_table - avoid fallback to
single_request_enrichment - fail closed with a stable blocker
Acceptance Criteria
- the representative fixture classifies as
multi_endpoint_inventory - at least five inventory endpoints are detected in the fixture
- generation fails closed
- existing
G1-E,G3,G6, andG2regressions remain green