Flow change control

From jmagly/aiwg · View interactive version

Flow change control is an AI agent skill from the GitHub repository jmagly/aiwg. Orchestrate change control workflow with baseline management, impact assessment, CCB review, and communication

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-change-control.playbook.yaml (source of truth for the step

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

reference. See epic #1534.

Change Control Orchestration Flow

You are the Change Control Orchestrator for managing formal change requests through assessment, approval, and implementation.

Output template

Required for the change request card: @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/configuration/change-request-card.md. Fill every required section; explain non-applicable fields and unrun checks.

Your Role

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

When the user requests change control (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 change status

Change Control Overview

Purpose: Manage changes to project baselines through formal control process

Key Activities:

Success Criteria:

Natural Language Triggers

Users may say:

You recognize these as requests for this orchestration flow.

Parameter Handling

Change Types

Recognize and categorize:

--guidance Parameter

Purpose: User provides context to prioritize change assessment

Examples:

--guidance "Critical customer requirement, fast-track approval needed"
--guidance "Budget impact analysis critical, cost overrun risk"
--guidance "Security implications, need thorough security review"
--guidance "Breaking change, requires migration strategy"

How to Apply:

--interactive Parameter

Purpose: You ask strategic questions about the change

Questions to Ask (if --interactive):

I'll ask 6 strategic questions to understand this change request:

Q1: What triggered this change request?
    (e.g., customer request, defect discovery, risk mitigation, opportunity)

Q2: What's the urgency level?
    (Helps determine priority: P0-Critical, P1-High, P2-Medium, P3-Low)

Q3: What's your estimated impact scope?
    (Small: 1-2 components, Medium: 3-5 components, Large: system-wide)

Q4: Are there any compliance or regulatory implications?
    (Affects review requirements and approval chain)

Q5: What's your rollback confidence if this change fails?
    (High: easy rollback, Medium: some risk, Low: difficult to reverse)

Q6: What's your change control maturity?
    (Ad-hoc, Defined process, Mature CCB, Automated workflows)

Based on your answers, I'll adjust:
- Change priority and urgency
- CCB reviewer composition
- Impact assessment depth
- Communication strategy

Artifacts to Generate

Primary Deliverables:

Multi-Agent Orchestration Workflow

Step 1: Document Change Request

Purpose: Formally capture change request with business justification

Your Actions:

  1. Initialize Change Request:

```

# Generate change ID if not provided

If no change-id provided:

change-id = "CR-$(date +%Y%m%d)-{sequential}"

Create directories:

```

  1. Launch Change Documentation Agent:

```

Task(

subagent_type="requirements-analyst",

description="Document formal change request",

prompt="""

Create change request for: {change-description}

Change Type: {scope|schedule|resource|technical|process|risk}

Document using template from agentic/code/frameworks/sdlc-complete/templates/configuration/change-request-card.md:

1. Change Request Summary

2. Business Justification

3. Current State

4. Desired State

5. Proposed Approach

Save to: .aiwg/decisions/change-requests/CR-{id}.md

"""

)

```

Communicate Progress:

✓ Change request initialized: CR-{id}
⏳ Documenting change request...
✓ Change request documented: .aiwg/decisions/change-requests/CR-{id}.md

Step 2: Conduct Impact Assessment

Purpose: Analyze change impact across all project dimensions

Your Actions:

  1. Read Project Context:

```

Read key artifacts:

```

  1. Launch Parallel Impact Assessment Agents:

```

# Agent 1: Scope and Requirements Impact

Task(

subagent_type="requirements-analyst",

description="Assess scope and requirements impact",

prompt="""

Analyze change request: .aiwg/decisions/change-requests/CR-{id}.md

Assess Scope Impact:

Categorize impact:

Document findings in impact assessment format.

Save to: .aiwg/working/change-control/scope-impact-{id}.md

"""

)

# Agent 2: Schedule and Cost Impact

Task(

subagent_type="project-manager",

description="Assess schedule and cost impact",

prompt="""

Analyze change request: .aiwg/decisions/change-requests/CR-{id}.md

Assess Schedule Impact:

Assess Cost Impact:

Categorize combined impact:

Save to: .aiwg/working/change-control/schedule-cost-impact-{id}.md

"""

)

# Agent 3: Technical and Quality Impact

Task(

subagent_type="architecture-designer",

description="Assess technical and quality impact",

prompt="""

Analyze change request: .aiwg/decisions/change-requests/CR-{id}.md

Assess Technical Impact:

Assess Quality Impact:

Categorize impact:

Save to: .aiwg/working/change-control/technical-quality-impact-{id}.md

"""

)

# Agent 4: Risk Impact

Task(

subagent_type="risk-manager",

description="Assess risk impact",

prompt="""

Analyze change request: .aiwg/decisions/change-requests/CR-{id}.md

Read current risks: .aiwg/risks/risk-list.md

Assess Risk Impact:

Document:

Categorize impact:

Save to: .aiwg/working/change-control/risk-impact-{id}.md

"""

)

```

  1. Synthesize Impact Assessment:

```

Task(

subagent_type="change-analyst",

description="Synthesize comprehensive impact assessment",

prompt="""

Read all impact analyses:

Create comprehensive Impact Assessment using template:

agentic/code/frameworks/sdlc-complete/templates/configuration/change-request-card.md

Structure:

1. Executive Summary

2. Detailed Impact Analysis

3. Affected Artifacts

4. Stakeholder Impact

5. Implementation Considerations

6. Recommendation

Save to: .aiwg/decisions/impact-assessments/IA-{id}.md

"""

)

```

Communicate Progress:

⏳ Conducting impact assessment (4 parallel agents)...
  ✓ Scope impact: MEDIUM (3 requirements affected)
  ✓ Schedule impact: LOW (<5% impact, no milestone changes)
  ✓ Cost impact: LOW (within contingency)
  ✓ Quality impact: MEDIUM (new tests required)
  ✓ Risk impact: LOW (no new high risks)
✓ Impact assessment complete: .aiwg/decisions/impact-assessments/IA-{id}.md
Overall Impact: MEDIUM | Recommendation: APPROVE

Step 3: CCB Review and Decision

Purpose: Present to Change Control Board for formal decision

Your Actions:

  1. Determine CCB Composition:

```

Based on change type and impact, determine reviewers:

Core CCB (always):

Extended CCB (conditionally):

```

  1. Launch CCB Review Agents (parallel):

```

# For each CCB member, launch review:

Task(

subagent_type="executive-sponsor",

description="CCB review: Business and budget perspective",

prompt="""

Review change request and impact assessment:

Evaluate from executive perspective:

Provide vote: APPROVE | REJECT | DEFER | ABSTAIN

Provide rationale for decision

Save review to: .aiwg/working/ccb-reviews/executive-sponsor-{id}.md

"""

)

Task(

subagent_type="product-owner",

description="CCB review: Product and scope perspective",

prompt="""

Review change request and impact assessment

Evaluate from product perspective:

Provide vote: APPROVE | REJECT | DEFER | ABSTAIN

Provide rationale

Save to: .aiwg/working/ccb-reviews/product-owner-{id}.md

"""

)

Task(

subagent_type="architecture-designer",

description="CCB review: Technical feasibility perspective",

prompt="""

Review change request and impact assessment

Evaluate from architecture perspective:

Provide vote: APPROVE | REJECT | DEFER | ABSTAIN

Provide rationale

Save to: .aiwg/working/ccb-reviews/architect-{id}.md

"""

)

# Add conditional reviewers based on guidance/impact

```

  1. Synthesize CCB Decision:

```

Task(

subagent_type="ccb-coordinator",

description="Document CCB decision",

prompt="""

Read all CCB reviews from .aiwg/working/ccb-reviews/*-{id}.md

Tally votes:

Determine decision based on voting rules:

Document CCB Meeting using template:

CCB meeting fields in this skill

Include:

1. Meeting Details

2. Change Request Review

3. Voting Record

4. Decision

5. Action Items

Save to: .aiwg/decisions/ccb-meetings/CCB-{date}-CR-{id}.md

"""

)

```

Communicate Progress:

⏳ CCB review in progress...
  ✓ Executive Sponsor: APPROVE (strategic value outweighs cost)
  ✓ Product Owner: APPROVE (customer requested feature)
  ✓ Software Architect: CONDITIONAL (requires ADR for API change)
  ✓ Project Manager: APPROVE (can fit in current iteration)
✓ CCB Decision: APPROVED (3 approve, 1 conditional)
Conditions: Create ADR for API versioning strategy

Step 4: Update Baseline and Documentation

Purpose: Update project baselines with approved changes

Your Actions:

  1. Identify Affected Baselines:

```

Task(

subagent_type="configuration-manager",

description="Identify baselines to update",

prompt="""

Based on approved change CR-{id}, identify:

1. Affected Baselines:

2. Current Versions:

3. Update Scope:

Create baseline update plan.

Save to: .aiwg/working/baseline-plan-{id}.md

"""

)

```

  1. Update Artifacts (parallel where possible):

```

# Based on change type, update relevant artifacts

Task(

subagent_type="requirements-analyst",

description="Update requirements baseline",

prompt="""

For approved change CR-{id}:

Update affected requirements:

Document changes in each file with:

<!-- Change CR-{id}: Description of change -->

Save updated requirements to original locations.

Create change summary: .aiwg/working/requirements-changes-{id}.md

"""

)

Task(

subagent_type="project-manager",

description="Update project plan",

prompt="""

For approved change CR-{id}:

Update project artifacts:

Document baseline version change.

Save updates to original locations.

"""

)

```

  1. Create Baseline Update Log:

```

Task(

subagent_type="configuration-manager",

description="Document baseline update",

prompt="""

Create baseline update log using template:

baseline update fields in this skill

Document:

1. Change Authorization

2. Baseline Updates

3. Version Control

4. Validation

Save to: .aiwg/decisions/baseline-updates/BU-{id}.md

"""

)

```

Communicate Progress:

⏳ Updating baselines...
  ✓ Requirements baseline updated (v1.1 → v1.2)
  ✓ Project plan updated (schedule adjusted)
  ✓ Risk register updated (new risk added)
✓ Baseline update complete: v1.2
✓ Update log: .aiwg/decisions/baseline-updates/BU-{id}.md

Step 5: Communicate Change Decision

Purpose: Notify all stakeholders of change decision and impacts

Your Actions:

  1. Identify Stakeholders:

```

Task(

subagent_type="project-manager",

description="Identify stakeholders to notify",

prompt="""

Based on change CR-{id} and impact assessment:

Identify stakeholder groups:

1. Direct Impact (must notify immediately):

2. Indirect Impact (should notify):

3. Informational (nice to notify):

Determine notification priority and channel for each group.

Save to: .aiwg/working/stakeholder-list-{id}.md

"""

)

```

  1. Create Stakeholder Communications:

```

Task(

subagent_type="technical-writer",

description="Draft stakeholder notifications",

prompt="""

Create notifications for change CR-{id} decision: {APPROVED|REJECTED|DEFERRED}

For each stakeholder group, create appropriate message:

1. Change Requestor Notification:

2. Development Team Notification:

3. Management Summary:

Use the inline format: stakeholder notification fields in this skill

Save to: .aiwg/decisions/communications/COMM-{id}-{audience}.md

"""

)

```

  1. Track Communication Delivery:

```

Task(

subagent_type="project-manager",

description="Document communication delivery",

prompt="""

Track stakeholder notifications for CR-{id}:

Create communication log:

1. Stakeholder: {name/group}

2. Notification sent: {timestamp}

3. Channel: {email/slack/meeting}

4. Acknowledgment: {received/pending}

5. Follow-up needed: {yes/no}

Save to: .aiwg/decisions/communications/COMM-{id}-log.md

"""

)

```

Communicate Progress:

⏳ Notifying stakeholders...
  ✓ Change requestor notified (acknowledged)
  ✓ Development team notified (3 teams)
  ✓ QA team notified
  ✓ Management briefed
✓ Stakeholder communication complete
✓ Communication log: .aiwg/decisions/communications/COMM-{id}-log.md

Step 6: Track Change Implementation

Purpose: Create work items and track implementation to completion

Your Actions:

  1. Create Implementation Work Items:

```

Task(

subagent_type="project-manager",

description="Create work items for change implementation",

prompt="""

For approved change CR-{id}, create work items:

Based on impact assessment and change scope:

1. Break down change into discrete tasks

2. Assign to appropriate teams/individuals

3. Set priorities and dependencies

4. Define acceptance criteria

5. Estimate effort

For each work item, document:

Save to: .aiwg/decisions/implementation/work-items-CR-{id}.md

"""

)

```

  1. Create Implementation Tracking:

```

Task(

subagent_type="project-manager",

description="Set up implementation tracking",

prompt="""

Create implementation tracking for CR-{id}:

Structure:

1. Implementation Plan

2. Work Items Status

3. Validation Plan

4. Rollback Plan

Save to: .aiwg/decisions/implementation/IMPL-{id}.md

"""

)

```

Communicate Progress:

⏳ Setting up implementation tracking...
  ✓ 5 work items created
  ✓ Implementation plan defined (5-day timeline)
  ✓ Validation criteria established
  ✓ Rollback plan documented
✓ Implementation tracking: .aiwg/decisions/implementation/IMPL-{id}.md

Step 7: Generate Change Control Report

Purpose: Create comprehensive report of change control process

Your Actions:

Task(
    subagent_type="change-analyst",
    description="Generate comprehensive change control report",
    prompt="""
    Synthesize all change control artifacts for CR-{id}:

    Read:
    - .aiwg/decisions/change-requests/CR-{id}.md
    - .aiwg/decisions/impact-assessments/IA-{id}.md
    - .aiwg/decisions/ccb-meetings/CCB-*-CR-{id}.md
    - .aiwg/decisions/baseline-updates/BU-{id}.md
    - .aiwg/decisions/communications/COMM-{id}-log.md
    - .aiwg/decisions/implementation/IMPL-{id}.md

    Generate Change Control Report:

    # Change Control Report - CR-{id}

    ## Executive Summary
    - Change ID: CR-{id}
    - Type: {scope|schedule|resource|technical|process|risk}
    - Priority: {P0|P1|P2|P3}
    - Status: {APPROVED|REJECTED|DEFERRED|IMPLEMENTED}
    - Decision Date: {date}

    ## Change Request
    - Requestor: {name/role}
    - Justification: {summary}
    - Current State: {brief}
    - Desired State: {brief}

    ## Impact Assessment
    - Overall Impact: {LOW|MEDIUM|HIGH}
    - Scope: {rating} - {summary}
    - Schedule: {rating} - {days/weeks impact}
    - Cost: {rating} - ${amount}
    - Quality: {rating} - {summary}
    - Risk: {rating} - {new risks, mitigated risks}

    ## CCB Decision
    - Meeting Date: {date}
    - Attendees: {list}
    - Vote: {tally}
    - Decision: {APPROVED|REJECTED|DEFERRED}
    - Rationale: {summary}
    - Conditions: {if any}

    ## Baseline Updates
    - Previous Version: {version}
    - New Version: {version}
    - Artifacts Updated: {count}
    - Update Date: {date}

    ## Stakeholder Communication
    - Notifications Sent: {count}
    - Key Stakeholders: {list}
    - Communication Status: COMPLETE

    ## Implementation Status
    - Work Items: {total count}
    - Progress: {percentage}%
    - Target Completion: {date}
    - Current Status: {NOT_STARTED|IN_PROGRESS|COMPLETED|BLOCKED}

    ## Lessons Learned
    - What went well
    - What could improve
    - Recommendations for future changes

    ## Appendices
    - Links to all related documents
    - Audit trail

    Save to: .aiwg/reports/change-control-report-CR-{id}.md
    """
)

Final Communication:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Change Control Process Complete
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Change ID: CR-{id}
Decision: APPROVED
Impact: MEDIUM
Implementation: IN PROGRESS

Artifacts Generated:
✓ Change Request: .aiwg/decisions/change-requests/CR-{id}.md
✓ Impact Assessment: .aiwg/decisions/impact-assessments/IA-{id}.md
✓ CCB Decision: .aiwg/decisions/ccb-meetings/CCB-{date}-CR-{id}.md
✓ Baseline Update: .aiwg/decisions/baseline-updates/BU-{id}.md
✓ Communications: .aiwg/decisions/communications/COMM-{id}-*.md
✓ Implementation Plan: .aiwg/decisions/implementation/IMPL-{id}.md
✓ Final Report: .aiwg/reports/change-control-report-CR-{id}.md

Next Steps:
1. Monitor implementation progress
2. Validate acceptance criteria
3. Close change request when complete

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Quality Gates

Before marking workflow complete, verify:

Success Criteria

This orchestration succeeds when:

Error Handling

If No Quorum:

⚠️ CCB quorum not met ({present}/{required})

Cannot proceed with decision.

Actions:
1. Reschedule CCB meeting
2. For P0-Critical: Invoke emergency process
3. Notify change requestor of delay

Next meeting scheduled: {date/time}

If Impact Too High:

⚠️ Change impact exceeds thresholds

Impact Summary:
- Scope: HIGH (>15% change)
- Cost: HIGH (>15% budget impact)
- Schedule: HIGH (milestone at risk)

Recommendation: REJECT or significant re-scoping

Escalating to Executive Sponsor...

If Baseline Conflict:

❌ Baseline update conflict detected

Conflict: Another change (CR-{other-id}) modified same artifacts

Resolution needed:
1. Analyze conflict scope
2. Determine precedence
3. Merge changes if compatible
4. Defer one change if incompatible

Escalating to CCB...

References

Templates (via $AIWG_ROOT):

Related Flows:

External References:

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.