[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CACRDYJM7K3FH3T168T3A3":3,"skill-same:01M6CACRDYJM7K3FH3T168T3A3":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":56,"linkOnly":57,"markdownContent":58,"markdownBody":59,"frontMatter":60,"refName":70,"commitSha":71,"skillDirectory":72,"forksCount":73,"repositoryHtmlUrl":74,"repositoryHomepageUrl":75,"ownerHtmlUrl":76,"ownerBlogUrl":77,"ownerDescription":78,"updatedAt":79,"install":80,"resources":92},"01M6CACRDYJM7K3FH3T168T3A3","flow-delivery-track","交付流程编排","Orchestrate Delivery Track flow with test-driven development, quality gates, and iteration assessment","编排交付轨道（Delivery Track）流程，包含测试驱动开发、质量门禁与迭代评估。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsdlc\u002Fskills\u002Fflow-delivery-track\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C31AVFVV99RWJEGF9PS85F","项目经理","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CC5FE9VPCST4F3M1W5T9X8","流程编排组合与验证","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],"track","flow","delivery","flow delivery track","write","test-driven","true","number","sonnet","iteration","project","guidance","sdlc","interactive","directory","read","quality","coding","text","orchestrate","development","quality gates","assessment","test","orchestration","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: flow-delivery-track\nplatforms: [all]\ndescription: Orchestrate Delivery Track flow with test-driven development, quality gates, and iteration assessment\ncommandHint:\n  argumentHint: \u003Citeration-number> [project-directory] [--guidance \"text\"] [--interactive]\n  allowedTools: Task, Read, Write, Glob, TodoWrite\n  model: sonnet\n  category: sdlc-orchestration\n  orchestration: true\n  modelRole: coding\n  modelTier: standard\n---\n\n> **Declarative Flow (#1539):** This flow's orchestration is now also expressed as a\n> declarative YAML Flow at `flows\u002Fflow-delivery-track.playbook.yaml` (source of truth for the step\n> sequence + gates). This SKILL.md remains the discoverable trigger surface and prose\n> reference. See epic #1534.\n\n# Delivery Track Flow\n\n**You are the Core Orchestrator** for the critical Delivery Track iteration implementation.\n\n## Your Role\n\n**You orchestrate multi-agent workflows. You do NOT execute bash scripts.**\n\nWhen the user requests this flow (via natural language or explicit command):\n\n1. **Interpret the request** and confirm understanding\n2. **Read this template** as your orchestration guide\n3. **Extract agent assignments** and workflow steps\n4. **Delegate agents with the current provider-native orchestration mechanism** in the correct sequence\n5. **Synthesize results** and finalize artifacts\n6. **Report completion** with summary\n\n## Delivery Track Overview\n\n**Purpose**: Execute prioritized work items with test-driven development and quality gates\n\n**Key Principle**: Each iteration produces production-ready increments through rigorous quality control\n\n**Iteration Duration**: 1-2 weeks typical, 20-30 minutes orchestration\n\n**Success Metrics**:\n- All work items meet Definition of Done (DoD)\n- Quality gates passed (security, performance, coverage)\n- Tests written before implementation (TDD)\n- Continuous integration maintained\n\n## Natural Language Triggers\n\nUsers may say:\n- \"Execute delivery for iteration 3\"\n- \"Start delivery track\"\n- \"Execute current iteration\"\n- \"Run implementation sprint\"\n- \"Begin construction iteration\"\n\nYou recognize these as requests for this orchestration flow.\n\n## Parameter Handling\n\n### Iteration Number\n\n**Required**: The iteration number to execute (e.g., 3, 5, 12)\n\n### --guidance Parameter\n\n**Purpose**: User provides upfront direction to tailor orchestration priorities\n\n**Examples**:\n```\n--guidance \"Focus on security, we have a pen test next week\"\n--guidance \"Performance critical, must maintain sub-100ms response times\"\n--guidance \"Code coverage is slipping, prioritize test completion\"\n--guidance \"New team members, extra code review emphasis needed\"\n```\n\n**How to Apply**:\n- Parse guidance for keywords: security, performance, testing, quality\n- Adjust agent assignments (add security-architect for security focus)\n- Modify gate thresholds (stricter performance limits if critical)\n- Influence priority ordering (tests first vs. features first)\n\n### --interactive Parameter\n\n**Purpose**: You ask 5-7 strategic questions to understand iteration context\n\n**Questions to Ask** (if --interactive):\n\n```\nI'll ask 7 strategic questions to tailor the Delivery Track to your needs:\n\nQ1: What are your top priorities for this iteration?\n    (e.g., feature completion, tech debt, bug fixes, performance)\n\nQ2: Are there any blocked dependencies or risks?\n    (Helps me plan mitigation strategies)\n\nQ3: What's your current test coverage percentage?\n    (Influences test-first emphasis and coverage targets)\n\nQ4: Are there any compliance or security requirements this iteration?\n    (e.g., security audit preparation, compliance features)\n\nQ5: What's your team's current velocity trend?\n    (Helps calibrate iteration scope)\n\nQ6: Any operational concerns for this release?\n    (e.g., database migrations, API changes, performance impacts)\n\nQ7: What's the deployment target after this iteration?\n    (e.g., staging only, production release, demo environment)\n\nBased on your answers, I'll adjust:\n- Agent assignments (add specialized reviewers)\n- Quality gate thresholds\n- Test coverage requirements\n- Security scan depth\n```\n\n**Synthesize Guidance**: Combine answers into structured guidance string for execution\n\n## Artifacts to Generate\n\n**Primary Deliverables**:\n- **Iteration Plan**: Task breakdown with estimates → `.aiwg\u002Fplanning\u002Fiteration-{N}-plan.md`\n- **Implementation Code**: Feature implementation with tests → Project source files\n- **Test Results**: Unit, integration, and acceptance tests → `.aiwg\u002Ftesting\u002Fiteration-{N}-test-results.md`\n- **Quality Gate Report**: Security, performance, coverage → `.aiwg\u002Fgates\u002Fiteration-{N}-quality-report.md`\n- **Release Notes**: User-facing changes → `.aiwg\u002Fdeployment\u002Frelease-notes-iteration-{N}.md`\n- **Iteration Assessment**: Velocity and lessons learned → `.aiwg\u002Freports\u002Fiteration-{N}-assessment.md`\n\n**Supporting Artifacts**:\n- Work package cards (task definitions)\n- Design class cards (implementation details)\n- Test evaluation summaries\n- Defect reports\n- Runbook updates\n\n## Multi-Agent Orchestration Workflow\n\n### Step 1: Validate Iteration Readiness\n\n**Purpose**: Ensure backlog items are ready for implementation (DoR met)\n\n**Your Actions**:\n\n1. **Check for Ready Backlog**:\n   ```\n   Read and verify presence of:\n   - .aiwg\u002Fplanning\u002Fiteration-{N}-backlog.md (or discovery output)\n   - .aiwg\u002Frequirements\u002Fuse-case-*.md (acceptance criteria)\n   - .aiwg\u002Farchitecture\u002Fsoftware-architecture-doc.md (design context)\n   ```\n\n2. **Launch Readiness Validation**:\n   ```\n   Task(\n       subagent_type=\"project-manager\",\n       description=\"Validate iteration {N} readiness\",\n       prompt=\"\"\"\n       Read backlog items for iteration {N}\n\n       Validate Definition of Ready (DoR):\n       - User stories have acceptance criteria\n       - Technical designs documented\n       - Dependencies identified\n       - Test criteria defined\n       - Estimates provided\n\n       Calculate:\n       - Total story points planned\n       - Number of work items\n       - Risk items to address\n\n       Status: READY | BLOCKED | PARTIAL\n\n       If BLOCKED or PARTIAL, list gaps\n\n       Save validation to: .aiwg\u002Freports\u002Fiteration-{N}-readiness.md\n       \"\"\"\n   )\n   ```\n\n3. **Decision Point**:\n   - If READY → Continue to Step 2\n   - If BLOCKED → Report gaps, recommend Discovery Track completion\n   - If PARTIAL → Proceed with ready items only\n\n**Communicate Progress**:\n```\n✓ Initialized iteration {N} validation\n⏳ Validating backlog readiness...\n✓ Iteration readiness: [READY | BLOCKED | PARTIAL]\n```\n\n### Step 2: Plan Task Slices and Assignments\n\n**Purpose**: Break down work into 1-2 hour implementable tasks\n\n**Your Actions**:\n\n1. **Read Iteration Context**:\n   ```\n   Read:\n   - .aiwg\u002Fplanning\u002Fiteration-{N}-backlog.md (work items)\n   - .aiwg\u002Freports\u002Fiteration-{N-1}-assessment.md (velocity history)\n   - .aiwg\u002Fteam\u002Fteam-profile.yaml (team capacity)\n   ```\n\n2. **Launch Task Planning Agents** (parallel):\n   ```\n   # Agent 1: Software Implementer\n   Task(\n       subagent_type=\"software-implementer\",\n       description=\"Break down implementation tasks\",\n       prompt=\"\"\"\n       Read iteration backlog items\n\n       For each user story\u002Ffeature:\n       - Break into 1-2 hour tasks (max 4 hours)\n       - Define technical approach\n       - Identify test requirements\n       - Estimate effort in hours\n\n       Document using work package template:\n       - Task ID and name\n       - Acceptance criteria\n       - Test strategy (unit, integration)\n       - Dependencies\n       - Estimated hours\n\n       Output: .aiwg\u002Fworking\u002Fiteration-{N}\u002Ftask-breakdown.md\n       \"\"\"\n   )\n\n   # Agent 2: Test Engineer\n   Task(\n       subagent_type=\"test-engineer\",\n       description=\"Define test-first strategy\",\n       prompt=\"\"\"\n       Read task breakdown\n\n       For each task, define:\n       - Test cases to write BEFORE implementation\n       - Unit test scenarios\n       - Integration test requirements\n       - Acceptance test criteria\n       - Expected test coverage\n\n       Create test-first checklist:\n       - Which tests block implementation start\n       - Test data requirements\n       - Mock\u002Fstub needs\n\n       Output: .aiwg\u002Fworking\u002Fiteration-{N}\u002Ftest-first-strategy.md\n       \"\"\"\n   )\n\n   # Agent 3: Project Manager\n   Task(\n       subagent_type=\"project-manager\",\n       description=\"Create iteration plan with assignments\",\n       prompt=\"\"\"\n       Read task breakdown and test strategy\n\n       Create iteration plan:\n       1. Task sequence (considering dependencies)\n       2. Owner assignments (load balancing)\n       3. Critical path identification\n       4. Risk mitigation tasks\n       5. Daily milestone targets\n\n       Calculate:\n       - Total effort hours\n       - Team capacity utilization\n       - Iteration burndown forecast\n\n       Template: $AIWG_ROOT\u002F...\u002Fmanagement\u002Fiteration-plan-template.md\n\n       Output: .aiwg\u002Fplanning\u002Fiteration-{N}-plan.md\n       \"\"\"\n   )\n   ```\n\n**Communicate Progress**:\n```\n⏳ Planning iteration {N} tasks...\n  ✓ Implementation tasks defined ({count} tasks)\n  ✓ Test-first strategy created\n  ✓ Iteration plan finalized\n✓ Iteration plan complete: .aiwg\u002Fplanning\u002Fiteration-{N}-plan.md\n```\n\n### Step 3: Implement with Test-Driven Development\n\n**Purpose**: Write tests first, then implement code to pass tests\n\n**Your Actions**:\n\n1. **For Each Task in Plan, Execute TDD Cycle**:\n   ```\n   # Step 3.1: Write Tests First\n   Task(\n       subagent_type=\"test-engineer\",\n       description=\"Write tests for task {task-id}\",\n       prompt=\"\"\"\n       Task: {task-description}\n       Acceptance criteria: {criteria}\n\n       Write comprehensive tests BEFORE implementation:\n\n       1. Unit tests for core logic\n       2. Integration tests for APIs\u002Fservices\n       3. Edge cases and error conditions\n       4. Performance benchmarks (if applicable)\n\n       Use project test framework (Jest, pytest, etc.)\n       Tests should FAIL initially (no implementation yet)\n\n       Output test files to project test directories\n       Document test count and coverage targets\n\n       Report: .aiwg\u002Fworking\u002Fiteration-{N}\u002Ftests\u002F{task-id}-tests.md\n       \"\"\"\n   )\n\n   # Step 3.2: Implement Code\n   Task(\n       subagent_type=\"software-implementer\",\n       description=\"Implement task {task-id} to pass tests\",\n       prompt=\"\"\"\n       Task: {task-description}\n       Tests written: {test-count}\n\n       Implement code to make ALL tests pass:\n\n       1. Follow architecture patterns from SAD\n       2. Use coding standards defined in project\n       3. Write clean, maintainable code\n       4. Add inline documentation\n       5. Ensure commits reference task ID\n\n       Run tests continuously during implementation\n       All tests must pass before marking complete\n\n       Design documentation: Use design-class-card template if needed\n\n       Report: .aiwg\u002Fworking\u002Fiteration-{N}\u002Fimplementation\u002F{task-id}-complete.md\n       \"\"\"\n   )\n\n   # Step 3.3: Code Review\n   Task(\n       subagent_type=\"code-reviewer\",\n       description=\"Review implementation for task {task-id}\",\n       prompt=\"\"\"\n       Review code implementation:\n\n       Check for:\n       - Acceptance criteria met\n       - Tests comprehensive and passing\n       - Code quality (readability, maintainability)\n       - Security best practices\n       - Performance considerations\n       - Documentation completeness\n\n       Provide feedback:\n       - Required changes (blockers)\n       - Suggested improvements\n       - Approval status: APPROVED | NEEDS_CHANGES\n\n       If NEEDS_CHANGES, be specific about required fixes\n\n       Review report: .aiwg\u002Fworking\u002Fiteration-{N}\u002Freviews\u002F{task-id}-review.md\n       \"\"\"\n   )\n   ```\n\n2. **Iterate Until All Tasks Complete**:\n   - Track completion percentage\n   - Handle review feedback loops\n   - Ensure all tests remain passing\n\n**Communicate Progress**:\n```\n⏳ Implementing iteration {N} ({total} tasks)...\n  ✓ Task 1: Tests written (12), implementation complete, APPROVED\n  ✓ Task 2: Tests written (8), implementation complete, APPROVED\n  ⏳ Task 3: Tests written (15), implementing...\nProgress: {completed}\u002F{total} tasks complete\n```\n\n### Step 4: Execute Comprehensive Testing\n\n**Purpose**: Run full test suites and achieve coverage targets\n\n**Your Actions**:\n\n1. **Launch Test Execution** (parallel):\n   ```\n   # Unit Test Suite\n   Task(\n       subagent_type=\"test-engineer\",\n       description=\"Execute unit test suite\",\n       prompt=\"\"\"\n       Run complete unit test suite for iteration {N}\n\n       Execute:\n       - All new tests from this iteration\n       - Full regression suite\n       - Coverage analysis\n\n       Target: ≥80% code coverage (or project standard)\n\n       Document:\n       - Tests run: {count}\n       - Tests passed: {count}\n       - Coverage: {percentage}%\n       - Failed tests (if any) with details\n\n       Output: .aiwg\u002Ftesting\u002Fiteration-{N}-unit-test-results.md\n       \"\"\"\n   )\n\n   # Integration Test Suite\n   Task(\n       subagent_type=\"test-engineer\",\n       description=\"Execute integration test suite\",\n       prompt=\"\"\"\n       Run integration tests for iteration {N}\n\n       Test:\n       - API endpoints\n       - Service interactions\n       - Database operations\n       - External system integrations\n\n       All integration tests must pass (100%)\n\n       Document:\n       - Tests run: {count}\n       - Tests passed: {count}\n       - Performance metrics\n       - Failed tests with root cause\n\n       Output: .aiwg\u002Ftesting\u002Fiteration-{N}-integration-test-results.md\n       \"\"\"\n   )\n\n   # End-to-End Test Suite\n   Task(\n       subagent_type=\"test-engineer\",\n       description=\"Execute E2E acceptance tests\",\n       prompt=\"\"\"\n       Run end-to-end tests for user journeys\n\n       Validate:\n       - Critical user paths work correctly\n       - Cross-component interactions\n       - User acceptance criteria met\n\n       Document:\n       - Scenarios tested: {count}\n       - Scenarios passed: {count}\n       - UI\u002FUX issues found\n       - Performance observations\n\n       Output: .aiwg\u002Ftesting\u002Fiteration-{N}-e2e-test-results.md\n       \"\"\"\n   )\n   ```\n\n2. **Fix Any Test Failures**:\n   ```\n   If test failures detected:\n   Task(\n       subagent_type=\"software-implementer\",\n       description=\"Fix test failures from iteration {N}\",\n       prompt=\"\"\"\n       Test failures detected:\n       {list failures}\n\n       For each failure:\n       1. Analyze root cause\n       2. Determine if bug in code or test\n       3. Fix issue\n       4. Re-run affected tests\n       5. Document fix in commit message\n\n       All tests must pass before proceeding\n\n       Output: .aiwg\u002Fworking\u002Fiteration-{N}\u002Ftest-fixes.md\n       \"\"\"\n   )\n   ```\n\n**Communicate Progress**:\n```\n⏳ Executing test suites...\n  ✓ Unit tests: 156\u002F156 passed (85% coverage)\n  ✓ Integration tests: 42\u002F42 passed\n  ✓ E2E tests: 8\u002F8 scenarios passed\n✓ All tests passing, coverage targets met\n```\n\n### Step 5: Validate Quality Gates\n\n**Purpose**: Ensure code meets security, performance, and quality standards\n\n**Your Actions**:\n\n1. **Launch Quality Gate Checks** (parallel):\n   ```\n   # Security Gate\n   Task(\n       subagent_type=\"security-gatekeeper\",\n       description=\"Run security gate validation\",\n       prompt=\"\"\"\n       Perform security analysis for iteration {N}:\n\n       1. Run SAST (static analysis) scan\n       2. Check for vulnerable dependencies\n       3. Validate secure coding practices\n       4. Review authentication\u002Fauthorization changes\n\n       Gate criteria:\n       - No Critical vulnerabilities\n       - No High vulnerabilities (or documented exceptions)\n       - OWASP Top 10 compliance\n\n       Status: PASS | FAIL | CONDITIONAL\n\n       If FAIL, list vulnerabilities requiring fix\n\n       Output: .aiwg\u002Fgates\u002Fiteration-{N}-security-gate.md\n       \"\"\"\n   )\n\n   # Performance Gate\n   Task(\n       subagent_type=\"devops-engineer\",\n       description=\"Validate performance metrics\",\n       prompt=\"\"\"\n       Run performance validation for iteration {N}:\n\n       1. Execute performance test suite\n       2. Compare against baseline metrics\n       3. Check SLO compliance\n       4. Identify regressions\n\n       Gate criteria:\n       - No performance regressions >10%\n       - Response time p95 \u003C {target}ms\n       - Throughput > {target} req\u002Fs\n       - Memory usage stable\n\n       Status: PASS | FAIL | WARNING\n\n       Document performance profile and any issues\n\n       Output: .aiwg\u002Fgates\u002Fiteration-{N}-performance-gate.md\n       \"\"\"\n   )\n\n   # Code Quality Gate\n   Task(\n       subagent_type=\"code-reviewer\",\n       description=\"Validate code quality standards\",\n       prompt=\"\"\"\n       Assess code quality for iteration {N}:\n\n       1. Run static analysis (linting, complexity)\n       2. Check code coverage percentage\n       3. Review technical debt introduced\n       4. Validate documentation completeness\n\n       Gate criteria:\n       - Code coverage ≥80% (or project standard)\n       - Cyclomatic complexity \u003C10\n       - No critical linting errors\n       - Public APIs documented\n\n       Status: PASS | FAIL | WARNING\n\n       Output: .aiwg\u002Fgates\u002Fiteration-{N}-code-quality-gate.md\n       \"\"\"\n   )\n   ```\n\n2. **Consolidate Gate Results**:\n   ```\n   Task(\n       subagent_type=\"project-manager\",\n       description=\"Consolidate quality gate results\",\n       prompt=\"\"\"\n       Read all gate reports:\n       - Security gate status\n       - Performance gate status\n       - Code quality gate status\n\n       Generate consolidated quality report:\n\n       Overall Status: PASS (all gates pass) | BLOCKED (any gate fails)\n\n       If BLOCKED:\n       - List failing gates\n       - Required fixes\n       - Remediation timeline\n\n       Output: .aiwg\u002Fgates\u002Fiteration-{N}-quality-report.md\n       \"\"\"\n   )\n   ```\n\n**Communicate Progress**:\n```\n⏳ Validating quality gates...\n  ✓ Security gate: PASS (0 vulnerabilities)\n  ✓ Performance gate: PASS (no regressions)\n  ✓ Code quality gate: PASS (82% coverage)\n✓ All quality gates passed\n```\n\n### Step 6: Integration and Documentation\n\n**Purpose**: Merge code and update all documentation\n\n**Your Actions**:\n\n1. **Merge to Main Branch**:\n   ```\n   Task(\n       subagent_type=\"devops-engineer\",\n       description=\"Integrate iteration {N} to main\",\n       prompt=\"\"\"\n       With all gates passed, merge iteration work:\n\n       1. Merge feature branches to main\u002Ftrunk\n       2. Run CI\u002FCD pipeline\n       3. Validate build success\n       4. Deploy to dev environment\n       5. Run smoke tests\n\n       Document:\n       - Commits merged: {count}\n       - Build status: SUCCESS | FAILURE\n       - Deployment status\n       - Smoke test results\n\n       Output: .aiwg\u002Fdeployment\u002Fiteration-{N}-integration.md\n       \"\"\"\n   )\n   ```\n\n2. **Update Documentation** (parallel):\n   ```\n   # Release Notes\n   Task(\n       subagent_type=\"technical-writer\",\n       description=\"Generate release notes\",\n       prompt=\"\"\"\n       Create user-facing release notes for iteration {N}:\n\n       Sections:\n       - New Features (user-visible changes)\n       - Improvements (performance, UX enhancements)\n       - Bug Fixes (issues resolved)\n       - Known Issues (if any)\n\n       Write in user-friendly language\n       Include relevant screenshots\u002Fexamples if applicable\n\n       Template: $AIWG_ROOT\u002F...\u002Fdeployment\u002Frelease-notes-template.md\n\n       Output: .aiwg\u002Fdeployment\u002Frelease-notes-iteration-{N}.md\n       \"\"\"\n   )\n\n   # Runbook Updates\n   Task(\n       subagent_type=\"operations-manager\",\n       description=\"Update operational runbooks\",\n       prompt=\"\"\"\n       Review iteration {N} for operational changes:\n\n       Update runbooks if:\n       - New configuration added\n       - Deployment process changed\n       - New monitoring\u002Falerts added\n       - Database migrations required\n       - API changes affecting operations\n\n       Document all operational impacts\n\n       Output: .aiwg\u002Fdeployment\u002Frunbook-updates-iteration-{N}.md\n       \"\"\"\n   )\n   ```\n\n**Communicate Progress**:\n```\n⏳ Finalizing integration...\n  ✓ Code merged to main branch\n  ✓ CI\u002FCD pipeline successful\n  ✓ Deployed to dev environment\n  ✓ Release notes generated\n  ✓ Runbooks updated\n✓ Integration complete\n```\n\n### Step 7: Generate Iteration Assessment\n\n**Purpose**: Calculate velocity metrics and capture lessons learned\n\n**Your Actions**:\n\n1. **Calculate Metrics**:\n   ```\n   Task(\n       subagent_type=\"project-manager\",\n       description=\"Calculate iteration {N} metrics\",\n       prompt=\"\"\"\n       Analyze iteration {N} completion:\n\n       Calculate:\n       - Story points planned vs completed\n       - Tasks planned vs completed\n       - Velocity (points\u002Fiteration)\n       - Defects found and fixed\n       - Test coverage achieved\n       - Quality gate pass rate\n\n       Compare to previous iterations:\n       - Velocity trend (improving\u002Fdeclining)\n       - Quality trend\n       - Team productivity\n\n       Output metrics summary\n       \"\"\"\n   )\n   ```\n\n2. **Generate Assessment Report**:\n   ```\n   Task(\n       subagent_type=\"project-manager\",\n       description=\"Generate iteration {N} assessment\",\n       prompt=\"\"\"\n       Create comprehensive iteration assessment:\n\n       1. Goals Achievement\n          - Planned vs completed work\n          - Success percentage\n\n       2. Velocity Metrics\n          - Points completed\n          - Velocity trend analysis\n\n       3. Quality Metrics\n          - Test coverage\n          - Defect rates\n          - Gate pass rates\n\n       4. Risks\n          - New risks identified\n          - Risks retired\n          - Risk mitigation status\n\n       5. Lessons Learned\n          - What went well\n          - What needs improvement\n          - Action items for next iteration\n\n       6. Team Performance\n          - Capacity utilization\n          - Collaboration effectiveness\n\n       Template: $AIWG_ROOT\u002F...\u002Fmanagement\u002Fiteration-assessment-template.md\n\n       Output: .aiwg\u002Freports\u002Fiteration-{N}-assessment.md\n       \"\"\"\n   )\n   ```\n\n**Communicate Progress**:\n```\n⏳ Generating iteration assessment...\n✓ Iteration {N} assessment complete\n  - Velocity: {points} story points\n  - Completion: {percentage}%\n  - Quality gates: {pass-rate}%\n```\n\n## Definition of Done (DoD) Checklist\n\nBefore marking iteration complete, verify:\n\n### Implementation Complete\n- [ ] All acceptance criteria met\n- [ ] Code peer-reviewed\n- [ ] Code merged to main\n- [ ] No outstanding review comments\n\n### Tests Complete\n- [ ] Unit tests written and passing\n- [ ] Integration tests passing\n- [ ] E2E tests passing\n- [ ] Coverage targets met\n\n### Documentation Complete\n- [ ] Code comments added\n- [ ] Release notes updated\n- [ ] Runbooks updated\n- [ ] Traceability maintained\n\n### Quality Gates Passed\n- [ ] Security gate passed\n- [ ] Performance gate passed\n- [ ] Code quality gate passed\n- [ ] No critical defects\n\n### Deployment Ready\n- [ ] Deployed to dev successfully\n- [ ] Smoke tests passing\n- [ ] Configuration documented\n\n## User Communication\n\n**At start**: Confirm understanding and list deliverables\n\n```\nUnderstood. I'll orchestrate Delivery Track for iteration {N}.\n\nThis will include:\n- Task planning and breakdown\n- Test-driven development\n- Comprehensive testing\n- Quality gate validation\n- Documentation updates\n- Iteration assessment\n\nI'll coordinate multiple agents for implementation and review.\nExpected duration: 20-30 minutes.\n\nStarting orchestration...\n```\n\n**During**: Update progress with clear indicators\n\n```\n✓ = Complete\n⏳ = In progress\n❌ = Error\u002Fblocked\n⚠️ = Warning\u002Fattention needed\n```\n\n**At end**: Summary report with locations\n\n```\n─────────────────────────────────────────\nIteration {N} Delivery Complete\n─────────────────────────────────────────\n\n**Status**: COMPLETE\n**Velocity**: {points} story points\n**Quality Gates**: ALL PASSED\n\n**Work Completed**:\n- Tasks: {completed}\u002F{planned}\n- Tests: {test-count} written\n- Coverage: {percentage}%\n- Defects: {fixed-count} fixed\n\n**Artifacts Generated**:\n- Iteration plan: .aiwg\u002Fplanning\u002Fiteration-{N}-plan.md\n- Test results: .aiwg\u002Ftesting\u002Fiteration-{N}-test-results.md\n- Quality report: .aiwg\u002Fgates\u002Fiteration-{N}-quality-report.md\n- Release notes: .aiwg\u002Fdeployment\u002Frelease-notes-iteration-{N}.md\n- Assessment: .aiwg\u002Freports\u002Fiteration-{N}-assessment.md\n\n**Next Steps**:\n- Review iteration assessment\n- Plan next iteration\n- Deploy to staging if ready\n\n─────────────────────────────────────────\n```\n\n## Error Handling\n\n**If Backlog Not Ready**:\n```\n❌ Iteration {N} backlog not ready\n\nMissing:\n- {list missing items}\n\nRecommendation: Complete Discovery Track first\nRun: \u002Fflow-discovery-track {N}\n```\n\n**If Tests Fail**:\n```\n⚠️ Test failures detected\n\nFailed tests: {count}\n- {test names}\n\nAction: Fixing test failures before proceeding...\n```\n\n**If Quality Gate Fails**:\n```\n❌ Quality gate failed: {gate-name}\n\nIssue: {specific problem}\nRequired fix: {description}\n\nCannot proceed until gate passes.\nInitiating remediation...\n```\n\n**If Integration Fails**:\n```\n❌ Integration build failed\n\nError: {build error}\nAction: Investigating build failure...\n\nMay need manual intervention.\n```\n\n## Success Criteria\n\nThis orchestration succeeds when:\n- [ ] All planned work items complete\n- [ ] Definition of Done met for all items\n- [ ] All tests passing\n- [ ] Quality gates passed\n- [ ] Code integrated to main\n- [ ] Documentation updated\n- [ ] Iteration assessment generated\n\n## Metrics to Track\n\n**During orchestration, track**:\n- Task completion rate\n- Test coverage percentage\n- Defect discovery rate\n- Gate pass\u002Ffail rate\n- Velocity (story points)\n- Cycle time per task\n\n## References\n\n**Templates** (via $AIWG_ROOT):\n- Iteration Plan: `templates\u002Fmanagement\u002Fiteration-plan-template.md`\n- Work Package: `templates\u002Fmanagement\u002Fwork-package-card.md`\n- Test Plan: `templates\u002Ftest\u002Fiteration-test-plan-template.md`\n- Release Notes: `templates\u002Fdeployment\u002Frelease-notes-template.md`\n- Assessment: `templates\u002Fmanagement\u002Fiteration-assessment-template.md`\n\n**Related Flows**:\n- Discovery Track: `commands\u002Fflow-discovery-track.md`\n- Gate Check: `commands\u002Fflow-gate-check.md`\n- Handoff: `commands\u002Fflow-handoff-checklist.md`\n\n**Quality Standards**:\n- DoD Criteria: `flows\u002Fdefinition-of-done.md`\n- Gate Criteria: `flows\u002Fgate-criteria-by-phase.md`","> **Declarative Flow (#1539):** This flow's orchestration is now also expressed as a\n> declarative YAML Flow at `flows\u002Fflow-delivery-track.playbook.yaml` (source of truth for the step\n> sequence + gates). This SKILL.md remains the discoverable trigger surface and prose\n> reference. See epic #1534.\n\n# Delivery Track Flow\n\n**You are the Core Orchestrator** for the critical Delivery Track iteration implementation.\n\n## Your Role\n\n**You orchestrate multi-agent workflows. You do NOT execute bash scripts.**\n\nWhen the user requests this flow (via natural language or explicit command):\n\n1. **Interpret the request** and confirm understanding\n2. **Read this template** as your orchestration guide\n3. **Extract agent assignments** and workflow steps\n4. **Delegate agents with the current provider-native orchestration mechanism** in the correct sequence\n5. **Synthesize results** and finalize artifacts\n6. **Report completion** with summary\n\n## Delivery Track Overview\n\n**Purpose**: Execute prioritized work items with test-driven development and quality gates\n\n**Key Principle**: Each iteration produces production-ready increments through rigorous quality control\n\n**Iteration Duration**: 1-2 weeks typical, 20-30 minutes orchestration\n\n**Success Metrics**:\n- All work items meet Definition of Done (DoD)\n- Quality gates passed (security, performance, coverage)\n- Tests written before implementation (TDD)\n- Continuous integration maintained\n\n## Natural Language Triggers\n\nUsers may say:\n- \"Execute delivery for iteration 3\"\n- \"Start delivery track\"\n- \"Execute current iteration\"\n- \"Run implementation sprint\"\n- \"Begin construction iteration\"\n\nYou recognize these as requests for this orchestration flow.\n\n## Parameter Handling\n\n### Iteration Number\n\n**Required**: The iteration number to execute (e.g., 3, 5, 12)\n\n### --guidance Parameter\n\n**Purpose**: User provides upfront direction to tailor orchestration priorities\n\n**Examples**:\n```\n--guidance \"Focus on security, we have a pen test next week\"\n--guidance \"Performance critical, must maintain sub-100ms response times\"\n--guidance \"Code coverage is slipping, prioritize test completion\"\n--guidance \"New team members, extra code review emphasis needed\"\n```\n\n**How to Apply**:\n- Parse guidance for keywords: security, performance, testing, quality\n- Adjust agent assignments (add security-architect for security focus)\n- Modify gate thresholds (stricter performance limits if critical)\n- Influence priority ordering (tests first vs. features first)\n\n### --interactive Parameter\n\n**Purpose**: You ask 5-7 strategic questions to understand iteration context\n\n**Questions to Ask** (if --interactive):\n\n```\nI'll ask 7 strategic questions to tailor the Delivery Track to your needs:\n\nQ1: What are your top priorities for this iteration?\n    (e.g., feature completion, tech debt, bug fixes, performance)\n\nQ2: Are there any blocked dependencies or risks?\n    (Helps me plan mitigation strategies)\n\nQ3: What's your current test coverage percentage?\n    (Influences test-first emphasis and coverage targets)\n\nQ4: Are there any compliance or security requirements this iteration?\n    (e.g., security audit preparation, compliance features)\n\nQ5: What's your team's current velocity trend?\n    (Helps calibrate iteration scope)\n\nQ6: Any operational concerns for this release?\n    (e.g., database migrations, API changes, performance impacts)\n\nQ7: What's the deployment target after this iteration?\n    (e.g., staging only, production release, demo environment)\n\nBased on your answers, I'll adjust:\n- Agent assignments (add specialized reviewers)\n- Quality gate thresholds\n- Test coverage requirements\n- Security scan depth\n```\n\n**Synthesize Guidance**: Combine answers into structured guidance string for execution\n\n## Artifacts to Generate\n\n**Primary Deliverables**:\n- **Iteration Plan**: Task breakdown with estimates → `.aiwg\u002Fplanning\u002Fiteration-{N}-plan.md`\n- **Implementation Code**: Feature implementation with tests → Project source files\n- **Test Results**: Unit, integration, and acceptance tests → `.aiwg\u002Ftesting\u002Fiteration-{N}-test-results.md`\n- **Quality Gate Report**: Security, performance, coverage → `.aiwg\u002Fgates\u002Fiteration-{N}-quality-report.md`\n- **Release Notes**: User-facing changes → `.aiwg\u002Fdeployment\u002Frelease-notes-iteration-{N}.md`\n- **Iteration Assessment**: Velocity and lessons learned → `.aiwg\u002Freports\u002Fiteration-{N}-assessment.md`\n\n**Supporting Artifacts**:\n- Work package cards (task definitions)\n- Design class cards (implementation details)\n- Test evaluation summaries\n- Defect reports\n- Runbook updates\n\n## Multi-Agent Orchestration Workflow\n\n### Step 1: Validate Iteration Readiness\n\n**Purpose**: Ensure backlog items are ready for implementation (DoR met)\n\n**Your Actions**:\n\n1. **Check for Ready Backlog**:\n   ```\n   Read and verify presence of:\n   - .aiwg\u002Fplanning\u002Fiteration-{N}-backlog.md (or discovery output)\n   - .aiwg\u002Frequirements\u002Fuse-case-*.md (acceptance criteria)\n   - .aiwg\u002Farchitecture\u002Fsoftware-architecture-doc.md (design context)\n   ```\n\n2. **Launch Readiness Validation**:\n   ```\n   Task(\n       subagent_type=\"project-manager\",\n       description=\"Validate iteration {N} readiness\",\n       prompt=\"\"\"\n       Read backlog items for iteration {N}\n\n       Validate Definition of Ready (DoR):\n       - User stories have acceptance criteria\n       - Technical designs documented\n       - Dependencies identified\n       - Test criteria defined\n       - Estimates provided\n\n       Calculate:\n       - Total story points planned\n       - Number of work items\n       - Risk items to address\n\n       Status: READY | BLOCKED | PARTIAL\n\n       If BLOCKED or PARTIAL, list gaps\n\n       Save validation to: .aiwg\u002Freports\u002Fiteration-{N}-readiness.md\n       \"\"\"\n   )\n   ```\n\n3. **Decision Point**:\n   - If READY → Continue to Step 2\n   - If BLOCKED → Report gaps, recommend Discovery Track completion\n   - If PARTIAL → Proceed with ready items only\n\n**Communicate Progress**:\n```\n✓ Initialized iteration {N} validation\n⏳ Validating backlog readiness...\n✓ Iteration readiness: [READY | BLOCKED | PARTIAL]\n```\n\n### Step 2: Plan Task Slices and Assignments\n\n**Purpose**: Break down work into 1-2 hour implementable tasks\n\n**Your Actions**:\n\n1. **Read Iteration Context**:\n   ```\n   Read:\n   - .aiwg\u002Fplanning\u002Fiteration-{N}-backlog.md (work items)\n   - .aiwg\u002Freports\u002Fiteration-{N-1}-assessment.md (velocity history)\n   - .aiwg\u002Fteam\u002Fteam-profile.yaml (team capacity)\n   ```\n\n2. **Launch Task Planning Agents** (parallel):\n   ```\n   # Agent 1: Software Implementer\n   Task(\n       subagent_type=\"software-implementer\",\n       description=\"Break down implementation tasks\",\n       prompt=\"\"\"\n       Read iteration backlog items\n\n       For each user story\u002Ffeature:\n       - Break into 1-2 hour tasks (max 4 hours)\n       - Define technical approach\n       - Identify test requirements\n       - Estimate effort in hours\n\n       Document using work package template:\n       - Task ID and name\n       - Acceptance criteria\n       - Test strategy (unit, integration)\n       - Dependencies\n       - Estimated hours\n\n       Output: .aiwg\u002Fworking\u002Fiteration-{N}\u002Ftask-breakdown.md\n       \"\"\"\n   )\n\n   # Agent 2: Test Engineer\n   Task(\n       subagent_type=\"test-engineer\",\n       description=\"Define test-first strategy\",\n       prompt=\"\"\"\n       Read task breakdown\n\n       For each task, define:\n       - Test cases to write BEFORE implementation\n       - Unit test scenarios\n       - Integration test requirements\n       - Acceptance test criteria\n       - Expected test coverage\n\n       Create test-first checklist:\n       - Which tests block implementation start\n       - Test data requirements\n       - Mock\u002Fstub needs\n\n       Output: .aiwg\u002Fworking\u002Fiteration-{N}\u002Ftest-first-strategy.md\n       \"\"\"\n   )\n\n   # Agent 3: Project Manager\n   Task(\n       subagent_type=\"project-manager\",\n       description=\"Create iteration plan with assignments\",\n       prompt=\"\"\"\n       Read task breakdown and test strategy\n\n       Create iteration plan:\n       1. Task sequence (considering dependencies)\n       2. Owner assignments (load balancing)\n       3. Critical path identification\n       4. Risk mitigation tasks\n       5. Daily milestone targets\n\n       Calculate:\n       - Total effort hours\n       - Team capacity utilization\n       - Iteration burndown forecast\n\n       Template: $AIWG_ROOT\u002F...\u002Fmanagement\u002Fiteration-plan-template.md\n\n       Output: .aiwg\u002Fplanning\u002Fiteration-{N}-plan.md\n       \"\"\"\n   )\n   ```\n\n**Communicate Progress**:\n```\n⏳ Planning iteration {N} tasks...\n  ✓ Implementation tasks defined ({count} tasks)\n  ✓ Test-first strategy created\n  ✓ Iteration plan finalized\n✓ Iteration plan complete: .aiwg\u002Fplanning\u002Fiteration-{N}-plan.md\n```\n\n### Step 3: Implement with Test-Driven Development\n\n**Purpose**: Write tests first, then implement code to pass tests\n\n**Your Actions**:\n\n1. **For Each Task in Plan, Execute TDD Cycle**:\n   ```\n   # Step 3.1: Write Tests First\n   Task(\n       subagent_type=\"test-engineer\",\n       description=\"Write tests for task {task-id}\",\n       prompt=\"\"\"\n       Task: {task-description}\n       Acceptance criteria: {criteria}\n\n       Write comprehensive tests BEFORE implementation:\n\n       1. Unit tests for core logic\n       2. Integration tests for APIs\u002Fservices\n       3. Edge cases and error conditions\n       4. Performance benchmarks (if applicable)\n\n       Use project test framework (Jest, pytest, etc.)\n       Tests should FAIL initially (no implementation yet)\n\n       Output test files to project test directories\n       Document test count and coverage targets\n\n       Report: .aiwg\u002Fworking\u002Fiteration-{N}\u002Ftests\u002F{task-id}-tests.md\n       \"\"\"\n   )\n\n   # Step 3.2: Implement Code\n   Task(\n       subagent_type=\"software-implementer\",\n       description=\"Implement task {task-id} to pass tests\",\n       prompt=\"\"\"\n       Task: {task-description}\n       Tests written: {test-count}\n\n       Implement code to make ALL tests pass:\n\n       1. Follow architecture patterns from SAD\n       2. Use coding standards defined in project\n       3. Write clean, maintainable code\n       4. Add inline documentation\n       5. Ensure commits reference task ID\n\n       Run tests continuously during implementation\n       All tests must pass before marking complete\n\n       Design documentation: Use design-class-card template if needed\n\n       Report: .aiwg\u002Fworking\u002Fiteration-{N}\u002Fimplementation\u002F{task-id}-complete.md\n       \"\"\"\n   )\n\n   # Step 3.3: Code Review\n   Task(\n       subagent_type=\"code-reviewer\",\n       description=\"Review implementation for task {task-id}\",\n       prompt=\"\"\"\n       Review code implementation:\n\n       Check for:\n       - Acceptance criteria met\n       - Tests comprehensive and passing\n       - Code quality (readability, maintainability)\n       - Security best practices\n       - Performance considerations\n       - Documentation completeness\n\n       Provide feedback:\n       - Required changes (blockers)\n       - Suggested improvements\n       - Approval status: APPROVED | NEEDS_CHANGES\n\n       If NEEDS_CHANGES, be specific about required fixes\n\n       Review report: .aiwg\u002Fworking\u002Fiteration-{N}\u002Freviews\u002F{task-id}-review.md\n       \"\"\"\n   )\n   ```\n\n2. **Iterate Until All Tasks Complete**:\n   - Track completion percentage\n   - Handle review feedback loops\n   - Ensure all tests remain passing\n\n**Communicate Progress**:\n```\n⏳ Implementing iteration {N} ({total} tasks)...\n  ✓ Task 1: Tests written (12), implementation complete, APPROVED\n  ✓ Task 2: Tests written (8), implementation complete, APPROVED\n  ⏳ Task 3: Tests written (15), implementing...\nProgress: {completed}\u002F{total} tasks complete\n```\n\n### Step 4: Execute Comprehensive Testing\n\n**Purpose**: Run full test suites and achieve coverage targets\n\n**Your Actions**:\n\n1. **Launch Test Execution** (parallel):\n   ```\n   # Unit Test Suite\n   Task(\n       subagent_type=\"test-engineer\",\n       description=\"Execute unit test suite\",\n       prompt=\"\"\"\n       Run complete unit test suite for iteration {N}\n\n       Execute:\n       - All new tests from this iteration\n       - Full regression suite\n       - Coverage analysis\n\n       Target: ≥80% code coverage (or project standard)\n\n       Document:\n       - Tests run: {count}\n       - Tests passed: {count}\n       - Coverage: {percentage}%\n       - Failed tests (if any) with details\n\n       Output: .aiwg\u002Ftesting\u002Fiteration-{N}-unit-test-results.md\n       \"\"\"\n   )\n\n   # Integration Test Suite\n   Task(\n       subagent_type=\"test-engineer\",\n       description=\"Execute integration test suite\",\n       prompt=\"\"\"\n       Run integration tests for iteration {N}\n\n       Test:\n       - API endpoints\n       - Service interactions\n       - Database operations\n       - External system integrations\n\n       All integration tests must pass (100%)\n\n       Document:\n       - Tests run: {count}\n       - Tests passed: {count}\n       - Performance metrics\n       - Failed tests with root cause\n\n       Output: .aiwg\u002Ftesting\u002Fiteration-{N}-integration-test-results.md\n       \"\"\"\n   )\n\n   # End-to-End Test Suite\n   Task(\n       subagent_type=\"test-engineer\",\n       description=\"Execute E2E acceptance tests\",\n       prompt=\"\"\"\n       Run end-to-end tests for user journeys\n\n       Validate:\n       - Critical user paths work correctly\n       - Cross-component interactions\n       - User acceptance criteria met\n\n       Document:\n       - Scenarios tested: {count}\n       - Scenarios passed: {count}\n       - UI\u002FUX issues found\n       - Performance observations\n\n       Output: .aiwg\u002Ftesting\u002Fiteration-{N}-e2e-test-results.md\n       \"\"\"\n   )\n   ```\n\n2. **Fix Any Test Failures**:\n   ```\n   If test failures detected:\n   Task(\n       subagent_type=\"software-implementer\",\n       description=\"Fix test failures from iteration {N}\",\n       prompt=\"\"\"\n       Test failures detected:\n       {list failures}\n\n       For each failure:\n       1. Analyze root cause\n       2. Determine if bug in code or test\n       3. Fix issue\n       4. Re-run affected tests\n       5. Document fix in commit message\n\n       All tests must pass before proceeding\n\n       Output: .aiwg\u002Fworking\u002Fiteration-{N}\u002Ftest-fixes.md\n       \"\"\"\n   )\n   ```\n\n**Communicate Progress**:\n```\n⏳ Executing test suites...\n  ✓ Unit tests: 156\u002F156 passed (85% coverage)\n  ✓ Integration tests: 42\u002F42 passed\n  ✓ E2E tests: 8\u002F8 scenarios passed\n✓ All tests passing, coverage targets met\n```\n\n### Step 5: Validate Quality Gates\n\n**Purpose**: Ensure code meets security, performance, and quality standards\n\n**Your Actions**:\n\n1. **Launch Quality Gate Checks** (parallel):\n   ```\n   # Security Gate\n   Task(\n       subagent_type=\"security-gatekeeper\",\n       description=\"Run security gate validation\",\n       prompt=\"\"\"\n       Perform security analysis for iteration {N}:\n\n       1. Run SAST (static analysis) scan\n       2. Check for vulnerable dependencies\n       3. Validate secure coding practices\n       4. Review authentication\u002Fauthorization changes\n\n       Gate criteria:\n       - No Critical vulnerabilities\n       - No High vulnerabilities (or documented exceptions)\n       - OWASP Top 10 compliance\n\n       Status: PASS | FAIL | CONDITIONAL\n\n       If FAIL, list vulnerabilities requiring fix\n\n       Output: .aiwg\u002Fgates\u002Fiteration-{N}-security-gate.md\n       \"\"\"\n   )\n\n   # Performance Gate\n   Task(\n       subagent_type=\"devops-engineer\",\n       description=\"Validate performance metrics\",\n       prompt=\"\"\"\n       Run performance validation for iteration {N}:\n\n       1. Execute performance test suite\n       2. Compare against baseline metrics\n       3. Check SLO compliance\n       4. Identify regressions\n\n       Gate criteria:\n       - No performance regressions >10%\n       - Response time p95 \u003C {target}ms\n       - Throughput > {target} req\u002Fs\n       - Memory usage stable\n\n       Status: PASS | FAIL | WARNING\n\n       Document performance profile and any issues\n\n       Output: .aiwg\u002Fgates\u002Fiteration-{N}-performance-gate.md\n       \"\"\"\n   )\n\n   # Code Quality Gate\n   Task(\n       subagent_type=\"code-reviewer\",\n       description=\"Validate code quality standards\",\n       prompt=\"\"\"\n       Assess code quality for iteration {N}:\n\n       1. Run static analysis (linting, complexity)\n       2. Check code coverage percentage\n       3. Review technical debt introduced\n       4. Validate documentation completeness\n\n       Gate criteria:\n       - Code coverage ≥80% (or project standard)\n       - Cyclomatic complexity \u003C10\n       - No critical linting errors\n       - Public APIs documented\n\n       Status: PASS | FAIL | WARNING\n\n       Output: .aiwg\u002Fgates\u002Fiteration-{N}-code-quality-gate.md\n       \"\"\"\n   )\n   ```\n\n2. **Consolidate Gate Results**:\n   ```\n   Task(\n       subagent_type=\"project-manager\",\n       description=\"Consolidate quality gate results\",\n       prompt=\"\"\"\n       Read all gate reports:\n       - Security gate status\n       - Performance gate status\n       - Code quality gate status\n\n       Generate consolidated quality report:\n\n       Overall Status: PASS (all gates pass) | BLOCKED (any gate fails)\n\n       If BLOCKED:\n       - List failing gates\n       - Required fixes\n       - Remediation timeline\n\n       Output: .aiwg\u002Fgates\u002Fiteration-{N}-quality-report.md\n       \"\"\"\n   )\n   ```\n\n**Communicate Progress**:\n```\n⏳ Validating quality gates...\n  ✓ Security gate: PASS (0 vulnerabilities)\n  ✓ Performance gate: PASS (no regressions)\n  ✓ Code quality gate: PASS (82% coverage)\n✓ All quality gates passed\n```\n\n### Step 6: Integration and Documentation\n\n**Purpose**: Merge code and update all documentation\n\n**Your Actions**:\n\n1. **Merge to Main Branch**:\n   ```\n   Task(\n       subagent_type=\"devops-engineer\",\n       description=\"Integrate iteration {N} to main\",\n       prompt=\"\"\"\n       With all gates passed, merge iteration work:\n\n       1. Merge feature branches to main\u002Ftrunk\n       2. Run CI\u002FCD pipeline\n       3. Validate build success\n       4. Deploy to dev environment\n       5. Run smoke tests\n\n       Document:\n       - Commits merged: {count}\n       - Build status: SUCCESS | FAILURE\n       - Deployment status\n       - Smoke test results\n\n       Output: .aiwg\u002Fdeployment\u002Fiteration-{N}-integration.md\n       \"\"\"\n   )\n   ```\n\n2. **Update Documentation** (parallel):\n   ```\n   # Release Notes\n   Task(\n       subagent_type=\"technical-writer\",\n       description=\"Generate release notes\",\n       prompt=\"\"\"\n       Create user-facing release notes for iteration {N}:\n\n       Sections:\n       - New Features (user-visible changes)\n       - Improvements (performance, UX enhancements)\n       - Bug Fixes (issues resolved)\n       - Known Issues (if any)\n\n       Write in user-friendly language\n       Include relevant screenshots\u002Fexamples if applicable\n\n       Template: $AIWG_ROOT\u002F...\u002Fdeployment\u002Frelease-notes-template.md\n\n       Output: .aiwg\u002Fdeployment\u002Frelease-notes-iteration-{N}.md\n       \"\"\"\n   )\n\n   # Runbook Updates\n   Task(\n       subagent_type=\"operations-manager\",\n       description=\"Update operational runbooks\",\n       prompt=\"\"\"\n       Review iteration {N} for operational changes:\n\n       Update runbooks if:\n       - New configuration added\n       - Deployment process changed\n       - New monitoring\u002Falerts added\n       - Database migrations required\n       - API changes affecting operations\n\n       Document all operational impacts\n\n       Output: .aiwg\u002Fdeployment\u002Frunbook-updates-iteration-{N}.md\n       \"\"\"\n   )\n   ```\n\n**Communicate Progress**:\n```\n⏳ Finalizing integration...\n  ✓ Code merged to main branch\n  ✓ CI\u002FCD pipeline successful\n  ✓ Deployed to dev environment\n  ✓ Release notes generated\n  ✓ Runbooks updated\n✓ Integration complete\n```\n\n### Step 7: Generate Iteration Assessment\n\n**Purpose**: Calculate velocity metrics and capture lessons learned\n\n**Your Actions**:\n\n1. **Calculate Metrics**:\n   ```\n   Task(\n       subagent_type=\"project-manager\",\n       description=\"Calculate iteration {N} metrics\",\n       prompt=\"\"\"\n       Analyze iteration {N} completion:\n\n       Calculate:\n       - Story points planned vs completed\n       - Tasks planned vs completed\n       - Velocity (points\u002Fiteration)\n       - Defects found and fixed\n       - Test coverage achieved\n       - Quality gate pass rate\n\n       Compare to previous iterations:\n       - Velocity trend (improving\u002Fdeclining)\n       - Quality trend\n       - Team productivity\n\n       Output metrics summary\n       \"\"\"\n   )\n   ```\n\n2. **Generate Assessment Report**:\n   ```\n   Task(\n       subagent_type=\"project-manager\",\n       description=\"Generate iteration {N} assessment\",\n       prompt=\"\"\"\n       Create comprehensive iteration assessment:\n\n       1. Goals Achievement\n          - Planned vs completed work\n          - Success percentage\n\n       2. Velocity Metrics\n          - Points completed\n          - Velocity trend analysis\n\n       3. Quality Metrics\n          - Test coverage\n          - Defect rates\n          - Gate pass rates\n\n       4. Risks\n          - New risks identified\n          - Risks retired\n          - Risk mitigation status\n\n       5. Lessons Learned\n          - What went well\n          - What needs improvement\n          - Action items for next iteration\n\n       6. Team Performance\n          - Capacity utilization\n          - Collaboration effectiveness\n\n       Template: $AIWG_ROOT\u002F...\u002Fmanagement\u002Fiteration-assessment-template.md\n\n       Output: .aiwg\u002Freports\u002Fiteration-{N}-assessment.md\n       \"\"\"\n   )\n   ```\n\n**Communicate Progress**:\n```\n⏳ Generating iteration assessment...\n✓ Iteration {N} assessment complete\n  - Velocity: {points} story points\n  - Completion: {percentage}%\n  - Quality gates: {pass-rate}%\n```\n\n## Definition of Done (DoD) Checklist\n\nBefore marking iteration complete, verify:\n\n### Implementation Complete\n- [ ] All acceptance criteria met\n- [ ] Code peer-reviewed\n- [ ] Code merged to main\n- [ ] No outstanding review comments\n\n### Tests Complete\n- [ ] Unit tests written and passing\n- [ ] Integration tests passing\n- [ ] E2E tests passing\n- [ ] Coverage targets met\n\n### Documentation Complete\n- [ ] Code comments added\n- [ ] Release notes updated\n- [ ] Runbooks updated\n- [ ] Traceability maintained\n\n### Quality Gates Passed\n- [ ] Security gate passed\n- [ ] Performance gate passed\n- [ ] Code quality gate passed\n- [ ] No critical defects\n\n### Deployment Ready\n- [ ] Deployed to dev successfully\n- [ ] Smoke tests passing\n- [ ] Configuration documented\n\n## User Communication\n\n**At start**: Confirm understanding and list deliverables\n\n```\nUnderstood. I'll orchestrate Delivery Track for iteration {N}.\n\nThis will include:\n- Task planning and breakdown\n- Test-driven development\n- Comprehensive testing\n- Quality gate validation\n- Documentation updates\n- Iteration assessment\n\nI'll coordinate multiple agents for implementation and review.\nExpected duration: 20-30 minutes.\n\nStarting orchestration...\n```\n\n**During**: Update progress with clear indicators\n\n```\n✓ = Complete\n⏳ = In progress\n❌ = Error\u002Fblocked\n⚠️ = Warning\u002Fattention needed\n```\n\n**At end**: Summary report with locations\n\n```\n─────────────────────────────────────────\nIteration {N} Delivery Complete\n─────────────────────────────────────────\n\n**Status**: COMPLETE\n**Velocity**: {points} story points\n**Quality Gates**: ALL PASSED\n\n**Work Completed**:\n- Tasks: {completed}\u002F{planned}\n- Tests: {test-count} written\n- Coverage: {percentage}%\n- Defects: {fixed-count} fixed\n\n**Artifacts Generated**:\n- Iteration plan: .aiwg\u002Fplanning\u002Fiteration-{N}-plan.md\n- Test results: .aiwg\u002Ftesting\u002Fiteration-{N}-test-results.md\n- Quality report: .aiwg\u002Fgates\u002Fiteration-{N}-quality-report.md\n- Release notes: .aiwg\u002Fdeployment\u002Frelease-notes-iteration-{N}.md\n- Assessment: .aiwg\u002Freports\u002Fiteration-{N}-assessment.md\n\n**Next Steps**:\n- Review iteration assessment\n- Plan next iteration\n- Deploy to staging if ready\n\n─────────────────────────────────────────\n```\n\n## Error Handling\n\n**If Backlog Not Ready**:\n```\n❌ Iteration {N} backlog not ready\n\nMissing:\n- {list missing items}\n\nRecommendation: Complete Discovery Track first\nRun: \u002Fflow-discovery-track {N}\n```\n\n**If Tests Fail**:\n```\n⚠️ Test failures detected\n\nFailed tests: {count}\n- {test names}\n\nAction: Fixing test failures before proceeding...\n```\n\n**If Quality Gate Fails**:\n```\n❌ Quality gate failed: {gate-name}\n\nIssue: {specific problem}\nRequired fix: {description}\n\nCannot proceed until gate passes.\nInitiating remediation...\n```\n\n**If Integration Fails**:\n```\n❌ Integration build failed\n\nError: {build error}\nAction: Investigating build failure...\n\nMay need manual intervention.\n```\n\n## Success Criteria\n\nThis orchestration succeeds when:\n- [ ] All planned work items complete\n- [ ] Definition of Done met for all items\n- [ ] All tests passing\n- [ ] Quality gates passed\n- [ ] Code integrated to main\n- [ ] Documentation updated\n- [ ] Iteration assessment generated\n\n## Metrics to Track\n\n**During orchestration, track**:\n- Task completion rate\n- Test coverage percentage\n- Defect discovery rate\n- Gate pass\u002Ffail rate\n- Velocity (story points)\n- Cycle time per task\n\n## References\n\n**Templates** (via $AIWG_ROOT):\n- Iteration Plan: `templates\u002Fmanagement\u002Fiteration-plan-template.md`\n- Work Package: `templates\u002Fmanagement\u002Fwork-package-card.md`\n- Test Plan: `templates\u002Ftest\u002Fiteration-test-plan-template.md`\n- Release Notes: `templates\u002Fdeployment\u002Frelease-notes-template.md`\n- Assessment: `templates\u002Fmanagement\u002Fiteration-assessment-template.md`\n\n**Related Flows**:\n- Discovery Track: `commands\u002Fflow-discovery-track.md`\n- Gate Check: `commands\u002Fflow-gate-check.md`\n- Handoff: `commands\u002Fflow-handoff-checklist.md`\n\n**Quality Standards**:\n- DoD Criteria: `flows\u002Fdefinition-of-done.md`\n- Gate Criteria: `flows\u002Fgate-criteria-by-phase.md`",{"name":5,"namespace":61,"platforms":62,"commandHint":64,"description":7},"aiwg",[63],"all",{"model":39,"category":65,"modelRole":48,"modelTier":66,"allowedTools":67,"argumentHint":68,"orchestration":69},"sdlc-orchestration","standard","Task, Read, Write, Glob, TodoWrite","\u003Citeration-number> [project-directory] [--guidance \"text\"] [--interactive]",true,"main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fsdlc\u002Fskills\u002Fflow-delivery-track",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":81,"prompt":91,"zipAvailable":69},[82,85,88],{"tool":83,"command":84},"npx","npx skills add jmagly\u002Faiwg --skill flow-delivery-track",{"tool":86,"command":87},"bunx","bunx skills add jmagly\u002Faiwg --skill flow-delivery-track",{"tool":89,"command":90},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill flow-delivery-track","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsdlc\u002Fskills\u002Fflow-delivery-track\u002FSKILL.md",[93],{"path":94,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":97,"sourceHtmlUrl":98},"agents\u002Fopenai.yaml","REFERENCE","参考文档",108,"https:\u002F\u002Fgithub.com\u002Fcookeyholder\u002Fusing-ai-skills\u002Fblob\u002Fmain\u002Fscaffold-exercises\u002Fagents\u002Fopenai.yaml",[100,108,113,139,158,163],{"skillNo":101,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":107},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":109,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":107},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":17,"description":116,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":56},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[120,121,122,123,124,46,125,126,127,128,129,130,131,132,133,134,135,136,137,138],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":140,"name":141,"nameZh":17,"description":142,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":56},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[146,147,148,149,150,35,46,151,130,137,132,152,121,153,134,154,155,138,156,157],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":159,"name":115,"nameZh":17,"description":116,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":56},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[120,121,122,136,137,138,131,135,127,124,46,125,126,128,129,130,123,132,133,134],{"skillNo":164,"name":141,"nameZh":17,"description":142,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":56},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[146,147,157,156,150,155,154,134,149,35,46,151,130,148,132,152,121,138,137,153]]