Skip to content

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.

mermaid
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:

  1. Understand project type and complexity.
  2. Ask missing questions.
  3. Generate Inception artifacts.
  4. Wait for human review.
  5. Split scope into units of work.
  6. Generate construction plans.
  7. Implement.
  8. Build and test.
  9. Update state and audit records.

Artifact model

AWS AI-DLC Workflows typically generate content under aidlc-docs/.

ArtifactRole
aidlc-state.mdCurrent workflow state
audit.mdDecisions, approvals, and stage movement
RequirementsBusiness and functional requirements
User storiesActor, goal, and acceptance
Application designHigh-level solution structure
Reverse engineering docsBrownfield codebase understanding
Units of workScope split into executable chunks
Functional designDetailed design per unit
NFR designSecurity, performance, reliability, scalability
Infrastructure designCloud resources and deployment architecture
Code generation planHow the agent will implement
Build/test instructionsHow the result should be verified

Detailed workflow

mermaid
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

  1. Human oversight is built into the workflow. AI asks, waits, updates, and requests review.
  2. It is more enterprise-ready than the other frameworks. Approval, traceability, NFRs, infrastructure, and audit are first-class concerns.
  3. It supports brownfield work explicitly. Reverse engineering reduces the risk of changing systems the agent does not understand.
  4. It is adaptive. The right idea is not to run the same ceremony for every task, but to scale depth with risk.
  5. It fits solution architecture work. It forces application design, non-functional requirements, and infrastructure thinking before implementation.

Weaknesses

WeaknessPractical consequence
Heavy for small workTeams may reject it if every bug fix gets full ceremony
Operations need strengtheningAdd CI/CD, observability, rollback, SLOs, and runbooks
Review burden is realGenerated documents are only useful if humans read them
Can conflict with existing docsMap authority between aidlc-docs/, ADRs, specs, and issue trackers
Can become AI bureaucracyMore documents do not automatically mean better decisions

Best use cases

Use caseWhy AWS AI-DLC fits
Enterprise application deliveryNeeds gates, approval, NFRs, and architecture
Brownfield modernizationNeeds reverse engineering before changes
Regulated or high-risk systemsNeeds audit trail and human decision records
Multi-team deliveryShared artifacts align product, engineering, security, and ops
Cloud-heavy architectureInfrastructure design is part of the workflow
Security-sensitive featuresRisk-based review must happen before code

Example: forgot password

AWS AI-DLC would broaden the feature beyond "add an endpoint":

PerspectiveQuestions surfaced
BusinessWhich user types can reset passwords? Is this tenant-scoped?
SecurityHow do we avoid user enumeration? What is token lifetime?
PrivacyWhat appears in reset emails? Is any sensitive data exposed?
InfrastructureWhich email provider? Retry behavior? Dead-letter handling?
OperationsHow do we monitor abuse and delivery failure?
AuditWhich events are recorded for compliance or investigation?

The benefit is lifecycle control, not just code generation.

Adoption guidance

Start by classifying work:

CategorySuggested path
TrivialNo full AI-DLC; use normal code review
SmallLightweight questions and test evidence
MediumInception + construction artifacts
High-riskFull 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:

  1. Download or copy the AI-DLC rules.
  2. Put core workflow rules where your agent reads project rules.
  3. Put rule details beside them so the core workflow can reference inception, construction, extension, and operations guidance.
  4. Verify the agent can see the rules.
  5. 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.

DecisionOwner
Business scopeProduct owner
Architecture directionSolution architect or tech lead
Security/privacy riskSecurity owner
NFR acceptanceArchitect + operations
Release readinessEngineering lead + operations
Residual riskAccountable 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:

text
Using AI-DLC, build forgot password.

Better prompt:

text
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 outputAcceptance check
RequirementsAre they testable and scoped?
User storiesAre actors and outcomes clear?
Application designDoes it respect current architecture?
Units of workCan units be implemented and reviewed independently?
Risk assessmentAre 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:

  1. Review functional design.
  2. Review NFR impact.
  3. Review infrastructure changes.
  4. Review code generation plan.
  5. Approve implementation scope.
  6. Let the agent implement.
  7. Require build/test evidence.
  8. Update audit and state.
mermaid
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 concernRequired evidence
DeploymentCI/CD job, environment config, rollback path
ObservabilityLogs, metrics, traces, dashboards
ReliabilityHealth checks, retry behavior, failure modes
SecuritySecrets, IAM, audit events, abuse monitoring
SupportRunbook, alert owner, incident triage steps
CostExpected resource usage and budget guardrails

Step 7: Keep the audit trail useful

Audit entries should capture decisions, not noise.

Good audit entry:

text
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:

text
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:

  1. Map system boundaries.
  2. Identify integration points.
  3. Identify data ownership.
  4. Identify test coverage.
  5. Identify deployment constraints.
  6. Only then generate units of work.

Definition of done for AI-DLC

Work is done when:

  1. aidlc-docs/ state matches actual work.
  2. Inception artifacts are approved for the chosen risk level.
  3. Construction artifacts exist for each unit of work.
  4. Code and tests are linked to units of work.
  5. Security/NFR/infra concerns are either addressed or explicitly accepted.
  6. Build/test evidence is recorded.
  7. Operations readiness is complete for production work.
  8. Audit entries explain material decisions.

Built as a static bilingual AI engineering stack guide.