Preflight
Path:
_archive/loom-stale-pre-sprint-snapshot/src/execution/preflight.tsRelative: loom-stale-pre-sprint-snapshot/src/execution/preflight.tsSubproject: _archiveCategory: archivedLines: 47Bytes: 1,936Imports: 0Exports: 3
Content Preview
- /**
- * H3.7 — Self-consistency preflight (P5).
- * Before recoverable|destructive actions: the staged change (the tool args
- * content about to be written/applied) must carry no unresolved markers.
- * Violations bounce back to the model with the specific marker named.
- */
- const MARKERS: ReadonlyArray<{ re: RegExp; name: string }> = [
- { re: /\bTODO\b/, name: "TODO" },
- { re: /\bFIXME\b/, name: "FIXME" },
- { re: /^<{7}(\s|$)/m, name: "merge-conflict <<<<<<<" },
- { re: /^={7}$/m, name: "merge