Run
Path:
loom-builder-sol/src/run.tsRelative: src/run.tsSubproject: loom-builder-solCategory: dispatch-system-solLines: 532Bytes: 23,100Imports: 17Exports: 0
Content Preview
- /**
- * loom-builder — homeostatic dispatch harness.
- * Runs one DispatchSpec: agent loop (pi-coding-agent SDK) under hard gates,
- * machine validation as the only done-criterion, bounded reformulation,
- * JSONL trace + digest/manifest outputs.
- *
- * Usage: bun run src/run.ts <spec.json>
- */
- import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
- import { basename, join, resolve } from "node:path";
- import {
- ModelRuntime,
- SessionManager,
- createAgentSession,
- createCodingTools,
- } f