{"agent":"claude","input":"Replace github.com/mitchellh/go-homedir with the standard library in this Go module. List every call to homedir.Dir and homedir.Expand and what the result is used for. Build the binary before changing anything and record its behaviour in three environments: HOME set to a directory that contains the config file the program looks for, HOME unset (run it with env -u HOME, which keeps PATH), and HOME set to an empty string. Then replace homedir.Dir with os.UserHomeDir and repeat the three runs. If the old binary worked with HOME unset and the new one does not, add a fallback to os/user.Current().HomeDir so the behaviour is kept, and repeat the runs again, including a build with CGO_ENABLED=0. For homedir.Expand, write a small helper that expands a leading ~/ and test it. Check how the program is started in the repository (systemd units, Dockerfile, cron examples) and say whether HOME is set there. Run go mod tidy, then go mod why -m github.com/mitchellh/go-homedir, and report whether the module is still in the build through another dependency. Run go vet and the tests with the Go version CI pins. Open a pull request with every command and its output.","resources":[{"url":"https://github.com/your-org/your-app"}]}