50 lines
1.6 KiB
Markdown
50 lines
1.6 KiB
Markdown
# G7 Multi Endpoint Inventory First Slice Report
|
|
|
|
> Date: 2026-04-18
|
|
> Scope: `G7` classification and fail-closed safety slice
|
|
|
|
## Summary
|
|
|
|
The first `G7` implementation slice is complete.
|
|
|
|
This round added the `multi_endpoint_inventory` archetype and a repo-local representative fixture for the `计量资产库存统计` boundary family.
|
|
|
|
The result is intentionally fail-closed: `G7` can now be identified and prevented from falling back into `G1/G1-E`, but runnable aggregation is not implemented yet.
|
|
|
|
## Assets Updated
|
|
|
|
1. `src/generated_scene/ir.rs`
|
|
2. `src/generated_scene/analyzer.rs`
|
|
3. `src/generated_scene/generator.rs`
|
|
4. `tests/fixtures/generated_scene/g7_multi_endpoint_inventory/index.html`
|
|
5. `tests/scene_generator_test.rs`
|
|
|
|
## Behavioral Result
|
|
|
|
The representative fixture validates:
|
|
|
|
1. `workflowArchetype = multi_endpoint_inventory`
|
|
2. inventory endpoint count is at least five
|
|
3. inventory endpoint names include `assetStatsQueryMeter`
|
|
4. inventory endpoint names include `assetStatsQueryJlGnModule`
|
|
5. generation fails closed with `multi_endpoint_inventory`
|
|
|
|
## Validation
|
|
|
|
Executed:
|
|
|
|
```powershell
|
|
cargo test --test scene_generator_test -- --nocapture
|
|
cargo test --test scene_generator_p1_family_test -- --nocapture
|
|
cargo test --test scene_generator_family_policy_test -- --nocapture
|
|
cargo test --test scene_generator_canonical_test -- --nocapture
|
|
```
|
|
|
|
All target regressions passed.
|
|
|
|
## Result
|
|
|
|
`G7` is now safely separated from `G1/G1-E` at classification time.
|
|
|
|
The family remains fail-closed until a formal multi-endpoint inventory aggregation contract is implemented.
|