1.4 KiB
1.4 KiB
G7 Multi-Endpoint Inventory Runtime Contract Report
Scope
This round upgrades G7 / multi_endpoint_inventory from safe-slice classification to a minimal runnable runtime contract.
Representative fixture:
tests/fixtures/generated_scene/g7_multi_endpoint_inventory
Delivered
- Added a minimal
G7runtime contract in the generator. - Promoted
g7_fail_closedfrom unconditional block to conditional pass when the inventory contract is complete. - Added a dedicated browser compiler path for
multi_endpoint_inventory. - Replaced the old positive fail-closed test with:
- runnable generation test
- incomplete-contract negative test
Minimal Contract
G7 is treated as complete when all of the following are present:
- At least 3
inventory_requestworkflow steps - At least 3 API endpoints
- One
inventory_aggregateworkflow step
Generated Runtime Shape
The generated browser script now includes:
inventoryEndpoints()aggregateEntry()- multi-endpoint request execution
- merged artifact payload with
workflow_archetype = multi_endpoint_inventory
Validation
Passed:
cargo test --test scene_generator_test g7 -- --nocapturecargo test --test scene_generator_test -- --nocapture
Outcome
G7 no longer stops at classification-only safe slice. It now supports a minimal runnable contract while still fail-closing incomplete manual SceneIr inputs.