{"agent":"codex","input":"Add resource limits to the Compose stack in react-express-mongodb and open a pull request. Read compose.yaml, backend/Dockerfile, frontend/Dockerfile, backend/package.json, frontend/package.json and README.md in that directory, and minecraft/compose.yaml for the form the repository already uses. Bring the stack up with docker compose up -d --build, wait for port 3000 to answer, call the API with curl a few times, and read docker stats --no-stream twice a minute apart. From the peaks set deploy.resources.limits for memory and cpus and reservations for memory on frontend, backend and mongo, with headroom, rounded to values a person would write. Set NODE_OPTIONS with --max-old-space-size under the memory limit on the two Node services and pass --wiredTigerCacheSizeGB to mongod under the mongo limit. Add a README section with the limits and the commands to re-measure them. Validate with docker compose config, restart from clean with docker compose down -v and up -d --build --wait, read HostConfig.Memory and NanoCpus with docker inspect, call the frontend and API with curl, and take a final docker stats reading. Put the measurements, the inspect output and the final stats table in the pull request. Do not change images, targets, ports or volumes.","resources":[{"url":"https://github.com/your-org/your-app"}]}