Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

505 B
Raw Blame
import { z } from "zod";

/**
 * Caller choice for declared-versus-observed artifact integrity mismatches.
 *
 * `fail` rejects the operation; `record-and-continue` keeps the observed bytes
 * as explicitly untrusted Evidence and reports each contradiction.
 */
export const artifactIntegrityPolicySchema = z
  .enum(["fail", "record-and-continue"])
  .default("fail");

/** Parsed artifact integrity policy. */
export type ArtifactIntegrityPolicyName = z.infer<
  typeof artifactIntegrityPolicySchema
>;