chore: reconcile iNES inventory with current main

This commit is contained in:
64579525
2026-10-13 09:36:35 +08:00
646 changed files with 49020 additions and 6280 deletions
+7 -2
View File
@@ -7,7 +7,7 @@ import {
artifactInspectionResultSchema,
} from "../../src/domain/artifactInspection.js";
import {
artifactInventoryResultSchema,
artifactInventoryOutputSchema,
artifactExtractionResultSchema,
} from "../../src/domain/artifactGraph.js";
import { analysisViewResultSchema } from "../../src/domain/analysisView/analysisView.js";
@@ -36,9 +36,14 @@ const inventoryFrom = (input: unknown) => {
const substep = inspection.substeps[0];
if (substep === undefined) throw new Error("Missing inventory substep");
parseEvidence(substep.evidence);
return artifactInventoryResultSchema.parse(
const inventory = artifactInventoryOutputSchema.parse(
substep.evidence.normalized_result,
);
expect(inventory.coverage_status).toBe("complete");
expect(inventory.limitations).toContainEqual(
expect.stringContaining("CPU bank mappings"),
);
return inventory;
};
cliTest(