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:
parent
11b16aa12a
commit
7c61328943
1 changed files with 7 additions and 1 deletions
|
|
@ -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**.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue