Validate
Path:
_archive/loom-stale-pre-sprint-snapshot/src/lib/validate.tsRelative: loom-stale-pre-sprint-snapshot/src/lib/validate.tsSubproject: _archiveCategory: archivedLines: 67Bytes: 2,858Imports: 10Exports: 3
Content Preview
- import { Ajv, type ValidateFunction } from "ajv";
- import addFormats from "ajv-formats";
- import { ContractViolationError } from "../types/errors";
- import type { ContractName, ContractTypeMap } from "../types/contracts";
- import { CONTRACT_NAMES } from "../types/contracts";
- import goalState from "../contracts/goal-state.schema.json";
- import stageSpec from "../contracts/stage-spec.schema.json";
- import dispatchEnvelope from "../contracts/dispatch-envelope.schema.json";
- import executionTrace from "..