Exit Matrix
Path:
loom-builder-sol/src/exit_matrix.tsRelative: src/exit_matrix.tsSubproject: loom-builder-solCategory: dispatch-system-solLines: 71Bytes: 2,575Imports: 1Exports: 4
Content Preview
- /**
- * Exit-code retry matrix — maps process outcomes to verdicts.
- *
- * Bug fixed: executor exit -1 previously could report "completed" in MANIFEST.
- * Now: verdict is computed from exit code + signal; non-COMPLETE verdict can
- * never produce status "DONE".
- *
- * Verdicts:
- * - COMPLETE: exit 0 + all digest gates pass → only way to get DONE
- * - RETRYABLE: killed/signal/−1/null/network-class errors → one auto-retry with backoff ≥5s
- * - FATAL_SPEC: exit 2 / preflight class errors → no retry, s