added
This commit is contained in:
commit
4af224804a
39 files changed
+5534
No files matched your search
@@ -0,0 +1,10 @@
|
||||
from pathlib import Path
|
||||
import json
|
||||
root=Path(__file__).resolve().parents[1]
|
||||
required=['skills/seo-geo-research/SKILL.md','skills/seo-geo-research/references/research-framework.md','templates/report-template.md','templates/run-receipt.json','evals/contract.json','evals/routing-cases.json','scripts/rollup.py','scripts/test_rollup.py']
|
||||
for name in required: assert (root/name).is_file(),name
|
||||
for p in root.rglob('*.json'): json.loads(p.read_text(encoding='utf-8-sig'))
|
||||
skill=(root/required[0]).read_text(encoding='utf-8')
|
||||
for section in ['Contract','Requires','Ensures','Workflow','State Scope','Validation','Run Receipt','Ratchet']: assert section in skill,section
|
||||
assert 'name: seo-geo-research' in skill
|
||||
print('PASS: required files, JSON, skill contract sections')
|
||||
Reference in new issue
Block a user