Start Debugging

ai-agents

288 posts · Page 1 of 29

How to Let Copilot Fix Failing Checks and Merge Conflicts on a PR with Agent Merge

Agent Merge ("Watch and fix" in the pull request merge box) makes the Copilot cloud agent watch a PR and fix failed GitHub Actions workflows, merge conflicts with the base branch, or both, until the PR is mergeable. Requirements, the per-PR and default settings, pairing it with auto-merge, the workflow-approval setting that stalls the loop, billing, and the fork and stacked-PR limits.

How to Track Claude Code, Codex and OpenCode Usage on Copilot with totals_by_client and model_selection_mode

Use the Copilot usage metrics API's totals_by_client array to see which tools (claude_code, codex, opencode, copilot_cli, vscode) send model traffic through your Copilot seats, and model_selection_mode to split user-picked models from Auto and product-chosen ones. Endpoints, permissions, NDJSON parsing with jq, and the caveats that make the numbers easy to misread.

How to Turn On Copilot Assisted Permissions in Copilot CLI and VS Code and Lock Down Allow All With Enterprise Managed Settings

Enable GitHub Copilot assisted permissions with /permissions assisted, defaultPermissionMode or --assisted-approval in Copilot CLI 1.0.104+, the Copilot app and VS Code 1.143+, then use copilot/managed-settings.json to block Allow All, set the default mode and keep deny and ask rules in force. Covers how the safety review decides, what it never reviews, billing, and the headless gotchas.

How to Authenticate a GitHub Copilot SDK Service as a GitHub App with the Copilot Requests Permission

Run the GitHub Copilot SDK from a backend service with no signed-in user: create a GitHub App with the read-only Copilot Requests organization permission, mint a one-hour ghs_ installation token, pass it through gitHubToken with useLoggedInUser false, and rotate it before it expires. Covers the GitHub Actions shortcut, billing to the organization, the troubleshooting table, and why gitHubTokenProvider cannot hold installation tokens. @github/copilot-sdk 1.0.34, public preview since October 27, 2026.
2026-11-26 ai-agentscodexssh

How to Stop a Coding Agent Desktop App From Using Your Forwarded SSH Agent Keys on Remote Hosts

The Codex app inside ChatGPT Desktop links any forwarded SSH agent on a remote host to a stable socket that its long-lived app server and every agent command inherit. How the link works, how to check whether your keys are exposed, a dedicated ssh_config alias with ForwardAgent no and IdentityAgent none, why turning forwarding off does not cut a link that is still live, and how to scope keys with ssh-add -c, -t and -h when the agent really needs git.
Next