ppt-task-orchestrator
Orchestration layer for customer PPT workflows:
- Parse
pptxinto per-page tasks (structured fields first). - Fallback to OCR for pages missing required fields.
- Convert page tasks into
main-image-editorbatch tasks. - Execute with transaction rollback by reusing
main-image-editorandpsd-automator. - Aggregate delivery artifacts: result directory +
all-images.zip.
Usage
node skills/ppt-task-orchestrator/scripts/run-ppt-task-orchestrator.js \
--request skills/ppt-task-orchestrator/examples/request.sample.json \
--index ~/.openclaw/psd-index.json
Dry-run:
node skills/ppt-task-orchestrator/scripts/run-ppt-task-orchestrator.js \
--request skills/ppt-task-orchestrator/examples/request.sample.json \
--dry-run
Request payload
request JSON supports:
pptPath: absolute or~/path to.pptxfile (required)requestId: optional tracking idconfidenceThreshold: low-confidence gate threshold (default0.8)fallbackPolicy:structured_onlyorstructured_first_with_ocr(default)execution:dryRun,force,indexPath,bundleZipdelivery:outputDir,zipName,copySelectedOnly
Failure policy
- Default policy is
rollback_allinherited frommain-image-editor. - Any single PSD failure restores all touched PSD files from transaction backups.
- Delivery artifacts are produced only for success/dry-run outputs.