Hey there!
We're in the process of rewriting the World Engine from the ground up.
Stay tuned!
Install proto, then run proto trust && proto install
from the repository root to install the Go, moon and golangci-lint versions in .prototools
(trust lets proto load the golangci-lint plugin).
Keep proto's shims on your PATH so go and moon use those versions.
moon tasks # List project tasks
moon run world-engine:build # Build Go packages
moon run world-engine:lint # Lint with the pinned linter
moon run world-engine:lint-fix # Apply lint fixes
moon run world-engine:test # Run all Go tests
moon run world-engine:test-ci # Write coverage.out and junit.xml
TEST_SEED=123 moon run world-engine:test # Replay a test seedgotestsum runs through go tool. Failing tests log a seed for reproduction. Test tasks
aren't cached so randomized tests run each time.
Go's own compilation and test caches remain enabled.
Generated clients have separate projects:
moon run proto-csharp:buildorproto-csharp:packbuilds or packages the C# client. Requires the .NET SDK. Debug variants usebuild-debugandpack-debug.moon run proto-ts:buildtype-checks the TypeScript client. Requires Node/npm and a priornpm installinproto/gen/ts.
Moon replaces both Taskfiles. Task names use hyphens, for example test:ci
becomes world-engine:test-ci. C# rebuild cleans before building, and update
reports outdated dependencies without changing them. Formatting and analysis
failures propagate to the caller.
CI runs the same Go tasks as local development. The Box2D workflow retains
its separate architecture matrix and explicit determinism-* targets. Workflows select
explicit targets instead of moon ci, keeping the expensive determinism checks
in their dedicated matrix. Generated clients can be selected explicitly
on runners with their SDKs installed. Cleanup and formatting never run automatically.
.agents/setup installs the pinned Go and moon versions, Buf and the local
protobuf generators, then downloads Go dependencies. It is safe to rerun and
keeps the tools available in new login shells. .agents/resume checks the Go
and moon versions without installing anything. Neither script requires secrets.
Go unit tests use in-process services; no database or background server is needed. Docker-backed CLI integration tests, the .NET SDK, and TypeScript client npm dependencies are optional and are not provisioned by orb setup.
