ZEVM Documentation Process
ZEVM Documentation Process
Section titled “ZEVM Documentation Process”ZEVM documentation is contract-first.
Purpose
Section titled “Purpose”The documentation set must define ZEVM behavior clearly enough to drive implementation, review, and external integration without hidden assumptions.
Contract Sources
Section titled “Contract Sources”Normative product-definition sources are:
docs/specs/prd.mddocs/specs/json-rpc-contract.md
Support summaries live under docs/specs/internal/* and help explain the normative contract, but they do not override it.
Documentation Standard
Section titled “Documentation Standard”For product surfaces, docs must be explicit and testable:
- startup flags and config fields
- defaults and precedence rules
- invalid combinations and startup failures
- runtime-mode boundaries
- transport and envelope behavior
- method availability by mode
- exact params, payloads, selectors, and errors
Avoid ambiguous language for behaviors that affect user-visible runtime semantics.
Change Rules
Section titled “Change Rules”When updating ZEVM docs:
- update normative contract docs first (
prd.md,json-rpc-contract.md) if behavior changes - update internal support summaries to match
- update public Mintlify docs to match
- remove or archive stale process artifacts that could conflict with current contract docs
- when mapped normative or public pages change, refresh any referenced internal support docs in the same PR and keep their
Last updatedmetadata aligned with that docs cycle
Review Gate
Section titled “Review Gate”A docs pass is complete only when a reviewer can answer, from docs alone:
- how ZEVM starts in each mode
- which flags/config fields are accepted
- what defaults and precedence apply
- which startup combinations fail
- which methods are supported in each mode
- exact method params/results/errors for the published JSON-RPC surface
- selector and readiness semantics in trusted vs light mode
If any of these are unclear, the docs pass is incomplete.