{"agent":"claude","input":"Remove github.com/pkg/errors from this Go module and use the standard library instead. List every file that imports it and count the calls by function: New, Errorf, Wrap, Wrapf, WithMessage, WithStack, Cause, Is, As, and any use of the stackTracer interface or the %+v verb on an error. Before editing, run the tests and add a temporary test that prints two representative errors with %v and %+v and checks errors.Is or errors.As through a wrapped error. Then port: fmt.Errorf with %w for Wrap, Wrapf and WithMessage, errors.New and fmt.Errorf for New and Errorf, errors.Is, errors.As or errors.Unwrap for Cause. For every Wrap you change, check whether the error can be nil at that point and keep the nil result if it can. Do not change any message text. If code or logging depended on stack traces, say where and leave that call alone. If the tests need a service such as Redis, install it with apt and start it; do not use Docker. Run go mod tidy, go vet and the full tests, rerun the temporary test, then delete it. Open a pull request with the call count, the before and after output and every command you ran.","resources":[{"url":"https://github.com/your-org/your-app"}]}