{"agent":"claude","input":"Add CodeQL scanning to this CMake C++ project. Read CMakeLists.txt, cmake/cxxopts.cmake, include/CMakeLists.txt, test/CMakeLists.txt, src/CMakeLists.txt and every file under .github/workflows first. Write .github/workflows/codeql.yml running on push and pull request to the default branch and on a weekly schedule, with permissions limited to contents read and security-events write. Use github/codeql-action init for C and C++ with a manual build, configure with the examples and tests options on so the header is compiled through them, build with cmake, then run analyze. Keep the default query suite with a comment on where to extend it, run on one Ubuntu job, and restrict the upload to pushes and same-repository pull requests. Match the checkout action version the existing workflows pin and name steps like cmake.yml. Before opening the pull request, download the CodeQL CLI, create a cpp database with the workflow's build command, confirm the compiled files are in it, run the default analysis and quote the result count in the description. Run actionlint on the workflow.","resources":[{"url":"https://github.com/your-org/your-app"}]}