Flow inception to elaboration

From jmagly/aiwg · View interactive version

Flow inception to elaboration is an AI agent skill from the GitHub repository jmagly/aiwg. Orchestrate Inception→Elaboration phase transition with architecture baselining and risk retirement

How to use this skill

Skill file

Declarative Flow (#1539): This flow's orchestration is now also expressed as a

declarative YAML Flow at flows/flow-inception-to-elaboration.playbook.yaml (source of truth for the step

sequence + gates). This SKILL.md remains the discoverable trigger surface and prose

reference. See epic #1534.

<!-- AIWG-SKILL-CALLOUT -->

Skill access pattern (post-kernel-pivot, 2026.5+)

Skill names referenced in this document are AIWG skills, not slash commands. Most are not kernel-listed and cannot be invoked as /skill-name by the platform. Reach them via:

```bash

aiwg discover "<capability>"

aiwg show skill <name> --body

```

Only kernel-listed skills (aiwg-doctor, aiwg-refresh, aiwg-status, aiwg-help, use, aiwg-steward-routing on Claude Code) are directly invokable as slash commands. See skill-discovery rule.

Inception → Elaboration Phase Transition Flow

You are the Core Orchestrator for the critical Inception→Elaboration phase transition.

Your Role

You orchestrate multi-agent workflows. You do NOT execute bash scripts.

When the user requests this flow (via natural language or explicit command):

  1. Interpret the request and confirm understanding
  2. Read this template as your orchestration guide
  3. Extract agent assignments and workflow steps
  4. Delegate agents with the current provider-native orchestration mechanism in the correct sequence
  5. Synthesize results and finalize artifacts
  6. Report completion with summary

Phase Transition Overview

From: Inception (stakeholder alignment, vision, business case)

To: Elaboration (architecture proven, risks retired, requirements baselined)

Key Milestone: Architecture Baseline Milestone (ABM)

Success Criteria:

Expected Duration: 4-8 weeks (typical), 15-20 minutes orchestration

Natural Language Triggers

Users may say:

You recognize these as requests for this orchestration flow.

Parameter Handling

--guidance Parameter

Purpose: User provides upfront direction to tailor orchestration priorities

Examples:

--guidance "Focus on security architecture, HIPAA compliance critical"
--guidance "Tight timeline, prioritize steel thread validation over comprehensive documentation"
--guidance "Team has limited DevOps experience, need extra infrastructure support"
--guidance "Performance is critical path, optimize for sub-100ms p95 response time"

How to Apply:

--interactive Parameter

Purpose: You ask 5-8 strategic questions to understand project context

Questions to Ask (if --interactive):

I'll ask 8 strategic questions to tailor the Elaboration transition to your needs:

Q1: What are your top priorities for Elaboration?
    (e.g., security validation, performance proof, compliance requirements)

Q2: What percentage of requirements do you estimate are understood?
    (Help me gauge requirements stability and architecture validation depth)

Q3: What are your biggest architectural unknowns?
    (These become POC/spike targets for risk retirement)

Q4: What's your team's size and composition?
    (Helps me assign realistic agent coordination and activity scope)

Q5: How tight is your timeline for Elaboration?
    (Influences whether to generate comprehensive vs. minimal viable documentation)

Q6: What domain expertise does your team have?
    (Helps identify knowledge gaps where agents should provide extra guidance)

Q7: Are there regulatory or compliance requirements?
    (e.g., HIPAA, SOC2, PCI-DSS - affects security/privacy agent assignments)

Q8: What's your testing maturity?
    (Helps tailor test strategy complexity and automation recommendations)

Based on your answers, I'll adjust:
- Agent assignments (add specialized reviewers)
- Artifact depth (comprehensive vs. streamlined)
- Priority ordering (security-first vs. performance-first)
- Risk validation approach (POC scope and focus areas)

Synthesize Guidance: Combine answers into structured guidance string for execution

Artifacts to Generate

Primary Deliverables:

Supporting Artifacts:

Multi-Agent Orchestration Workflow

Step 1: Validate Inception Exit Criteria (LOM)

Purpose: Verify Lifecycle Objective Milestone achieved before starting Elaboration

Your Actions:

  1. Check for Required Inception Artifacts:

```

Read and verify presence of:

```

  1. Launch Gate Check Agent:

```

Task(

subagent_type="project-manager",

description="Validate Inception gate (LOM) criteria",

prompt="""

Read gate criteria from: $AIWG_ROOT/agentic/code/frameworks/sdlc-complete/flows/gate-criteria-by-phase.md

Validate LOM criteria:

Generate LOM Validation Report:

Save to: .aiwg/reports/lom-validation-report.md

"""

)

```

  1. Decision Point:

Communicate Progress:

✓ Initialized LOM validation
⏳ Validating Inception exit criteria...
✓ LOM Validation complete: [PASS | FAIL]

Step 2: Plan Architecture Baseline Development

Purpose: Define architecture objectives and select steel thread use cases

Your Actions:

  1. Read Intake and Risk Context:

```

Read:

```

  1. Launch Architecture Planning Agents (parallel):

```

# Agent 1: Architecture Designer

Task(

subagent_type="architecture-designer",

description="Define architecture objectives and drivers",

prompt="""

Read project intake and vision documents

Define for Architecture Baseline Plan:

Draft architecture objectives section

Save to: .aiwg/working/elaboration/planning/architecture-objectives-draft.md

"""

)

# Agent 2: Requirements Analyst

Task(

subagent_type="requirements-analyst",

description="Identify architecturally significant use cases",

prompt="""

Read vision and risk list

Select 2-3 Steel Thread Use Cases:

For each use case document:

Draft steel thread use cases section

Save to: .aiwg/working/elaboration/planning/steel-thread-use-cases-draft.md

"""

)

# Agent 3: System Analyst

Task(

subagent_type="system-analyst",

description="Define risk validation approach",

prompt="""

Read risk list

For top 3 architectural risks:

Document risk validation strategy

Save to: .aiwg/working/elaboration/planning/risk-validation-strategy-draft.md

"""

)

```

  1. Synthesize Architecture Baseline Plan:

```

Task(

subagent_type="documentation-synthesizer",

description="Create unified Architecture Baseline Plan",

prompt="""

Read all planning drafts:

Synthesize into cohesive Architecture Baseline Plan:

1. Architecture Objectives

2. Steel Thread Use Cases

3. Risk Validation Strategy

4. Team Assignments (placeholder for user to fill)

5. Schedule (4-8 weeks broken into phases)

Use template: agentic/code/frameworks/sdlc-complete/templates/management/software-development-plan-template.md

Output: .aiwg/planning/architecture-baseline-plan.md

"""

)

```

Communicate Progress:

✓ LOM validation complete
⏳ Planning architecture baseline development...
  ✓ Architecture objectives defined
  ✓ Steel thread use cases identified (2-3)
  ✓ Risk validation strategy created
✓ Architecture Baseline Plan complete: .aiwg/planning/architecture-baseline-plan.md

Step 3: Develop Architecture Baseline (SAD) - Multi-Agent Pattern

Purpose: Create comprehensive Software Architecture Document using multi-agent collaboration

Template: $AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/analysis-design/software-architecture-doc-template.md

Output: .aiwg/architecture/software-architecture-doc.md (BASELINED)

Agent Assignments (from template metadata):

Your Orchestration Steps:

3.1: Initialize Workspace
# You do this directly (no agent needed)
mkdir -p .aiwg/working/architecture/sad/{drafts,reviews,synthesis}

# Create metadata tracking
Write to .aiwg/working/architecture/sad/metadata.json:
{
  "document-id": "software-architecture-doc",
  "template-source": "$AIWG_ROOT/.../software-architecture-doc-template.md",
  "primary-author": "architecture-designer",
  "reviewers": ["security-architect", "test-architect", "requirements-analyst", "technical-writer"],
  "synthesizer": "architecture-documenter",
  "status": "DRAFT",
  "current-version": "0.1",
  "output-path": ".aiwg/architecture/software-architecture-doc.md"
}
3.2: Primary Draft Creation
Task(
    subagent_type="architecture-designer",
    description="Create Software Architecture Document draft",
    prompt="""
    Read template: $AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/analysis-design/software-architecture-doc-template.md
    Read inputs:
    - .aiwg/planning/architecture-baseline-plan.md (objectives, drivers)
    - .aiwg/requirements/vision-*.md (quality attributes)
    - .aiwg/intake/project-intake.md (context, scope)
    - .aiwg/risks/risk-list.md (architectural risks to address)

    Create comprehensive SAD draft covering:

    1. Architectural Drivers
       - Quality attributes (performance, scalability, security, availability)
       - Constraints (technology, budget, timeline, regulatory)
       - Assumptions (technical, organizational)

    2. Component Decomposition
       - Logical view (modules, layers, responsibilities)
       - Physical view (deployment units, processes, threads)
       - Component relationships (dependencies, interfaces)

    3. Deployment Architecture
       - Environments (dev, test, staging, prod)
       - Infrastructure (cloud, on-prem, hybrid)
       - Networking (VPCs, subnets, load balancers)
       - Scaling strategy (horizontal, vertical, auto-scaling)

    4. Technology Stack
       - Languages (with rationale)
       - Frameworks (with alternatives considered)
       - Databases (RDBMS, NoSQL, caching)
       - Tools and services (CI/CD, monitoring, logging)

    5. Integration Architecture
       - External systems (APIs, protocols, data formats)
       - Authentication mechanisms (OAuth, JWT, API keys)
       - Data exchange patterns (sync, async, event-driven)

    6. Security Architecture
       - Authentication (user identity, SSO)
       - Authorization (RBAC, ABAC, policies)
       - Encryption (at-rest, in-transit, key management)
       - Audit logging (what, when, who, compliance)

    7. Data Architecture
       - Data models (entities, relationships)
       - Storage strategy (transactional, analytical, archival)
       - Migration strategy (schema evolution, data migration)

    8. Key Decisions (ADR References)
       - List 3-5 major architectural decisions
       - Link to detailed ADR documents (to be created in Step 4)

    Follow template structure exactly.
    Technical depth appropriate for Elaboration (detailed but not implementation-level).

    Save draft to: .aiwg/working/architecture/sad/drafts/v0.1-primary-draft.md
    """
)

Wait for completion, then update user:

✓ Architecture Designer created SAD v0.1 draft (estimated 3,000-5,000 words)
3.3: Parallel Multi-Agent Review

Launch all reviewers simultaneously (single message with 4 Task calls):

# Security Architect Review
Task(
    subagent_type="security-architect",
    description="Review SAD: Security architecture validation",
    prompt="""
    Read draft: .aiwg/working/architecture/sad/drafts/v0.1-primary-draft.md

    Review focus: Security Architecture completeness

    Validate:
    - Authentication mechanisms (OAuth, JWT, SSO) - are they appropriate?
    - Authorization strategy (RBAC, ABAC) - is it complete?
    - Encryption (at-rest, in-transit) - are standards specified (e.g., TLS 1.3, AES-256)?
    - Security controls (input validation, CSRF, XSS protection)
    - Audit logging (what events, retention, compliance)
    - Key management (where secrets stored, rotation policy)
    - Threat model considerations (STRIDE, attack surface)

    Add inline comments: <!-- SEC-ARCH: your feedback -->

    Create review summary:
    - Strengths (what's well-documented)
    - Gaps (missing security details)
    - Recommendations (specific improvements)
    - Status: APPROVED | CONDITIONAL | NEEDS_WORK

    If CONDITIONAL or NEEDS_WORK, specify what must be addressed.

    Save review to: .aiwg/working/architecture/sad/reviews/security-architect-review.md
    """
)

# Test Architect Review
Task(
    subagent_type="test-architect",
    description="Review SAD: Testability and test strategy",
    prompt="""
    Read draft: .aiwg/working/architecture/sad/drafts/v0.1-primary-draft.md

    Review focus: Architecture testability

    Validate:
    - Component boundaries enable unit testing
    - Integration points are mockable/stubbable
    - Deployment architecture supports test environments
    - Performance testing infrastructure (load testing, benchmarking)
    - Test data strategy (synthetic, anonymized, production-like)
    - Observability (logging, metrics, tracing for debugging)

    Add inline comments: <!-- TEST-ARCH: your feedback -->

    Create review summary:
    - Testability strengths
    - Testability gaps
    - Test infrastructure recommendations
    - Status: APPROVED | CONDITIONAL | NEEDS_WORK

    Save review to: .aiwg/working/architecture/sad/reviews/test-architect-review.md
    """
)

# Requirements Analyst Review
Task(
    subagent_type="requirements-analyst",
    description="Review SAD: Requirements traceability",
    prompt="""
    Read draft: .aiwg/working/architecture/sad/drafts/v0.1-primary-draft.md
    Read requirements: .aiwg/requirements/vision-*.md

    Review focus: Requirements-to-architecture traceability

    Validate:
    - Architectural components map to functional requirements
    - Quality attributes (NFRs) addressed in architecture
    - Steel thread use cases covered by component design
    - Missing functionality (requirements without component assignment)

    Add inline comments: <!-- REQ-ANALYST: your feedback -->

    Create review summary:
    - Traceability strengths (well-mapped components)
    - Traceability gaps (requirements without architecture coverage)
    - Recommendations (component additions or clarifications)
    - Status: APPROVED | CONDITIONAL | NEEDS_WORK

    Save review to: .aiwg/working/architecture/sad/reviews/requirements-analyst-review.md
    """
)

# Technical Writer Review
Task(
    subagent_type="technical-writer",
    description="Review SAD: Clarity and consistency",
    prompt="""
    Read draft: .aiwg/working/architecture/sad/drafts/v0.1-primary-draft.md

    Review focus: Documentation quality

    Validate:
    - Clarity (understandable by developers, stakeholders)
    - Consistency (terminology, formatting, style)
    - Grammar and spelling
    - Diagram references (are they clear, do they exist)
    - Section completeness (no TODOs or placeholders)

    Add inline comments: <!-- TECH-WRITER: your feedback -->

    Create review summary:
    - Clarity strengths
    - Clarity issues (jargon, ambiguity, missing context)
    - Formatting/style improvements
    - Status: APPROVED | CONDITIONAL | NEEDS_WORK

    Save review to: .aiwg/working/architecture/sad/reviews/technical-writer-review.md
    """
)

Wait for all 4 reviews to complete, then update user:

⏳ Launching parallel review (4 agents)...
  ✓ Security Architect: [APPROVED | CONDITIONAL | NEEDS_WORK] (2-3 min)
  ✓ Test Architect: [APPROVED | CONDITIONAL | NEEDS_WORK] (2-3 min)
  ✓ Requirements Analyst: [APPROVED | CONDITIONAL | NEEDS_WORK] (2-3 min)
  ✓ Technical Writer: [APPROVED | CONDITIONAL | NEEDS_WORK] (2-3 min)
3.4: Synthesis and Finalization
Task(
    subagent_type="architecture-documenter",
    description="Synthesize SAD review feedback",
    prompt="""
    Read primary draft: .aiwg/working/architecture/sad/drafts/v0.1-primary-draft.md
    Read all reviews:
    - .aiwg/working/architecture/sad/reviews/security-architect-review.md
    - .aiwg/working/architecture/sad/reviews/test-architect-review.md
    - .aiwg/working/architecture/sad/reviews/requirements-analyst-review.md
    - .aiwg/working/architecture/sad/reviews/technical-writer-review.md

    Synthesize final Software Architecture Document:

    1. Read all inline comments (<!-- ROLE: feedback -->)
    2. Merge complementary feedback (add missing sections)
    3. Resolve conflicts (e.g., security vs. performance trade-offs):
       - Document trade-off rationale
       - Escalate to user if unresolvable
    4. Address CONDITIONAL feedback (must-fix items)
    5. Incorporate APPROVED feedback (nice-to-have improvements)
    6. Ensure technical accuracy and architectural consistency

    Create synthesis report documenting:
    - All feedback integrated (checklist)
    - Conflicts resolved (with rationale)
    - Outstanding concerns escalated (if any)
    - Review status summary (4/4 APPROVED, etc.)

    Output final SAD v1.0:
    - .aiwg/architecture/software-architecture-doc.md (BASELINED)

    Output synthesis report:
    - .aiwg/working/architecture/sad/synthesis/synthesis-report.md
    """
)

Wait for synthesis, then update user:

⏳ Synthesizing SAD feedback...
✓ SAD BASELINED: .aiwg/architecture/software-architecture-doc.md
  - Review status: [X/4 APPROVED, Y/4 CONDITIONAL resolved]
  - Final version: 1.0
  - Word count: ~3,500-5,500 words
3.5: Archive Workflow
# You do this directly (or via Documentation Archivist agent)

# Archive complete workflow
mv .aiwg/working/architecture/sad \
   .aiwg/archive/$(date +%Y-%m)/sad-$(date +%Y-%m-%d)/

# Generate audit trail
Create .aiwg/archive/$(date +%Y-%m)/sad-$(date +%Y-%m-%d)/audit-trail.md:

# Audit Trail: Software Architecture Document

**Document ID:** software-architecture-doc
**Final Version:** 1.0
**Baselined:** {current-timestamp}
**Output:** .aiwg/architecture/software-architecture-doc.md

## Timeline
- v0.1: Architecture Designer initial draft (timestamp)
- v0.2: Security Architect review complete (APPROVED with recommendations)
- v0.3: Test Architect review complete (CONDITIONAL - test mocking strategy needed)
- v0.3: Requirements Analyst review complete (APPROVED)
- v0.3: Technical Writer review complete (APPROVED - minor fixes applied)
- v1.0: Architecture Documenter final synthesis (BASELINED)

## Reviews
- Security Architect: APPROVED (added TLS 1.3 requirement)
- Test Architect: CONDITIONAL → RESOLVED (added service mocking documentation)
- Requirements Analyst: APPROVED (validated component mapping)
- Technical Writer: APPROVED (standardized terminology, fixed diagrams)

## Synthesis
- Conflicts resolved: 1 (TLS version for test environment: 1.3 prod, 1.2 test/dev)
- Final status: BASELINED

Update user:

✓ Archived workflow: .aiwg/archive/{date}/sad-{date}/

Step 4: Create Architecture Decision Records (ADRs)

Purpose: Document 3-5 major architectural decisions identified in SAD

Template: agentic/code/frameworks/sdlc-complete/templates/governance/adr-template.md

Your Actions:

  1. Extract Decisions from SAD:

```

Read .aiwg/architecture/software-architecture-doc.md

Identify section "Key Decisions" (3-5 major decisions)

```

  1. For Each Decision, Launch ADR Creation (can be parallel):

```

Task(

subagent_type="architecture-designer",

description="Create ADR-{number}: {decision-title}",

prompt="""

Read SAD: .aiwg/architecture/software-architecture-doc.md

Read ADR template: $AIWG_ROOT/.../architecture-decision-record-template.md

Create ADR for decision: {decision-title}

Structure:

1. Status: Proposed | Accepted | Superseded

2. Context: What is the issue we're facing?

3. Decision: What is the change we're making?

4. Consequences: What are the impacts (positive, negative, risks)?

5. Alternatives Considered: What other options were evaluated? Why rejected?

Example decisions to document:

Technical depth: Elaborate on trade-offs, not just "we chose X"

Save to: .aiwg/architecture/adr/ADR-{number:03d}-{slug}.md

(e.g., ADR-001-database-selection.md)

"""

)

```

  1. Quick Review Cycle (parallel reviewers):

```

# Launch 2-3 reviewers for each ADR:

# - Security Architect (if security-relevant decision)

# - Test Architect (for testability impacts)

# - Technical Writer (for clarity)

# Lighter review than SAD (5-10 min per reviewer)

# Focus on: decision rationale complete, alternatives documented, consequences realistic

```

Communicate Progress:

⏳ Creating ADRs (3-5 decisions)...
  ✓ ADR-001: Database Selection (PostgreSQL) - APPROVED
  ✓ ADR-002: API Architecture (REST + GraphQL) - APPROVED
  ✓ ADR-003: Authentication (OAuth 2.0 + JWT) - APPROVED
  ✓ ADR-004: Deployment Model (Kubernetes) - CONDITIONAL → RESOLVED
✓ ADRs baselined: .aiwg/architecture/adr/ (3-5 files)

Step 5: Retire Architectural Risks

Purpose: Validate high-risk assumptions via POCs, update risk list

Your Actions:

  1. Read Risk List and Identify High-Priority Risks:

```

Read .aiwg/risks/risk-list.md

Filter for:

```

  1. For Each High-Risk Assumption, Launch Risk Validation:

```

# Option A: Build POC (if technical feasibility needs proof)

Task(

subagent_type="software-implementer",

description="Build POC for Risk #{risk-id}",

prompt="""

Risk to validate: {risk-description}

Use /build-poc command to create proof of concept:

/build-poc "{risk-description}" --scope {minimal|standard|comprehensive}

Acceptance criteria: {what proves risk is retired}

Output POC results to: .aiwg/risks/poc-{risk-id}-results.md

Document:

"""

)

# Option B: Conduct Spike (if research/investigation needed)

Task(

subagent_type="architecture-designer",

description="Conduct spike for Risk #{risk-id}",

prompt="""

Risk to investigate: {risk-description}

Conduct time-boxed investigation (1-3 days):

Spike card template: $AIWG_ROOT/.../spike-card-template.md

Output: .aiwg/risks/spike-{risk-id}-results.md

"""

)

# Option C: Analysis Only (if risk can be retired by design)

Task(

subagent_type="security-architect",

description="Validate Risk #{risk-id} through architecture",

prompt="""

Risk: {risk-description}

Validate that architecture addresses this risk:

Document validation:

Output: .aiwg/risks/risk-{risk-id}-validation.md

"""

)

```

  1. Update Risk List:

```

Task(

subagent_type="project-manager",

description="Update risk list with validation results",

prompt="""

Read all risk validation results:

Update .aiwg/risks/risk-list.md:

Calculate risk retirement metrics:

ABM Target: ≥70% retired or mitigated

Critical Target: 100% of P0 and P1 architectural risks retired/mitigated

"""

)

```

Communicate Progress:

⏳ Retiring architectural risks...
  ✓ Risk #1 (Database scale): POC complete → RETIRED (validated 1M records, <100ms)
  ✓ Risk #2 (OAuth integration): Spike complete → RETIRED (tested Auth0 integration)
  ✓ Risk #3 (Performance SLA): Architecture analysis → MITIGATED (caching strategy)
  ✓ Risk #4 (API versioning): Design validated → RETIRED (versioning strategy documented)
✓ Risk retirement: 75% (target: ≥70%) - ABM CRITERIA MET

Step 6: Baseline Requirements and Test Strategy

Purpose: Document use cases, NFRs, and Master Test Plan

Your Actions:

  1. Create Use Case Specifications (parallel):

```

Task(

subagent_type="requirements-analyst",

description="Create use case specifications (10+ use cases)",

prompt="""

Read architecture baseline plan: .aiwg/planning/architecture-baseline-plan.md

Read steel thread use cases (already identified)

Create 10+ use case specifications:

Template: $AIWG_ROOT/.../use-case-spec-template.md

For each use case:

1. Use Case ID and Name

2. Actors (who interacts)

3. Preconditions (system state before)

4. Main Flow (happy path steps)

5. Alternative Flows (error cases, edge cases)

6. Postconditions (system state after)

7. Acceptance Criteria (how to test)

8. Component Mapping (which SAD components implement this)

Ensure traceability: Use Case → SAD Components

Output: .aiwg/requirements/use-case-{id}-{name}.md (10+ files)

"""

)

```

  1. Create Supplemental Specification (NFRs):

```

Task(

subagent_type="requirements-analyst",

description="Document non-functional requirements",

prompt="""

Read SAD quality attributes

Read architecture baseline plan

Create Supplemental Specification covering:

1. Performance

2. Scalability

3. Availability

4. Security (reference SAD security architecture)

5. Usability

6. Maintainability

Template: $AIWG_ROOT/.../supplemental-specification-template.md

Output: .aiwg/requirements/supplemental-specification.md

"""

)

```

  1. Create Master Test Plan:

```

Task(

subagent_type="test-architect",

description="Develop Master Test Plan",

prompt="""

Read SAD testability sections

Read supplemental specification (NFRs)

Read use case specifications

Create Master Test Plan covering:

1. Test Strategy

2. Coverage Targets

3. Test Environments

4. Test Data Strategy

5. Test Automation

6. Defect Management

Template: $AIWG_ROOT/.../master-test-plan-template.md

Output: .aiwg/testing/master-test-plan.md

"""

)

```

Communicate Progress:

⏳ Baselining requirements and test strategy...
  ✓ Use case specifications created (10+ use cases)
  ✓ Supplemental specification (NFRs) complete
  ✓ Master Test Plan approved
✓ Requirements baseline: .aiwg/requirements/ (10+ files + supplemental spec)
✓ Test strategy: .aiwg/testing/master-test-plan.md

Step 7: Conduct Architecture Baseline Milestone (ABM) Review

Purpose: Formal gate review to decide GO/NO-GO to Construction

Your Actions:

  1. Validate ABM Criteria:

```

Task(

subagent_type="project-manager",

description="Validate ABM gate criteria",

prompt="""

Read gate criteria: $AIWG_ROOT/.../flows/gate-criteria-by-phase.md (Elaboration section)

Validate all ABM criteria:

1. Architecture Documentation

2. Risk Retirement

3. Requirements Baseline

4. Test Strategy

Report status: PASS | CONDITIONAL PASS | FAIL

Output: .aiwg/reports/abm-criteria-validation.md

"""

)

```

  1. Generate ABM Report:

```

Task(

subagent_type="project-manager",

description="Generate Architecture Baseline Milestone Report",

prompt="""

Read all Elaboration artifacts:

Generate comprehensive ABM Report:

1. Overall Status

2. Criteria Validation (detailed breakdown)

3. Signoff Checklist

4. Decision Rationale

5. Conditions (if CONDITIONAL GO)

6. Next Steps

Template: Use ABM Report structure from orchestration template

Output: .aiwg/reports/abm-report.md

"""

)

```

  1. Present ABM Summary to User:

```

# You present this directly (not via agent)

Read .aiwg/reports/abm-report.md

Present summary:

─────────────────────────────────────────────

Architecture Baseline Milestone Review

─────────────────────────────────────────────

Overall Status: {PASS | CONDITIONAL PASS | FAIL}

Decision: {GO | CONDITIONAL GO | NO-GO | PIVOT}

Criteria Status:

✓ Architecture Documentation: PASS

✓ Risk Retirement: PASS

✓ Requirements Baseline: PASS

✓ Test Strategy: PASS

Artifacts Generated:

Next Steps:

─────────────────────────────────────────────

```

Communicate Progress:

⏳ Conducting ABM gate validation...
✓ ABM criteria validated: PASS (4/4 criteria met)
✓ ABM Report generated: .aiwg/reports/abm-report.md

Quality Gates

Before marking workflow complete, verify:

User Communication

At start: Confirm understanding and list artifacts to generate

Understood. I'll orchestrate the Inception → Elaboration transition.

This will generate:
- Software Architecture Document (SAD)
- Architecture Decision Records (3-5 ADRs)
- Master Test Plan
- Requirements Baseline (10+ use cases + NFRs)
- Risk Retirement Report
- Elaboration Phase Plan
- ABM Report

I'll coordinate multiple agents for comprehensive review.
Expected duration: 15-20 minutes.

Starting orchestration...

During: Update progress with clear indicators

✓ = Complete
⏳ = In progress
❌ = Error/blocked
⚠️ = Warning/attention needed

At end: Summary report with artifact locations and status (see Step 7.3 above)

Error Handling

If LOM Not Met:

❌ Inception phase incomplete - cannot proceed to Elaboration

Gaps identified:
- {list missing artifacts or incomplete criteria}

Recommendation: Complete Inception first
- Run: /flow-concept-to-inception
- Or: Complete missing artifacts manually

Contact Executive Sponsor for project status decision.

If POC/Spike Failed:

❌ Critical POC failed - technical feasibility not proven

Risk: {risk-description}
POC Result: {NO-GO reason}

Actions:
1. Identify technical blockers
2. Consider architecture pivot or technology change
3. Conduct additional investigation spike

Impact: ABM blocked until technical feasibility proven or risk accepted by sponsor.

Escalating to user for decision...

If Risk Retirement Insufficient:

⚠️ Risk retirement {percentage}% (target: ≥70%)

Outstanding risks:
- {risk-1}: {status}
- {risk-2}: {status}

Recommendation: Conduct additional spikes/POCs to retire critical risks

Impact: ABM may result in CONDITIONAL GO or NO-GO if risk retirement remains insufficient.

If Review Conflicts Unresolvable:

⚠️ Review conflict requires user decision

Conflict: {description}
- Security Architect: {position}
- Performance Architect: {opposing position}

Trade-off analysis:
- Option A: {pros/cons}
- Option B: {pros/cons}

Escalating to user for architectural decision...

Success Criteria

This orchestration succeeds when:

Metrics to Track

During orchestration, track:

References

Templates (via $AIWG_ROOT):

Gate Criteria:

Multi-Agent Pattern:

Orchestrator Architecture:

Natural Language Translations:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.