Contributing
Use Go 1.25 or later. The supported toolchain pin used for CI and release candidates lives in the CI version file. Read AGENTS.md and the architecture before changing the engine or report contract.
gofmt -l cmd internal
git diff --check
go mod verify
go vet ./...
go test -count=1 ./...
go test -race -count=1 ./...
go build -o ./faultline ./cmd/faultline
python scripts/smoke.py --binary ./faultline
Network tests listen only on loopback. Run race tests where Go and the native C compiler support the detector. Report the OS, architecture, Go version, and which checks ran. Record a cross-build separately from native verification. Use synthetic payloads and redacted reports in issues and pull requests.
CI runs on pull requests and pushes to main. Use the same pinned scanner as CI to reproduce vulnerability checks. Packaging and verification are described in the release guide.