feat: add generated scene skill platform hardening
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
# G2 Remaining Fail-Closed Closure Report
|
||||
|
||||
Date: 2026-04-19
|
||||
|
||||
Parent framework: `2026-04-19-scene-skill-102-full-coverage-framework-plan`
|
||||
|
||||
Parent route: `Route 3 / G2 multi_mode_request closure`
|
||||
|
||||
Plan: `2026-04-19-g2-remaining-fail-closed-closure-plan.md`
|
||||
|
||||
## Scope
|
||||
|
||||
This report closes the fixed Route 3 bucket:
|
||||
|
||||
- `multi_mode_request` structured fail-closed scenes: `4`
|
||||
- Primary blocker: `g2_request_contract` / `request_mode_contract`
|
||||
- Allowed implementation area: bounded G2 mode request contract closure
|
||||
|
||||
This run did not update `scene_execution_board_2026-04-18.json`, did not create a new family, and did not begin Route 4.
|
||||
|
||||
## Implementation
|
||||
|
||||
The generator now fills empty auto-inferred G2 mode `requestTemplate` values with bounded mode-specific defaults.
|
||||
|
||||
Examples:
|
||||
|
||||
- `month`: `{ "page": 1, "rows": 20, "tjzq": "month" }`
|
||||
- `week`: `{ "page": 1, "rows": 20, "tjzq": "week" }`
|
||||
- `prediction`: `{ "page": 1, "rows": 60, "reportType": "predictionCompute" }`
|
||||
|
||||
The fallback is limited to automatically inferred `multi_mode_request` IR. Explicitly provided incomplete `scene_ir_json` remains fail-closed.
|
||||
|
||||
## Results
|
||||
|
||||
| Scene ID | Scene | Baseline | Follow-up | Result |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| `sweep-020-scene` | `供电所线路电量统计` | `C / fail-closed` | `A / auto-pass` | resolved |
|
||||
| `sweep-023-scene` | `供电质量看板-武威` | `C / fail-closed` | `A / auto-pass` | resolved |
|
||||
| `sweep-070-scene` | `电量、站损自动采集上报` | `C / fail-closed` | `A / auto-pass` | resolved |
|
||||
| `sweep-083-scene` | `营销业务管控监测日报表` | `C / fail-closed` | `A / auto-pass` | resolved |
|
||||
|
||||
Summary:
|
||||
|
||||
- Before: `4` G2 structured fail-closed scenes
|
||||
- Resolved to auto-pass: `4`
|
||||
- Remaining Route 3 fail-closed: `0`
|
||||
- Route-local coverage delta: `+4`
|
||||
|
||||
## Verification
|
||||
|
||||
Commands:
|
||||
|
||||
```powershell
|
||||
cargo test --test scene_generator_test generator_fills_empty_g2_mode_request_templates -- --nocapture
|
||||
cargo test --test scene_generator_test generator_blocks_incomplete_multi_mode_contract -- --nocapture
|
||||
```
|
||||
|
||||
Route-local rerun output:
|
||||
|
||||
```text
|
||||
examples/g2_remaining_fail_closed_closure_followup_2026-04-19
|
||||
```
|
||||
|
||||
## Stop Statement
|
||||
|
||||
Route 3 is closed. The next child plan in the 102 full-coverage sequence is Route 4:
|
||||
|
||||
`2026-04-19-g1e-remaining-fail-closed-closure-plan.md`
|
||||
Reference in New Issue
Block a user