📝 docs: vocs documentation site at guillotine.tevm.sh - #864
Conversation
Scaffolds a vocs 2.7.2 site under docs/ and writes 15 pages of documentation derived from the real source tree. Pages: landing, installation, getting started, project status, the stack (tevm / guillotine / guillotine-mini / zevm / voltaire), concepts (architecture, dispatch, synthetic opcodes), guides (configuration, state, tracing, bindings), reference (Evm, hardforks and EIPs), contributing. Every Zig example in getting-started was compiled and run against this tree via `zig build test-integration` (10/10 passed) before being pasted in. Project status records real measured output, including that `zig build test-opcodes` currently exits 1 (623/623 assertions pass, 4 test executables fail on logged errors) and that lib/voltaire cannot be built by cargo because it is neither a workspace member nor excluded. vocs 2.x notes: pages live in docs/src/pages (not docs/pages), and the config must import defineConfig from 'vocs/config' — the package root re-exports React components that import vite-virtual modules and fails to resolve under Node. Deploy target is guillotine.tevm.sh on Vercel with docs/ as root directory; vocs auto-selects the Vercel adapter from the VERCEL env var. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Review: docs vocs site (docs-only, no engine changes)This is a scaffold for a vocs docs site under I spot-checked a large fraction of the technical claims in the new pages against the actual source (not just skimmed) since a docs PR's whole value is accuracy:
This is unusually well-verified for a docs PR — good discipline citing exact source files and pasting real command output rather than assumed behavior (in line with the repo's zero-placeholder policy). Issues found1. Broken nav link to { text: 'Playground', link: '/playground', match: '/playground' },
...
{ text: 'EVM Playground', link: '/playground' },There is no 2. Minor / non-blocking
Overall: high-quality, well-sourced documentation. Fix the Note: This review was performed by Claude AI assistant, not a human maintainer. |
What
Scaffolds a vocs 2.7.2 documentation site under
docs/and writes 15 pages of documentation derived from the real source tree, targeting guillotine.tevm.sh.Existing markdown under
docs/dev/,docs/performance/,docs/mini/was treated as source material and is left in place — the new pages link to it as the deeper source of record rather than duplicating it.Pages
//installation/getting-started/status/stack/concepts/architecture_unsafecontract, safety limits/concepts/dispatch/concepts/synthetic-opcodesopcode_synthetic.zig/guides/configurationEvmConfigfield/guides/state/guides/tracingTracerConfigflags, divergence debugging/guides/bindings/reference/evminit/call/CallParams/CallResult/Errorfrom source/reference/hardforks/contributingVerification — real output
zig build— passes (exit 0).Docs examples — every Zig snippet in getting-started was placed in a scratch test file, imported from
test/root.zig, and run. The scratch file was removed afterwards:Doing this caught three real API details now documented:
Databasetakes raw[20]u8whileCallParamstakesAddress;CallResultmust be freed withresult.deinit(allocator);Bytecodeis a type constructor whoseinittakes no config.Docs site build — passes, all 15 routes emitted:
zig build test-opcodes— fails, recorded on/statusrather than glossed:All 623 assertions pass; four executables fail because the run logs errors —
0x3eReturnDataNotAvailable,0xf2OutOfGas(depth 106),0xfaOutOfGas(depth 108),0xfeInvalidOpcode. Two look like correct behaviour logged too loudly; the deep-recursion pair less so.Not run (and stated as such on
/status):zig build test,specs,test-unit,test-lib, WASM/SDK builds, benchmarks.Blocker found
lib/voltaireis neither a Cargo workspace member nor excluded, socargo buildrefuses:Plain
zig buildsucceeds, butzig build test-integrationthen fails to linklibcrypto_wrappers.a. Documented with a workaround in/installation. Not fixed here —Cargo.tomlis outside this docs-only change.vocs 2.x gotchas
Both cost a build failure before being fixed, so noting them for the next repo:
docs/src/pages/, notdocs/pages/.import { defineConfig } from 'vocs/config'. Importing fromvocspulls in React components that import vite-virtual~icons/*, which Node cannot resolve.wakuandviteare peer dependencies and must be installed explicitly.Deployment
docs/vercel.jsonsets install and build commands only —vocs builddetectsVERCELand switches to the Vercel adapter itself, sooutputDirectoryis deliberately unset. Remaining project/domain steps are for a human; see the readiness report.Does not merge, publish, or touch any release trigger.
🤖 Generated with Claude Code