Classify coverage once at inventory production and require it in current outputs. Normalize older retained Evidence at the inventory parser, reject inconsistent page statuses, and remove comparison heuristics over limitation prose. Validation: public CLI-to-MCP plist comparison, changed-behavior and unknowns workflow; boundary checks for legacy Evidence, partial coverage, page disagreement, content and executable changes; generated docs checks. Fixes #2173.
21 lines
736 B
TypeScript
21 lines
736 B
TypeScript
import type {
|
|
ArtifactInventoryCoverage,
|
|
ArtifactInventoryResult,
|
|
ArtifactNode,
|
|
IntegrityContradiction,
|
|
} from "./artifactGraph.js";
|
|
|
|
/** Immutable inventory produced by one complete artifact scan. */
|
|
export interface ArtifactInventorySnapshot {
|
|
readonly coverage_status: ArtifactInventoryCoverage;
|
|
readonly manifest: ArtifactInventoryResult["manifest"];
|
|
readonly nodes: readonly ArtifactNode[];
|
|
readonly occurrences: ArtifactInventoryResult["occurrences"];
|
|
readonly edges: ArtifactInventoryResult["edges"];
|
|
readonly provenance: ReadonlyArray<
|
|
ArtifactInventoryResult["provenance"][number]
|
|
>;
|
|
readonly integrity_contradictions: readonly IntegrityContradiction[];
|
|
readonly limitations: readonly string[];
|
|
}
|