You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What changed: Added bin/mega-evme/src/lib.rs holding all executable EVM logic, module re-exports, and set_thread_panic_hook(). main.rs became a thin CLI wrapper. bin/mega-evme/AGENTS.md not updated.
Coverage: Not covered
Target: bin/mega-evme/AGENTS.md STRUCTURE section
What needs updating: Add src/lib.rs: Core CLI library — all executable logic, module re-exports, and panic hook. and change src/main.rs from "CLI bootstrap and panic hook" to "Thin CLI entry point — parses args and dispatches into lib.rs."
F-002: CLAUDE.md test organization missing tests/mutation/
What changed: Added crates/mega-evm/tests/mutation/ (6 modules: access_evm, block, constants, external_exec, limit, main). CLAUDE.md not updated.
Coverage: Not covered
Target: CLAUDE.md Test Organization section
What needs updating: Add mutation/ to the directory list: "…rex5/, block_executor/, and mutation/ (mutation-killing integration tests for the limit/ subsystem)."
Scope: All docs/spec/ and docs/mega-evme/ pages + all agent files Claims checked: ~60 | Verified: 58 | Stale: 2 | Incorrect: 0
C-001: bin/mega-evme/AGENTS.md — lib.rs missing; main.rs description stale
Severity: Minor | Disposition: Stale
Page: bin/mega-evme/AGENTS.md STRUCTURE section
Doc says: `src/main.rs`: CLI bootstrap and panic hook. (no lib.rs entry)
Source says: lib.rs holds all logic + set_thread_panic_hook(); main.rs is "a thin wrapper that only parses arguments and dispatches into this crate" (bin/mega-evme/src/lib.rs:4)
Suggested correction: Add src/lib.rs entry; update src/main.rs to "Thin CLI entry point — parses args and dispatches into lib.rs."
C-002: CLAUDE.md test organization missing mutation/
Severity: Minor | Disposition: Stale
Page: CLAUDE.md Test Organization
Doc says: "Tests are organized by spec: equivalence/, mini_rex/ (12 modules), rex/, rex2/, rex3/, rex4/, rex5/, and block_executor/."
Documentation Audit Report
Automated audit of
docs/and agent instruction files against source code and writing conventions.Summary
Freshness
Time window: 2026-06-15 to 2026-06-29 (14 days)
PRs reviewed: 8 | Doc-worthy: 2 | Gaps: 2
F-001:
bin/mega-evme/AGENTS.mdSTRUCTURE missinglib.rsbin/mega-evme/src/lib.rsholding all executable EVM logic, module re-exports, andset_thread_panic_hook().main.rsbecame a thin CLI wrapper.bin/mega-evme/AGENTS.mdnot updated.bin/mega-evme/AGENTS.mdSTRUCTURE sectionsrc/lib.rs: Core CLI library — all executable logic, module re-exports, and panic hook.and changesrc/main.rsfrom "CLI bootstrap and panic hook" to "Thin CLI entry point — parses args and dispatches into lib.rs."F-002:
CLAUDE.mdtest organization missingtests/mutation/crates/mega-evm/tests/mutation/(6 modules: access_evm, block, constants, external_exec, limit, main). CLAUDE.md not updated.CLAUDE.mdTest Organization sectionmutation/to the directory list: "…rex5/,block_executor/, andmutation/(mutation-killing integration tests for thelimit/subsystem)."3 covered + 5 internal-only changes
Covered: PR #306
--dump-fixture→docs/mega-evme/commands/replay.md✓ | PR #315 Rex5 doc sync → applied ✓ | PR #306 Rex5 mainnet timestamp →block/chain.rs(spec docs intentionally omit chain timestamps) ✓Internal-only: #319 CI centralization | #318 skill fix | #317 version bump | #316 build-time verification | #313 perf optimization (all
spec:unchanged)Correctness
Scope: All
docs/spec/anddocs/mega-evme/pages + all agent filesClaims checked: ~60 | Verified: 58 | Stale: 2 | Incorrect: 0
C-001:
bin/mega-evme/AGENTS.md—lib.rsmissing;main.rsdescription stalebin/mega-evme/AGENTS.mdSTRUCTURE section`src/main.rs`: CLI bootstrap and panic hook.(nolib.rsentry)lib.rsholds all logic +set_thread_panic_hook();main.rsis "a thin wrapper that only parses arguments and dispatches into this crate" (bin/mega-evme/src/lib.rs:4)src/lib.rsentry; updatesrc/main.rsto "Thin CLI entry point — parses args and dispatches into lib.rs."C-002:
CLAUDE.mdtest organization missingmutation/CLAUDE.mdTest Organizationequivalence/,mini_rex/(12 modules),rex/,rex2/,rex3/,rex4/,rex5/, andblock_executor/."ls crates/mega-evm/tests/includesmutation/(added PR ci: add cargo-mutants mutation-testing pipeline + limit-subsystem tests #325), andmutation/(mutation-killing integration tests for thelimit/subsystem).Key verified claims
docs/spec/evm/dual-gas-model.mdvsconstants.rs: INTRINSIC_STORAGE_GAS=39,000 ✓, SSTORE_BASE=20,000 ✓, ACCOUNT_CREATION_BASE=25,000 ✓, CONTRACT_CREATION_BASE=32,000 ✓, CODE_DEPOSIT=10,000 ✓, LOG_TOPIC=3,750 ✓, LOG_DATA=80 ✓, calldata schedule (40/160/100/400) ✓.docs/spec/evm/resource-limits.mdvsconstants.rs: TX_COMPUTE_GAS_LIMIT=200M ✓, TX/BLOCK_DATA_LIMIT=13,107,200 ✓, TX/BLOCK_KV_UPDATE_LIMIT=500,000 ✓, TX/BLOCK_STATE_GROWTH_LIMIT=1,000 ✓, FRAME numerator=98/denom=100 ✓.docs/spec/evm/gas-detention.mdvsconstants.rs: BLOCK_ENV_CAP=20M ✓, BENEFICIARY_CAP=20M ✓, ORACLE_CAP=20M (Rex3+) ✓, historical 1M ✓.CLAUDE.mdagent claims: spec progression EQUIVALENCE→REX5 ✓, MiniRex1→EQUIVALENCE/MiniRex2→MINI_REX ✓, AdditionalLimit inlimit/limit.rs✓,block/chain.rsexports (hardfork_schedule, MAINNET_CHAIN_ID=4326, TESTNET_CHAIN_ID=6343, mainnet/testnet_hardforks) ✓, system contract addresses 0001–0006 ✓, STORAGE_CALL_STIPEND=23,000 ✓, Rex4 vs Rex5 stipend distinction ✓.Readability
Scope: All
docs/spec/SUMMARY.mdanddocs/mega-evme/SUMMARY.mdpages (agent files excluded)Pages sampled: 7 | Pass: 7 | Fail: 0 | Total findings: 0
Pages sampled:
evm/dual-gas-model.md,evm/resource-limits.md,evm/gas-detention.md,evm/gas-forwarding.md,hardfork-spec.md,system-contracts/overview.md,upgrades/minirex.md. All pass: correctspec: Rex5frontmatter, one-sentence-per-line markdown, RFC 2119 normative keywords in Specification/Security only, named constants in all formulas, proper spec-history cross-links.system-contracts/overview.mduses the lighter index-page structure (no Motivation/Rationale) perdocs/spec/AGENTS.mdconventions — correct.