AI Coding Factory incorporates a comprehensive Enterprise Agile Framework designed to bridge the gap between AI-generated code and human-managed delivery. This document outlines the methodology, ceremonies, artifacts, and roles used within the system.
Our approach combines the structure of Scrum with the flow of Kanban, enforcing quality through rigorous Definition of Done (DoD) and Definition of Ready (DoR) standards.
- Working Code over comprehensive documentation (though we generate both).
- AI Collaboration over autonomous replacement.
- Continuous Verification over post-development testing.
- Structured Prompts over vague requirements.
- Duration: 2 weeks (default)
- Focus: Delivering a potentially shippable Increment.
- Sprint Goal: A concise objective for the sprint (e.g., "Implement User Authentication").
| Role | Human Responsibility | AI Agent Support |
|---|---|---|
| Product Owner | Vision, ROI, Priority | Ideation Agent: Generates stories, acceptance criteria, roadmap alignment. |
| Scrum Master | Process, Coaching, Blocking | Product Agent: Facilitates retrospectives, tracks velocity, identifies blockers. |
| Developers | Architecture, Coding, QA | Prototype, PoC, Pilot Agents: Code generation, testing, security scanning. |
- Goal: Define what to deliver and how to deliver it.
- AI Support: usage of
net-agileskill to estimate story points and break down tasks.
- Goal: Synchronization and blocker identification.
- AI Support: Automated status updates from agents on ongoing tasks.
- Goal: Inspect the Incrment and adapt the Backlog.
- AI Support: Generation of demo scripts and release notes.
- Goal: Continuous improvement.
- AI Support: Analysis of sprint metrics (velocity, bug rate) and suggestion of process improvements.
An ordered list of everything that is known to be needed in the product.
- Items: Epics, User Stories, Bugs, Tech Debt.
- Prioritization: MoSCoW (Must, Should, Could, Won't).
- Tracking: Azure Boards or GitHub Issues/Projects
The set of Product Backlog items selected for the Sprint.
Standard format:
"As a
<role>, I want<feature>so that<benefit>."
INVEST Criteria:
- Independent
- Negotiable
- Valuable
- Estimable
- Small
- Testable
The sum of all Product Backlog items completed during a Sprint and the value of the increments of all previous Sprints.
A story is ready to be worked on when:
- Story is written in standard format
- Acceptance criteria are clearly defined
- Estimated constraints (size) are assigned
- Dependencies are identified
- UX/UI mockups are available (if applicable)
A story is considered complete when:
- Code is peer-reviewed (or agent-reviewed)
- Unit tests pass (>80% coverage)
- Integration tests pass
- No critical/high severity security issues
- Documentation is updated
- Feature works in staging environment
- Acceptance criteria are met
- Traceability complete (story -> test -> commit -> release)
- Each story has a unique ID (
ACF-###) - Tests reference story IDs via naming, trait, or structured comment
- Commit messages include story IDs
- Release notes are generated from story IDs in commits
How the 5 Agents map to Agile stages:
| Stage | Agent | Agile Activity |
|---|---|---|
| Concept | Ideation |
Backlog Refinement, User Story creation, Epic breakdown |
| Inception | Prototype |
Spikes, Feasibility studies, MVP validation |
| Build | PoC |
Implementation of core logic, meeting DoR |
| Verify | Pilot |
Ensuring DoD compliance, CI/CD checks, Testing |
| Release | Product |
Release planning, Production monitoring, Retrospectives |
We track the following metrics to ensure health:
- Velocity: Average story points completed per sprint.
- Cycle Time: Time from "In Progress" to "Done".
- Code Coverage: Percentage of code covered by tests (Target: >80%).
- Defect Density: Bugs per 1K lines of code.
For larger enterprises, this framework supports scaling patterns:
- Scrum of Scrums: For coordinating multiple AI/Human teams.
- Nexus: For managing cross-team dependencies.
- SAFe: Essential SAFe configuration for portfolio management.
This methodology is enforced via the net-agile and net-scrum skills found in .opencode/skill/.