AWS AI-DLC Workflows
AWS AI-DLC Workflows is a set of steering/rules files that apply the AI-Driven Development Life Cycle inside AI coding tools. It creates generated documents, tracks state, asks humans for decisions, and moves work through Inception, Construction, and eventually Operations.
If Spec Kit is a spec compiler, AWS AI-DLC Workflows is a delivery governance cockpit.
flowchart TB
I[Intent] --> A[Adaptive assessment]
A --> B[Questions]
B --> C[Inception artifacts]
C --> D[Human approval]
D --> E[Construction artifacts]
E --> F[Code and tests]
F --> G[Verification]
G --> H[Audit trail]Mental model
The workflow treats AI as a development partner that must move through gates:
- Understand project type and complexity.
- Ask missing questions.
- Generate Inception artifacts.
- Wait for human review.
- Split scope into units of work.
- Generate construction plans.
- Implement.
- Build and test.
- Update state and audit records.
Artifact model
AWS AI-DLC Workflows typically generate content under aidlc-docs/.
| Artifact | Role |
|---|---|
aidlc-state.md | Current workflow state |
audit.md | Decisions, approvals, and stage movement |
| Requirements | Business and functional requirements |
| User stories | Actor, goal, and acceptance |
| Application design | High-level solution structure |
| Reverse engineering docs | Brownfield codebase understanding |
| Units of work | Scope split into executable chunks |
| Functional design | Detailed design per unit |
| NFR design | Security, performance, reliability, scalability |
| Infrastructure design | Cloud resources and deployment architecture |
| Code generation plan | How the agent will implement |
| Build/test instructions | How the result should be verified |
Detailed workflow
flowchart TB
A[User intent] --> B[Classify work]
B --> C{Project type}
C -->|Greenfield| D[Requirements and design]
C -->|Brownfield| E[Reverse engineering]
E --> D
D --> F[Questions to human]
F --> G[Human answers]
G --> H[Update inception docs]
H --> I{Approval?}
I -->|No| F
I -->|Yes| J[Units of work]
J --> K[Construction design]
K --> L[NFR and infrastructure]
L --> M[Code generation]
M --> N[Build and tests]
N --> O[Audit and state update]Strengths
- Human oversight is built into the workflow. AI asks, waits, updates, and requests review.
- It is more enterprise-ready than the other frameworks. Approval, traceability, NFRs, infrastructure, and audit are first-class concerns.
- It supports brownfield work explicitly. Reverse engineering reduces the risk of changing systems the agent does not understand.
- It is adaptive. The right idea is not to run the same ceremony for every task, but to scale depth with risk.
- It fits solution architecture work. It forces application design, non-functional requirements, and infrastructure thinking before implementation.
Weaknesses
| Weakness | Practical consequence |
|---|---|
| Heavy for small work | Teams may reject it if every bug fix gets full ceremony |
| Operations need strengthening | Add CI/CD, observability, rollback, SLOs, and runbooks |
| Review burden is real | Generated documents are only useful if humans read them |
| Can conflict with existing docs | Map authority between aidlc-docs/, ADRs, specs, and issue trackers |
| Can become AI bureaucracy | More documents do not automatically mean better decisions |
Best use cases
| Use case | Why AWS AI-DLC fits |
|---|---|
| Enterprise application delivery | Needs gates, approval, NFRs, and architecture |
| Brownfield modernization | Needs reverse engineering before changes |
| Regulated or high-risk systems | Needs audit trail and human decision records |
| Multi-team delivery | Shared artifacts align product, engineering, security, and ops |
| Cloud-heavy architecture | Infrastructure design is part of the workflow |
| Security-sensitive features | Risk-based review must happen before code |
Example: forgot password
AWS AI-DLC would broaden the feature beyond "add an endpoint":
| Perspective | Questions surfaced |
|---|---|
| Business | Which user types can reset passwords? Is this tenant-scoped? |
| Security | How do we avoid user enumeration? What is token lifetime? |
| Privacy | What appears in reset emails? Is any sensitive data exposed? |
| Infrastructure | Which email provider? Retry behavior? Dead-letter handling? |
| Operations | How do we monitor abuse and delivery failure? |
| Audit | Which events are recorded for compliance or investigation? |
The benefit is lifecycle control, not just code generation.
Adoption guidance
Start by classifying work:
| Category | Suggested path |
|---|---|
| Trivial | No full AI-DLC; use normal code review |
| Small | Lightweight questions and test evidence |
| Medium | Inception + construction artifacts |
| High-risk | Full AI-DLC with explicit architecture/security/ops approval |
Expert implementation guide
Use AWS AI-DLC Workflows when you need more than code generation: you need a controlled delivery lifecycle with explicit human ownership.
Step 1: Choose the integration style
The upstream project supports several coding environments through project-level rules or steering files. The common pattern is:
- Download or copy the AI-DLC rules.
- Put core workflow rules where your agent reads project rules.
- Put rule details beside them so the core workflow can reference inception, construction, extension, and operations guidance.
- Verify the agent can see the rules.
- Start the conversation with
Using AI-DLC, ....
For Cursor-like tools, a project rule is usually better than a global rule because the workflow is repo-specific. For generic agents, placing the rule content in AGENTS.md can be the simplest fallback.
Step 2: Define the governance map before the first run
AI-DLC becomes effective only when the approval model is explicit.
| Decision | Owner |
|---|---|
| Business scope | Product owner |
| Architecture direction | Solution architect or tech lead |
| Security/privacy risk | Security owner |
| NFR acceptance | Architect + operations |
| Release readiness | Engineering lead + operations |
| Residual risk | Accountable business/technical owner |
Write this ownership model in the repo before running a high-risk workflow.
Step 3: Start with the right activation prompt
Bad prompt:
Using AI-DLC, build forgot password.Better prompt:
Using AI-DLC, implement a forgot password flow for our multi-tenant SaaS app.
The feature must avoid user enumeration, support token expiry, rate-limit requests,
send email through our existing provider, and produce test evidence for API and UI flows.
Ask questions before creating the execution plan.The goal is not to answer everything upfront. The goal is to give enough context for AI-DLC to ask the right questions.
Step 4: Run Inception like a design review
Inception should produce:
| Inception output | Acceptance check |
|---|---|
| Requirements | Are they testable and scoped? |
| User stories | Are actors and outcomes clear? |
| Application design | Does it respect current architecture? |
| Units of work | Can units be implemented and reviewed independently? |
| Risk assessment | Are security, data, migration, and operational risks visible? |
Do not approve Inception until the team could explain the solution without reading generated code.
Step 5: Run Construction per unit of work
For each unit:
- Review functional design.
- Review NFR impact.
- Review infrastructure changes.
- Review code generation plan.
- Approve implementation scope.
- Let the agent implement.
- Require build/test evidence.
- Update audit and state.
flowchart LR
A[Unit of work] --> B[Functional design]
B --> C[NFR and infra impact]
C --> D[Code generation plan]
D --> E[Human approval]
E --> F[Implementation]
F --> G[Build and tests]
G --> H[Audit update]Step 6: Extend Operations deliberately
The default workflow gives the direction, but production teams should add an explicit operations checklist:
| Operations concern | Required evidence |
|---|---|
| Deployment | CI/CD job, environment config, rollback path |
| Observability | Logs, metrics, traces, dashboards |
| Reliability | Health checks, retry behavior, failure modes |
| Security | Secrets, IAM, audit events, abuse monitoring |
| Support | Runbook, alert owner, incident triage steps |
| Cost | Expected resource usage and budget guardrails |
Step 7: Keep the audit trail useful
Audit entries should capture decisions, not noise.
Good audit entry:
Decision: Token lifetime set to 15 minutes.
Reason: Reduces account takeover window while preserving normal email delivery latency.
Approver: Security owner.
Evidence: API tests cover expired token and reused token.Weak audit entry:
Approved plan.Optimization playbook
For low-risk work
Use AI-DLC lightly:
- Questions.
- Small plan.
- Test evidence.
- Short approval.
Do not require full generated docs for every typo fix.
For high-risk work
Require:
- Inception approval.
- Architecture approval.
- Security review.
- NFR checklist.
- Operations checklist.
- Audit trail with named approvers.
For brownfield modernization
Add a mandatory reverse-engineering stage:
- Map system boundaries.
- Identify integration points.
- Identify data ownership.
- Identify test coverage.
- Identify deployment constraints.
- Only then generate units of work.
Definition of done for AI-DLC
Work is done when:
aidlc-docs/state matches actual work.- Inception artifacts are approved for the chosen risk level.
- Construction artifacts exist for each unit of work.
- Code and tests are linked to units of work.
- Security/NFR/infra concerns are either addressed or explicitly accepted.
- Build/test evidence is recorded.
- Operations readiness is complete for production work.
- Audit entries explain material decisions.