# zlay AT Protocol relay. Read [architecture](docs/architecture/design.md) before changing threading, persistence or the I/O backend. Use the compiler pin in `build.zig.zon`. ## checks ```sh zig fmt --check build.zig build.zig.zon src scripts zig build test zig build -Dbackend=zio ``` The default tests use the threaded backend and do not analyze zio-only code, so the production-backend build is required. Avoid formatting `.` because it also walks fetched packages. Under zio, fibers must yield: no busy loops or sub-ms sleep spins. ## production Use ReleaseSafe, `-Dbackend=zio` and `-Dtarget=x86_64-linux-gnu`. ReleaseFast remains prohibited because of the recorded double-free. Changing these supported settings requires fresh qualification; old allocator measurements are in [the musl investigation](docs/history/musl-investigation.md). Deployment configuration belongs to [relay](https://tangled.org/zzstoatzz.io/relay). From that repository, `just zlay publish-remote ReleaseSafe zio` sets its own KUBECONFIG. Follow [deployment](docs/operations/deployment.md) for rollout, rollback and diagnostics; [gotchas](docs/operations/gotchas.md) covers dependency traps.