The boundary in this pattern is simple: an agent may propose work (a plan, a branch, a pull request), but controls outside the agent decide whether it is accepted. A confident agent cannot skip a gate, because the gate is enforced by the platform, not by instructions the agent is trusted to follow.1

The same boundary in three sources

SourceWhere the boundary sits
GH-600 course, module 2Required checks, CODEOWNERS review, branch protection, and environment approvals decide what merges and deploys.1
AI-native SDLC playbookAgents propose changes only through pull requests and branch protection; the production gate stays human-controlled.2
Warp’s self-improving agentsImprovements to an agent’s own skill file arrive as pull requests the team reviews and can revert.3

Making it enforceable on GitHub

The GH-600 module turns the boundary into three mechanisms:1

  1. A pull request template requiring goal, scope, steps, verifiable success criteria, risks, and a rollback plan.
  2. A required status check (for example a “Plan Gate” workflow) that fails when the plan is missing.
  3. CODEOWNERS, so changes under paths such as /security/, /.github/workflows/, or /infra/ need the owners’ sign-off.

Plan first, or plan with the code

Plan-first PRPlan and execution in one PR
Plan visibleBefore any code existsAlongside the first commits
Human validationBefore code is writtenBefore merge
Suited toHigh-risk, hard-to-reverse changesLow or medium risk, easily reversed

Both are safe when GitHub protections are configured; the only variable is when code may exist relative to approval. Planning agents should get read-only tools, with a deliberate handoff to an implementation agent.1

Version control also supplies the audit log, approval gate, and rollback that a bespoke agent-memory system would have to build (analysis in the Warp note).3 The SDLC playbook makes the same point: Git history records what was asked, what the agent produced, which policy applied, and who approved it.2

Footnotes

  1. GitHub Certified: Agentic AI Developer (study notes) 2 3 4

  2. The AI-Native SDLC Playbook 2

  3. How Warp Builds Self-Improving Agents on Claude 2