c2fc583bae
- Updated `validate_scenario.py` to handle V2 scenario YAML files, introducing new required keys and validation logic. - Added support for legacy V1 scenarios with an option to allow migration. - Modified `run_content_checks.sh` to validate V2 scenarios and associated audio and printables manifests.
731 B
731 B
Game Agent Contract
Purpose: scenario and story content source-of-truth management.
Allowed scope:
game/scenarios/**game/prompts/**- generated docs derived from scenario YAML
Validate:
python3 tools/scenario/validate_scenario.py game/scenarios/zacus_v2.yamlpython3 tools/scenario/export_md.py game/scenarios/zacus_v2.yamlpython3 tools/audio/validate_manifest.py audio/manifests/zacus_v2_audio.yamlpython3 tools/printables/validate_manifest.py printables/manifests/zacus_v2_printables.yaml
Common commands:
rg -n "id:|station|solution" game/scenariosrg --files game
Do not:
- edit generated outputs without updating scenario YAML first
- change IDs without syncing cross-file references