Module 10 – Production Capstone: A Professional Repository Agent

Objective

Build a production-style agent that analyses a repository issue, prepares a change, validates it, and produces a reviewable delivery package.

Required components

  1. A written problem statement, non-goals, and acceptance tests
  2. An isolated workspace and least-privilege tool set
  3. A planning stage before implementation
  4. Typed tools or trusted MCP capabilities
  5. Tests, linting, type checking, and security scanning
  6. A reviewer agent or deterministic review checklist
  7. Human approval before committing, publishing, or opening a pull request
  8. Tracing, usage measurement, retry limits, and failure recovery
  9. A final report with files changed, commands run, test evidence, known risks, and rollback steps

Completion standard

The capstone is complete only when the full test suite passes, security checks are reviewed, every side effect is attributable, the result can be reproduced, and a human can understand and approve the final diff.