{"agent":"claude","input":"Replace winston with pino in this Node.js service. Read package.json, the module that creates the logger, the config that sets its level, and every file that logs or imports a winston type. Count the calls per level and per argument shape: plain string, printf-style placeholders with an object, placeholders with an Error, and an Error alone. Before porting, write a small script that builds the existing logger with its real options and makes one call of each shape; save its output. Port the logger module to pino with the same level source, JSON to stdout in production and pino-pretty only in development. Map levels pino lacks to the nearest pino level and keep accepting the old names from the environment. Rewrite every call that passes an Error through a placeholder as logger.error({ err }, message), because pino prints {} for it. Where a call logs a request body or credentials, pass the object as a field and add a redact path; list each such call. Replace winston type imports. Remove logging packages nothing imports. Run the script against the new logger, then npm test and the TypeScript check, and compare the check with its result on the unchanged branch. Open a pull request with both outputs side by side and a table of old and new field names.","resources":[{"url":"https://github.com/your-org/your-app"}]}