NinFenz (NF) turns "AI produces long-form content reliably" into engineering you can load, verify and reproduce. The protocol is domain-neutral and model-agnostic; narrative is only the first official domain pack.
Not a model · not a prompt-template collection · not a vendor SDK · MIT · runs offline
It is: a protocol (module / pipeline / asset) plus one deterministic gate entry point plus a recomputable asset ledger - all plain markdown and JSON, stored in git.
It is not: a model, a prompt collection, or an SDK. The gates check structure and reproducibility, not prose quality - that boundary is part of the design.
bash verify.sh.nf serve), dual-era 2026-07-28 / 2025-11-25.python tui/nf.py - a full-screen TUI in the pure standard library.# read-only checks, no clone needed
npx -y ninfenz doctor
# full-screen terminal TUI
npx -y ninfenz tui
# all 39 gates (needs a real checkout)
git clone https://github.com/Monyeah777/NinFenz
cd NinFenz && bash verify.sh
Requires Node >= 18.17 and Python >= 3.11 (standard library only, no pip dependencies).
Terminal TUI (standard library only, offline; 14-second demo):

| Prompt collection | NinFenz | |
|---|---|---|
| Deliverable | a block of text | protocol + gates + asset ledger |
| Second run | random structure | isomorphic to the first (diffable against a baseline) |
| Pass/fail | a human eyeballs it | 39 deterministic checks against a frozen baseline |
| Verifiable | no | Merkle inclusion proof + signature anchors, fail closed |
| Boundary | - | structure and reproducibility, not prose quality |
From the Liexian Zhuan: Ning Fengzi (宁封子) was the Yellow Emperor's Keeper of the Kiln - raw clay goes in; after kiln temperature and a seal, a durable artifact comes out. Kiln temperature maps to the deterministic gates; the seal maps to verifiable proof. NinFenz is the compressed form; NF is the short name.
A content contract layer: a protocol plus deterministic quality gates plus asset standards, so long-form AI output can be loaded, checked and reproduced.
No. The protocol is model-agnostic; any model that can read text can assemble and load it.
Templates give text. NinFenz gives a protocol, verifiable gates and an asset ledger, so an output can be judged pass or fail.
No. The repo is markdown source; bash verify.sh reads locally and runs offline.
Yes. Artifacts carry Merkle inclusion proofs (RFC 6962) and optional hmac / ssh-sig / sigstore anchors; a missing verifier fails closed instead of passing silently.
MIT, no paid tier, no hosted service.