> ## Documentation Index
> Fetch the complete documentation index at: https://specs.md/llms.txt
> Use this file to discover all available pages before exploring further.

# AI-DLC Flow Overview

> Full AI-Driven Development Lifecycle with comprehensive traceability

## What is AI-DLC?

**AI-DLC (AI-Driven Development Lifecycle)** is a complete methodology for AI-native software development, originally defined by AWS. It provides comprehensive traceability, DDD integration, and structured phases for complex projects.

> [!NOTE]
>
> **AI proposes, human validates.** Like Google Maps—humans set the destination, AI provides step-by-step directions, humans maintain oversight at every checkpoint.

```mermaid actions={false} theme={null}
flowchart LR
    I(Intent):::design --> U(Units):::plan
    U --> S(Stories):::plan
    S --> B(Bolts):::build
    B --> D(Done):::done
    classDef design fill:#fff,stroke:#A855F7,color:#7E22CE,stroke-width:1.5px,rx:8,ry:8
    classDef plan fill:#fff,stroke:#6366F1,color:#4338CA,stroke-width:1.5px,rx:8,ry:8
    classDef build fill:#fff,stroke:#0EA5E9,color:#0369A1,stroke-width:1.5px,rx:8,ry:8
    classDef done fill:#fff,stroke:#10B981,color:#047857,stroke-width:1.5px,rx:8,ry:8
```

## Key Differentiators

> [card] Complete Methodology
>
> Not just a tool—a full SDLC with defined phases, rituals, and artifacts based on AWS research.

> [card] DDD Integration
>
> Domain-Driven Design is core, not optional. Model business logic before writing code.

> [card] Comprehensive Checkpoints
>
> 10-26 human validation points per bolt. Every decision is reviewed.

> [card] Four Specialized Agents
>
> Master, Inception, Construction, and Operations agents with clear responsibilities.

> [card] Walkthrough Generation
>
> Every change documented automatically. Review what AI did without digging through code.

## AI-DLC vs Other Flows

| Aspect | AI-DLC | FIRE | Simple |
| - | - | - | - |
| **Philosophy** | Full methodology | Adaptive execution | Spec generation |
| **Hierarchy** | Intent → Unit → Story → Bolt → Stages | Intent → Work Item → Run | Feature → Phases |
| **Checkpoints** | Comprehensive (10-26 per bolt) | Adaptive (0-2) | 3 phase gates |
| **Agents** | 4 (Master, Inception, Construction, Operations) | 3 (Orchestrator, Planner, Builder) | 1 |
| **Design Approach** | DDD or Simple bolt types | Adaptive | Basic |
| **Phases** | Inception → Construction → Operations | Plan → Execute | Req → Design → Tasks |
| **Artifacts** | memory-bank/ | .specs-fire/ | specs/ |
| **Optimized For** | Full traceability, complex domains | Teams who hate friction | Quick prototypes |

> [!NOTE]
>
> **Shared philosophy**: All flows use intents, structured artifacts, and human validation. They differ in ceremony level and traceability depth.

## When to Use AI-DLC

> [accordion] You need comprehensive traceability
>
> Every decision, every change, every artifact is tracked. Perfect for regulated environments or audit requirements.

> [accordion] You're building complex domain logic
>
> AI-DLC integrates DDD from the start. Model your business domain before writing code.

> [accordion] You have multi-team coordination
>
> Clear phases and artifacts make handoffs explicit. Teams know exactly what's expected.

> [accordion] You want predictable ceremony
>
> Unlike adaptive flows, AI-DLC has fixed checkpoints. You always know what's coming next.

> [accordion] You're in a regulated environment
>
> Healthcare, finance, government—where documentation requirements are strict.

## When to Consider Other Flows

> [!NOTE]
>
> **Consider FIRE if:**
>
> * You want adaptive checkpoints based on complexity
> * You're working on brownfield projects
> * You have a monorepo with multiple tech stacks
> * You prefer less ceremony for simple changes
>
> **Consider Simple if:**
>
> * You just need specs, not execution tracking
> * You're prototyping or creating handoff documents
> * You want minimal overhead

## Three Phases

AI-DLC follows three sequential phases:

```mermaid actions={false} theme={null}
flowchart LR
    subgraph Inception["Inception Phase"]
        I1(Capture):::plan --> I2(Elaborate):::plan
        I2 --> I3(Decompose):::plan
        I3 --> I4(Plan Bolts):::plan
    end

    subgraph Construction["Construction Phase"]
        C1(Model):::build --> C2(Design):::build
        C2 --> C3(ADR):::build
        C3 --> C4(Implement):::build
        C4 --> C5(Test):::build
    end

    subgraph Operations["Operations Phase"]
        O1(Build):::warn --> O2(Deploy):::warn
        O2 --> O3(Verify):::warn
        O3 --> O4(Monitor):::warn
    end

    Inception --> Construction
    Construction --> Operations
    classDef plan fill:#fff,stroke:#6366F1,color:#4338CA,stroke-width:1.5px,rx:8,ry:8
    classDef build fill:#fff,stroke:#0EA5E9,color:#0369A1,stroke-width:1.5px,rx:8,ry:8
    classDef warn fill:#fff,stroke:#F59E0B,color:#B45309,stroke-width:1.5px,rx:8,ry:8
```

| Phase | Agent | Ritual | Output |
| - | - | - | - |
| **Inception** | Inception Agent | Mob Elaboration | Intents, Units, Stories, Bolt Plans |
| **Construction** | Construction Agent | Mob Construction | Domain Models, Code, Tests |
| **Operations** | Operations Agent | Continuous | Deployments, Monitoring |

## Core Concepts

### Intent

A high-level business objective. The starting point for all work.

```yaml theme={null}
intent:
  id: 001-user-authentication
  title: User Authentication System
  status: in_progress
```

### Unit

A loosely-coupled module that can be developed independently.

### Story

A user story within a unit, with acceptance criteria.

### Bolt

A time-boxed execution cycle (hours or days) that implements stories through validated stages.

> [!NOTE]
>
> Learn more in [Core Concepts](https://specs.md/core-concepts/intents.md).

## Four-Agent Architecture

| Agent | Phase | Responsibility |
| - | - | - |
| **Master** | All | Orchestrates flow, routes requests, maintains awareness |
| **Inception** | Inception | Captures intents, elaborates requirements, plans bolts |
| **Construction** | Construction | Executes bolts through DDD stages |
| **Operations** | Operations | Builds, deploys, verifies, monitors |

> [!NOTE]
>
> Learn more in [Agents Overview](https://specs.md/agents/overview.md).

## Project Structure

```
memory-bank/                   # AI-DLC artifacts
├── intents/                   # Captured intents
│   └── {intent-id}/
│       ├── requirements.md
│       ├── system-context.md
│       └── units/
│           └── {unit-id}/
│               ├── unit-brief.md
│               └── stories/
├── bolts/                     # Bolt execution records
├── standards/                 # Project standards
│   ├── tech-stack.md
│   ├── coding-standards.md
│   ├── system-architecture.md
│   └── ...
└── operations/                # Deployment context
```

## Get Started

**1. Install specs.md**

```bash theme={null}
npx specsmd@latest install
```

**2. Select AI-DLC during init**

Choose "AI-DLC" when prompted for flow selection

**3. Initialize project standards**

```
/specsmd-master-agent project-init
```

**4. Create your first intent**

```
/specsmd-inception-agent intent-create
```

> [card] [Quick Start Guide](https://specs.md/agents/quick-start.md)
>
> Step-by-step guide to building with AI-DLC


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.