feat(editorial): implement bounded canonical-profile research runner
This commit is contained in:
1 parent
50d0df822c
commit
1d41a42845
4 files changed
+340
-1
No files matched your search
@@ -14,7 +14,7 @@ import subprocess
|
||||
import tempfile
|
||||
|
||||
PROFILES=('pmo','canina-competitor-worker','canina-seo-worker','canina-content-worker','canina-vet-review-worker','canina-qa-worker')
|
||||
FILES={'bundle.json','installer.py','client.py'} | {'payload/editorial-v4/status.json'} | {f'payload/profiles/{p}/skills/canina-editorial-v4/{f}' for p in PROFILES for f in ('SKILL.md','references/policy.md','references/role.json')}
|
||||
FILES={'bundle.json','installer.py','client.py','runner.py'} | {'payload/editorial-v4/status.json'} | {f'payload/profiles/{p}/skills/canina-editorial-v4/{f}' for p in PROFILES for f in ('SKILL.md','references/policy.md','references/role.json')}
|
||||
|
||||
def safe(path):
|
||||
if not path.is_absolute() or '..' in path.parts: raise ValueError('Canonical path required')
|
||||
|
||||
Reference in new issue
Block a user