Playbook overview

Use a hosted coding agent

Guide, operating model and reference

Suppose you send the cancellation change to a hosted agent and get a pull request back. You already have builds and branch rules. Before you schedule another job, walk through the controls below with one approved change in a disposable repository. Have somebody check what the product provides, what you configured and what another service still has to enforce.

ControlWhere to lookWhat to check
Who can start workThe product’s dispatch options and your repository access settings. Keep approval in the work record.Try starting the job with an approved brief and with a draft item. Confirm how the decision and approved revision reach the session.
Workspace, credentials and networkThe hosted runner supplies an environment. Configure access to repositories, services and test data. Put any additional boundary at the service that needs it.Run the required test path and check the audit record for what the job could actually access.
Reviewed guidanceCheck what the client loads from the starting repository revision and what it can discover in proposed changes. Supply a protected copy if needed.Start a new session on a candidate branch with a proposed guidance edit. Confirm which version it actually reads.
Keeping a result with the taskUse the product’s saved run and candidate revision where available. Keep the approved task and handoff in the work record.Stop an illustrative run and ask someone to pick it up from the saved brief, source revision and open decision.
Independent verificationConfigure required CI checks and their publishers. Keep the approved inputs and authority to publish results in a protected job.Verify that the required job checks the submitted revision with the approved expectations. Supply a result for an earlier revision and check that it leaves the current change pending.
Review, merge and releaseConfigure reviewer requirements, status checks and release permissions where those decisions are made.Check which identities can approve, merge or deploy, including the agent identity and any bypasses.

One example, documentation checked 21 November 2026. GitHub documents that Copilot can undertake repository work and offer changes for review. GitHub repository rulesets can require pull requests, reviews and status checks. If you use those together, check the actual settings for your repository, including check publishers and bypasses, before drawing conclusions about your setup. I’d leave a person dispatching the work while trying the controls above. GitHub Copilot on GitHub.com · GitHub repository rules · GitHub Actions secure use

Use the readiness checklists when deciding whether to run without somebody alongside the session. If coordination becomes a job in its own right, see how to claim and recover work.