Resolve the base directory artifact bytes are written to: env PS_ARTIFACT_DIR when set, else <os.tmpdir()>/mj-ps-artifacts. Centralized so the store (write) and the loader (read) agree on the location (bytes live at <baseDir>/<file.ID>.bin).
PS_ARTIFACT_DIR
<os.tmpdir()>/mj-ps-artifacts
<baseDir>/<file.ID>.bin
Resolve the base directory artifact bytes are written to: env
PS_ARTIFACT_DIRwhen set, else<os.tmpdir()>/mj-ps-artifacts. Centralized so the store (write) and the loader (read) agree on the location (bytes live at<baseDir>/<file.ID>.bin).