Preflight
Path:
loom-sprint-scaffold/loom/src/execution/preflight.tsRelative: loom/src/execution/preflight.tsSubproject: loom-sprint-scaffoldCategory: otherLines: 84Bytes: 2,426Imports: 1Exports: 4
Content Preview
- /**
- * H3.7 — Preflight: before any recoverable|destructive action, scan a provided
- * list of staged file contents for unresolved markers (TODO, FIXME, <<<<<<<,
- * =======, >>>>>>>). Fail → bounce back to the model with the exact violation
- * string.
- */
- import { createLogger } from "../lib/logger";
- const log = createLogger({ component: "preflight" });
- /** Markers that signal unresolved work or merge conflicts. */
- const UNRESOLVED_MARKERS = [
- "TODO",
- "FIXME",
- "<<<<<<<",
- "=======",