Files
reverse-engineering-anything/src/contracts/processComparisonContracts.ts
T
gensokyo-dev a989c0e458 refactor(evidence): unify retained inputs across domains (#8299)
Declare logical Evidence sources once and resolve exact retained inputs through
shared application workflows across 20 composition tools. Preserve domain-owned
authentication, source closure, caller choices, coverage and resource admission.

Validation includes public CLI/MCP regressions, local Codex terra/high trials
and fresh-import real-artifact workflows. Measurements, failed attempts and
coverage limits are recorded in docs/verification/evidence-input-composition-2026-10-31.md.

Fixes #8293.
Fixes #8281.

Assisted-by: Suika (gensokyo-skills:suika-scatter-gather-planning)
2026-10-31 14:45:21 +00:00

12 lines
509 B
TypeScript

import { z } from "zod";
import { evidenceInputSchema } from "../domain/evidenceReference.js";
import { processTraceSpecificationSchema } from "../domain/process/processTraceSpecification.js";
/** Exact observation sources and the caller's process-comparison policy. */
export const processComparisonInputSchema = z.strictObject({
left: evidenceInputSchema,
right: evidenceInputSchema,
trace_spec: processTraceSpecificationSchema.optional(),
max_capture_age_ms: z.int().nonnegative().optional(),
});