{"agent":"claude","input":"Write Go tests for this CLI. Read main.go and the config code first, and list what is untested: flag parsing and option validation, config file loading from each directory it searches, and every input source the CLI accepts (stdin, repository shorthands, http and https URLs, directories searched for a README, plain files, and the errors for each). Test URL sources against an httptest server, never the real network, and keep every file the code writes inside t.TempDir() by setting the config environment variables with t.Setenv. Reset any package-level flag variables between tests. Add golden-file tests for rendered output with a fixed style and width, with an -update flag to regenerate them, and use teatest with golden files where the TUI is involved. Run go test ./... and go test -race ./... until both pass, and open a pull request that lists what each new test covers.","resources":[{"url":"https://github.com/your-org/your-app"}]}