The opencode-serve unit ran with systemd's minimal default PATH, so shell commands invoked by the agent (git, make, nix, node, rg, etc.) were not found. Set systemd.services.opencode-serve.path on both sgx and amd to a common dev toolset.