refactor: remove cross-version investigation workflow

This commit is contained in:
morluto
2026-09-29 08:06:43 +08:00
parent 0d96275b68
commit 81996df7a5
42 changed files with 66 additions and 3750 deletions
@@ -1,5 +1,4 @@
import type { BinarySessionPort } from "../../application/BinarySession.js";
import type { ProgressReporter } from "../../application/ProgressReporter.js";
import type { Evidence } from "../../domain/evidence.js";
import {
EvidenceIntegrityError,
@@ -13,29 +12,6 @@ import type { z } from "zod";
import type { reconstructionVerificationInputSchema } from "../../domain/reconstructionVerification.js";
import { AnalysisInputError } from "../../domain/errors.js";
/** Build the execution context passed to cross-version investigation. */
export const investigationContext = ({
session,
signal,
integrityContinueEnabled,
progress,
}: {
readonly session: BinarySessionPort;
readonly signal: AbortSignal;
readonly integrityContinueEnabled: boolean;
readonly progress?: ProgressReporter;
}): {
readonly session: BinarySessionPort;
readonly signal: AbortSignal;
readonly integrityContinueEnabled: boolean;
readonly progress?: ProgressReporter;
} => ({
session,
signal,
integrityContinueEnabled,
...(progress === undefined ? {} : { progress }),
});
export const isIncomplete = (status: string): boolean =>
status === "unknown" || status === "truncated";