{"agent":"claude","input":"Add CodeQL scanning to this Go CLI. Read go.mod, .golangci.yml, .github/dependabot.yml and every file under .github/workflows first, and check with the GitHub API whether CodeQL default setup is already enabled. Write .github/workflows/codeql.yml triggered on push to the default branch, pull_request and a weekly schedule, with security-events: write, contents: read and actions: read permissions, a concurrency group per ref, actions/setup-go reading the version from go.mod, and github/codeql-action init, autobuild and analyze for Go with the security-extended queries, pinned to the major versions the other workflows use. Install the CodeQL CLI in this sandbox, build a database and run the same queries so you can list the findings the first scan will produce, marking any that gosec in the linter config already reports. Run actionlint on the workflow and open a pull request with the findings list and the default-setup state you found.","resources":[{"url":"https://github.com/your-org/your-app"}]}