Require validation for all activity YAML files

Added mandatory validation step to activity creation workflow:
1. Read research/SPEC.yaml first (fresh spec)
2. Validate with activity_yaml_validator.py after changes
3. All YAMLs must pass validation (0 errors) before committing

Ensures quality and prevents broken activity files from entering the repo.
This commit is contained in:
Russell Ballestrini 2025-11-10 09:28:54 -05:00
parent 11b16aa12a
commit 7c61328943

View file

@ -222,7 +222,13 @@ export MODEL_API_KEY_3=dummy
## Creating Activity YAML Files - Expert Guide
**IMPORTANT: Before creating or modifying any activity YAML files, ALWAYS read `research/SPEC.yaml` first to ensure you have the latest specification and examples.**
**IMPORTANT: Before creating or modifying any activity YAML files:**
1. **ALWAYS read `research/SPEC.yaml` first** to ensure you have the latest specification and examples
2. **ALWAYS validate the YAML after creating/modifying** by running:
```bash
python activity_yaml_validator.py research/your_activity.yaml
```
3. **All activity YAMLs MUST pass validation** with 0 errors before committing
When creating activities for OpenCompletion, follow these expert guidelines to ensure your activities **validate properly**, are **FUN and engaging**, and **terminate correctly**.