November 24, 2026
An Operating Model for Humans and Agents in Software Delivery
A minimal operating model for human engineers and AI coding agents: shared roles, ownership, approval gates, and evidence compiled from one versioned process.
Software delivery now includes both human engineers and AI coding agents. Without an explicit operating model, the two operate on inconsistent assumptions about ownership, sequencing, approval, and evidence. The result is duplicated effort, violated invariants, and changes whose provenance cannot be reconstructed. This document defines a minimal operating model that keeps humans and agents aligned on a single, versioned process, and identifies concrete tools that implement each part.
Core Premise
The process is the source of truth. Agents and humans are both executors of that process. Neither is permitted to invent local exceptions that are not declared in the model. The model is compiled into the artifacts each party already consumes: agent instruction files, GitHub rulesets, required status checks, CODEOWNERS, and evidence schemas.
Roles
Human roles
- Author: Writes or modifies the process model and reviews compiled output.
- Owner: Accountable for a path or subsystem (declared via CODEOWNERS or equivalent). Approves gated changes.
- Operator: Triggers agent runs, monitors evidence, and handles escalations.
Agent roles
- Implementer: Produces code changes within explicitly allowed paths (Claude Code, Cursor Composer, Copilot Workspace, Codex, Aider).
- Checker: Runs validations or generates evidence (CI jobs or a restricted agent step).
- Restricted: Explicitly denied write access to high-risk paths.
Roles are declared in the model. An agent is never implicitly granted more authority than its role allows.
Flow Structure
- Scope — Human or orchestrator selects the task and permitted agent role.
- Implement — Agent produces a change set limited to its allowed paths and runs local checks from its compiled instructions.
- Validate — CI re-executes the same checks and evaluates policy. Results are written to the evidence artifact.
- Gate — Protected-path changes pause for human Owner approval. The agent cannot satisfy this step.
- Record — Evidence (model version, hash, check outcomes, approvals, exceptions) is attached to the pull request.
- Merge — Platform rules permit merge only when all required checks and approvals are present.
Concrete Tool Recommendations
| Concern | Recommended tools | Notes |
|---|---|---|
| Source model & compilation | Custom YAML/JSON model + small compiler (or Canon-style compiler) | Single source; emits instruction files, rulesets, CODEOWNERS, Rego |
| Agent instruction surfaces | CLAUDE.md, .cursorrules, .github/copilot-instructions.md | Generated, never hand-edited |
| Path ownership & required reviewers | GitHub CODEOWNERS + Rulesets | CODEOWNERS, Rulesets |
| Required status checks | GitHub Actions + Rulesets | Checks must be marked required; stale reviews dismissed |
| Policy evaluation | Open Policy Agent + Conftest | Rego policies compiled from the same model; OPA CI/CD, Conftest |
| Evidence artifact | GitHub Check Runs or committed JSON | Written before agent session ends; queryable later |
| Drift / compliance scanning | Scheduled GitHub Action + custom scanner or Conftest | Daily hash and ruleset parity check |
| Exception handling | GitHub labels + required reviewers + evidence field | Label triggers structured comment; Owner approval recorded |
| Low-risk auto-approval | GitHub App (least privilege) | Only for allow-listed change types after all checks pass |
Invariants the Model Must Enforce
- Path permissions are deny-by-default for agents.
- Every gated change has a corresponding human approval recorded in the platform.
- Required checks are defined once and executed both locally (when feasible) and in CI.
- The active model version and hash are observable on every change.
- Exceptions use a declared mechanism and are approved by an Owner.
Evidence as the Interface
Minimum evidence contents:
- Model version and hash
- Agent role and identity
- Paths touched
- Checks executed and outcomes
- Gate decisions (approver, timestamp, exception justification if any)
Store it as a check-run output or a committed file under a well-known path. Later automation and audits read this record rather than agent session logs.
Evolution
Non-breaking changes (new optional checks, tighter path restrictions) can be enforced immediately. Breaking changes follow a two-phase rollout: observation window, then enforcement. In-flight work remains bound to the version under which it was opened. OPA policies and rulesets can contain version predicates so older pull requests are not retroactively subjected to new gates.
Properties of a Sound Model
- A new engineer or agent is added by updating role declarations and recompiling.
- Violations are prevented by platform controls (GitHub rulesets, required checks, OPA), not by prompt compliance alone.
- Any change can be traced to the exact policy version, checks, and human decisions that governed it.
- Humans retain authority over high-blast-radius actions; agents accelerate everything else inside declared bounds.
The combination of a single versioned model, GitHub-native enforcement, and OPA/Conftest for richer policy logic gives teams a concrete, tool-supported operating model that remains effective after any individual agent session ends.
