← colinhacks/zod
CodeVetter · Repo Unpack · Data flow

colinhacks/zod

Scanned commit 10dda3a3a4 dated 2026-09-21 — last upstream commit. Generated by codevetter codevetter 1.12.0 on 2026-09-22. Deep analysis by cli:codex via the codex CLI on 2026-09-22 (733s).

A schema factory creates an immutable schema instance whose definition and structural capabilities are stored under `_zod`. Parsing sends a mutable payload and shared context through the schema graph; child schemas transform values and append raw issues, while the public boundary either returns a deep output structure or finalizes issues into a Zod error. Optional compilation replaces only the success path and deliberately delegates failure reporting to the interpreter. Separate conversion pipelines translate schema graphs to and from JSON Schema, while the documentation application turns MDX files into pages and text feeds.