2.9 KiB
Scene Skill 102 Parameter Dictionary And Invocation Template Normalization Design
Date: 2026-04-20 Parent:
2026-04-20-scene-skill-102-natural-language-parameter-readiness-design.md
Intent
Make the 10 required-param scene skills usable with natural-language query conditions before pseudo-production batch execution.
This design does not broaden deterministic dispatch. It only closes the immediate parameter-readiness gap discovered in scene_skill_102_natural_language_parameter_readiness_2026-04-20.json.
Current Gap
10 multi_mode_request skills declare required params:
orgviadictionary_entityperiodviamonth_week_period
However, each generated references/org-dictionary.json is currently an empty array. Therefore inputs such as:
兰州公司 台区线损大数据 月累计 2026-03。。。
have the correct shape, but cannot resolve 兰州公司 into org_label and org_code.
Scope
Allowed:
- Populate
references/org-dictionary.jsonfor the fixed10required-param skills. - Use the existing, already-tested minimal organization aliases from deterministic-submit fixtures:
国网兰州供电公司/62401城关供电分公司/6240108国网天水供电公司/62403
- Refresh natural-language parameter readiness assets.
- Refresh invocation samples.
- Refresh pseudo-production handoff inputs for selected scenes that require params.
Forbidden:
- Do not modify
src/compat/scene_platform/dispatch.rs. - Do not modify
src/compat/scene_platform/resolvers.rs. - Do not modify
src/generated_scene/analyzer.rs. - Do not modify
src/generated_scene/generator.rs. - Do not execute browser, host bridge, localhost services, or production network.
- Do not claim this starter dictionary is a full production organization dictionary.
- Do not add params to the other
92non-param skills under this plan.
Starter Dictionary Policy
The populated dictionary is a pseudo-production starter dictionary. It is sufficient to validate the natural-language parameter plumbing for inputs such as 兰州公司 and 月累计 2026-03.
It is not a full province-wide organization dictionary. A later production hardening step may replace or expand it with the real unit tree.
Readiness Target
After this plan:
10 / 10required-param skills should move fromparameter-gaptoparameter-ready.- Their recommended invocation samples should include:
- organization alias;
- scene name;
- month/week mode;
- concrete period value;
。。。suffix.
- Pseudo-production handoff should not use bare scene names for these scenes.
Completion Criteria
- All fixed
10dictionaries are non-empty and parseable. - Natural-language parameter readiness is refreshed.
- Invocation samples are refreshed.
- Pseudo-production handoff is refreshed for selected required-param scenes.
- No runtime source files are modified.