{"agent":"claude","input":"Replace github.com/hashicorp/go-multierror with the standard library's errors.Join in this Go module. Read go.mod for the Go version (errors.Join needs 1.20) and for whether go-multierror and errwrap are direct or indirect. List every use by kind: Append, ErrorOrNil, the Errors field, ErrorFormat, Group, Prefix, Flatten, and any type assertion to *multierror.Error. If the code uses ErrorFormat, Group or iterates Errors, propose the equivalent before changing it and keep behaviour the same. Write a small Go program that prints, for go-multierror and errors.Join side by side: the message for one and for two collected errors, the message when wrapped with %w, the result of joining only nil values compared with nil, and whether errors.Is and errors.As match an inner error. Include its output in the pull request. For each call site, say whether a nil could be appended and whether any caller compares the message text. Make the change, adding the errors import where missing, and check each file for a local variable or project package named errors that shadows the standard one; rename the local, not the import. Run gofmt, go build, go vet and go test on every package before and after, and report vet findings that exist in files you did not touch as pre-existing. Run go mod tidy and show that go-multierror and errwrap are gone, or run go mod why to explain what still needs them. Add tests for the edited code paths that assert with errors.Is, not on message strings. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}