docs: add contributor guide and validation wrappers - #2279
Conversation
There was a problem hiding this comment.
Review summary
Documentation-only change: expands CLAUDE.md with contributor/validation guidance (testing, Go compatibility, cross-platform/Wasm/embedded validation, GitHub safety) and adds AGENTS.md as a symlink to CLAUDE.md.
I verified the added content against the repository. It is highly accurate: all referenced scripts, workflows, and files exist (dev/*.sh, chore/litgen, cl/_testrt/litdemo/in.go, embedded/ESP scripts, workflow files); command invocation forms match how the scripts actually parse arguments (dev/docker.sh <arch> [cmd...], dev/test_goroot.sh -- <runner-args>, litgen <file>); anchor links resolve (dev/README.md#6-refresh-test-goldens, README #dependencies/#how-to-install); and version claims match CI (LLVM 19, pinned Go patch releases). The // LITTEST marker convention is real, and AGENTS.md is a genuine 120000 symlink resolving to CLAUDE.md, consistent with the "links to this file" wording.
A few minor documentation-quality points are left inline. No blocking issues.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
LLGo baseline benchmarks
Program measurements
Core language and compiler benchmarks
Compared with |
Summary
CONTRIBUTING.mdfor human contributors and link it from the READMECLAUDE.mdfocused on automation-specific scope, worktree, upstream-write, and reporting safeguards;AGENTS.mdcontinues to link to itdev/test_wasm.shanddev/test_embed.shfor end-to-end target validation on macOS/Linux and Windows through WSL2.github/codecov.ymlexclusionsValidation
shellcheck -x dev/test_wasm.sh dev/test_embed.shbash -n dev/test_wasm.sh dev/test_embed.sh./dev/test_wasm.sh./dev/test_embed.shREADME.mdandCLAUDE.mdreferences toCONTRIBUTING.md, referenced anchors, andAGENTS.md -> CLAUDE.mdgit diff --check upstream/main...HEADNo compiler or runtime code changed.