mirror of
https://github.com/morluto/rea.git
synced 2026-11-03 05:16:16 +00:00
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)
12 lines
509 B
TypeScript
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(),
|
|
});
|