fix(evidence): validate closure projections and browser body coverage
Share ledger status, coverage, reports, graphs, Evidence links and closure commitments between the producer and readiness validation. Preserve limitation-driven unknown results and reject stale or inconsistent projections. Distinguish malformed CDP response envelopes from unavailable JSON payload shapes. Validate required encoding flags and preserve partial request facts. Validation: 116 focused tests, static and architecture checks, documentation checks. Browser regression coverage uses controlled CDP responses.
This commit is contained in:
@@ -57,11 +57,6 @@ export const uniqueObligationDiagnostics = (
|
||||
),
|
||||
);
|
||||
|
||||
export const hasObligationDiagnostic = (
|
||||
diagnostics: readonly Diagnostic[],
|
||||
code: Diagnostic["code"],
|
||||
): boolean => diagnostics.some((diagnostic) => diagnostic.code === code);
|
||||
|
||||
export const contradictionDiagnostics = (
|
||||
obligationId: string,
|
||||
contradictions: ReadonlyMap<string, readonly string[]>,
|
||||
|
||||
Reference in New Issue
Block a user