Outcome
Path:
loom-builder-sol/src/outcome.tsRelative: src/outcome.tsSubproject: loom-builder-solCategory: dispatch-system-solLines: 27Bytes: 894Imports: 1Exports: 4
Content Preview
- import type { DispatchOutcome } from "./types.js";
- export type DispatchStatus = DispatchOutcome["status"];
- export function validationPassed(validation: DispatchOutcome["validation"]): boolean {
- return validation.every((x) => x.exitCode === 0);
- }
- /**
- * A halted agent can still have completed valid work. Validation is the done
- * criterion, so preserve the halt reason while distinguishing false negatives
- * from genuinely invalid halted runs.
- */
- export function settleStatusAfterValidation(