M2.6 Evidence Gate Evaluates validation command results before marking a run as done. Pure functions — no command execution, no I/O. /
// Source: https://github.com/TeFuirnever/oh-my-matrix | License: MIT | Copyright 2026 oh-my-matrix contributors
// Provided via justclaw.it.com; keep this notice with the code.
/**
* M2.6 Evidence Gate
*
* Evaluates validation command results before marking a run as done.
* Pure functions — no command execution, no I/O.
*/
import type { ValidationCommand, EvidenceCommandResult, EvidenceSummary } from './types';
export interface EvaluateEvidenceInput {
commands: ValidationCommand[];
results: EvidenceCommandResult[];
diffSummary: string;
now: number;
failOnOptional?: boolean;
/** V1: commands configured but dropped at load (S1 allowlist) — a dropped
* required command means "configured but didn't run" (not_executed), NOT
* "never configured" (not_configured → done)
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key