Run
Path:
loom-builder-sol/_archive/pre-080/run.tsRelative: _archive/pre-080/run.tsSubproject: loom-builder-solCategory: archivedLines: 536Bytes: 23,234Imports: 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 {
- AuthStorage,
- ModelRegistry,
- SessionManager,
- createAgentSession,
- create