Import Lesson
Path:
loom-builder/src/import-lesson.tsRelative: src/import-lesson.tsSubproject: loom-builderCategory: dispatch-systemLines: 456Bytes: 14,814Imports: 3Exports: 10
Content Preview
- /**
- * import-lesson.ts — reads enforcement artifacts from pi-cybernetic's file-based
- * queue and applies them to loom-builder's gate governance system (Phase D bridge).
- *
- * CLI usage:
- * bun run src/import-lesson.ts --queue <dir> [--repo-root <loom-builder root>] [--apply]
- *
- * Without --apply → dry-run: print what would happen per artifact.
- * With --apply:
- * gate_pack_rule → invoke cut_gate_version.py --from <latest>/<scope> --bump patch
- * --add-validation-js