Separate observed relationship coverage from general provider caveats. Authenticate and replay coverage without changing legacy Evidence IDs; expose unknown and capped relationship sets through CLI/MCP graphs and traces. Validated focused domain, snapshot, IDA/Ghidra boundary, MCP, schema, package and static checks. Provider fixtures establish contract behavior; licensed engine behavior was not reverified.
17 lines
515 B
TypeScript
17 lines
515 B
TypeScript
import { z } from "zod";
|
|
|
|
/** Explicit coverage state for a provider's observed caller/callee set. */
|
|
export const relationshipCoverageSchema = z.discriminatedUnion("status", [
|
|
z.strictObject({ status: z.literal("complete") }),
|
|
z.strictObject({
|
|
status: z.literal("partial"),
|
|
limitations: z.array(z.string().min(1)).min(1),
|
|
}),
|
|
z.strictObject({
|
|
status: z.literal("unknown"),
|
|
reason: z.string().min(1),
|
|
}),
|
|
]);
|
|
|
|
export type RelationshipCoverage = z.infer<typeof relationshipCoverageSchema>;
|