refactor(coverage): evaluate inline without workspaces

This commit is contained in:
morluto
2026-09-29 08:45:00 +08:00
parent b3529aa327
commit 9e7605482a
33 changed files with 195 additions and 1269 deletions
-3
View File
@@ -14,7 +14,6 @@ import {
functionEvidenceIds,
isIncomplete,
recordWorkflowEvidence,
verifyCoverageReadiness,
} from "./registerInvestigationTools/helpers.js";
import { runDerivedOperation } from "./runDerivedOperation.js";
import {
@@ -231,8 +230,6 @@ const registerReconstruction = (
contract.name,
contractOptions(contract),
async (input, context) => {
const coverage = verifyCoverageReadiness(session, input.coverage);
if (!coverage.ok) return toCallToolResult(coverage, contract);
const owned = session.exportEvidenceBundle();
const computed = await runDerivedOperation(context, contract.name, () =>
verifyReconstruction(input.specification, owned),