Contributing
Start from the repository and identify whether a change affects source semantics, shared source packages, native capabilities, or target emission. That determines which contracts and tests must move together.
Compiler development
Section titled “Compiler development”Use the repository-selected Go toolchain and install target prerequisites before running cross-language tests. The CI guide describes pinned dependencies and individual suites.
go build ./...go test -short -timeout 5m ./...go run ./cmd/goalchemy spec generate -checkShort mode is a development check, with Go and TypeScript coverage for several matrices. Full validation covers every target and needs the native tools documented in CI. Do not interpret a short-mode run as complete target verification.
For a semantic change, update the language specification, canonical contracts, generated specs, and conformance cases together. Run make spec-generate when contract or API documentation sources change, and review the resulting diff. The runtime reference on this site is published from that generated repository documentation.
New target languages
Section titled “New target languages”Follow adding a target. A working emitter is only one part: runtime operations, native dependencies, public library APIs, host lifecycles, diagnostic maps, and complete CI coverage all need verification.
Documentation development
Section titled “Documentation development”The site lives in docs-web/ and uses Astro with Starlight. From the repository root:
pnpm install --frozen-lockfilepnpm docs:devpnpm docs:checkpnpm docs:buildUse Node 24 and the pnpm version pinned in package.json. The build publishes canonical repository guides, splits the runtime reference by package, and derives the feature matrix from specs/features.yaml. Edit those source files rather than generated content. Introductory guides and target landing pages are authored under docs-web/src/content/docs/.
The production build checks internal links, fragment IDs, and local assets. See the site maintenance guide for publication, deployment, and source mappings.