- Series
- Why accountability still belongs to people
- Common risks and anti-patterns
- Risk-to-mitigation mapping
- Traceability and observability
- Minimum audit trail for agent contributions
- The contributor model
- Practical review rubric for agent PRs
- What good looks like
- Exam checklist
Agentic AI changes who performs parts of the software delivery workflow, but it does not change who owns the outcome. In GitHub, the safest mental model is simple: agents propose; humans and policy accept.
This first post in the AI SDLC certification prep series focuses on responsibility, risk, traceability, and the contributor model for agent-generated work.
Series
- Foundations of Agentic AI in GitHub
- Designing Safe Agent Workflows in GitHub
- GitHub Agent Execution Environments
- Multi-Agent Systems and Orchestration
- Agent Memory, Evaluation, Autonomy, and Governance
Why accountability still belongs to people
When an agent creates a pull request, revises code, or responds to feedback, it participates in the workflow. It does not assume ownership of the outcome.
The accountable parties are still the people and teams who:
- define the task,
- set permissions,
- choose and configure controls,
- review the generated work, and
- approve the resulting change.
A pull request review model makes this explicit. The system can propose, but humans decide what is accepted.
Common risks and anti-patterns
Early-stage agent systems often fail in predictable ways.
| Anti-pattern | What happens | Safer design |
|---|---|---|
| Planless execution | The agent starts changing code without a visible approach. | Require a plan in the issue, PR description, or plan artifact. |
| Over-permissioned agents | The agent or workflow token has broader access than needed. | Use least privilege and narrow tool allowlists. |
| Hidden reasoning | Reviewers see only the final diff, not assumptions or decisions. | Capture plan, evidence, and decision points in GitHub artifacts. |
| Blind trust in automation | Passing CI is treated as proof that the change is safe. | Combine checks with human review, ownership, and risk-based policy. |
Passing CI matters, but checks only validate what they are designed to detect. A passing build does not automatically mean the change is complete, appropriate, or low risk.
Risk-to-mitigation mapping
A safe GitHub architecture maps common risks to enforceable controls.
| Risk | GitHub mitigation |
|---|---|
| Unclear intent | Issue context, PR description, required plan section |
| Unbounded changes | Branch isolation, scoped tasks, CODEOWNERS |
| Missing validation | Required checks, workflow runs, uploaded artifacts |
| Sensitive path changes | CODEOWNERS, rulesets, stricter review requirements |
| Unsafe deployment | Environments, deployment approvals, restricted secrets |
| Missing audit trail | PR timeline, commits, workflow logs, artifacts, audit logs |
If you include a diagram for this mapping, use descriptive alt text and place the image under the blog image path, for example:

Traceability and observability
To supervise an agent well, you need more than a final diff. You need a trail.
In GitHub, that trail can include:
- pull requests and commit history,
- review comments and approvals,
- workflow runs and uploaded artifacts,
- code scanning uploads and alerts,
- secret scanning alerts and push protection events, and
- organization audit log events, depending on organization or enterprise configuration.
The goal is not only compliance. It is operational understanding. When something fails, you need to know what changed, who approved it, what evidence existed, and what happened next.
Minimum audit trail for agent contributions
A useful minimum audit trail includes:
- a stated goal, such as an issue link or PR description,
- an inspectable plan,
- a bounded changeset on a branch,
- automated evidence from workflow runs and artifacts,
- human judgment through review and approval, and
- a clear outcome: merge, revert, or escalation.
Suppose an agent’s vulnerability fix passes CI but later causes a regression. The important questions are not only whether the agent made a mistake. The questions are whether the system made the mistake understandable and preventable:
- Was there a visible plan and scope?
- Were the right reviewers requested?
- Did those reviewers approve?
- Did the checks match the risk of the change?
- Is the audit trail sufficient to reconstruct what happened?
Agentic systems change who performs work, but not who owns outcomes.
The contributor model
In GitHub, a pull request is the natural unit of contribution. Whether the author is a human developer or an agent, the pull request should answer the same questions:
- Does the change solve the intended problem?
- Is the scope appropriate and explained?
- Do required checks and validations pass?
- Are the right owners reviewing the affected areas?
- Does the change align with standards, architecture, and policy?
This avoids two opposite errors:
- Excessive suspicion: rejecting work only because AI produced it.
- Excessive trust: accepting work only because automation produced it.
The contributor model says: evaluate the work by the standards of the workflow, not by the novelty of the author.
Practical review rubric for agent PRs
When reviewing an agent-generated pull request, check the following:
| Review area | Question |
|---|---|
| Intent | Is there a clear goal and visible plan? |
| Scope | Are the changed files aligned with the plan? |
| Evidence | Do required checks pass, and are logs or artifacts available? |
| Ownership | Did CODEOWNERS route sensitive areas to the right reviewers? |
| Policy | Does the change comply with rulesets, branch rules, and environments? |
| Fallback | Is rollback or escalation clear for high-risk changes? |
For example, if an agent submits a dependency update and also modifies configuration files, do not ask only whether the code compiles. Ask whether the extra changes are justified, whether checks cover the risk introduced, whether the right owners reviewed the affected areas, and whether the change aligns with repository and deployment policies.
What good looks like
A well-supervised agent contribution is:
- Understandable: clear goal and plan.
- Bounded: scoped changeset and least privilege.
- Reviewable: right owners involved and evidence present.
- Policy-compliant: rulesets, branch rules, checks, and environments respected.
- Reconstructable: audit trail supports post-hoc analysis.
This is not a special standard for AI. It is the standard of a healthy engineering workflow applied consistently.
Exam checklist
Remember these points for the certification exam:
- Responsibility does not move from humans to agents.
- Pull requests are the main review and control point for agent work.
- Passing CI is necessary but not sufficient.
- Agent contributions should include intent, scope, evidence, ownership, policy compliance, and fallback options.
- Strong traceability requires GitHub-native artifacts: PRs, commits, checks, logs, artifacts, reviews, and audit events.
- The core governance model is: agents propose; humans and policy accept.
In the next post, we will design safe agent workflows by mapping responsibilities to SDLC stages, defining success criteria, and separating planning from execution.