Skip to content

Automatic Pipeline Template Evolution Engine #391

@github-actions

Description

@github-actions

Strategic Improvement

Templates are static and don't learn from success/failure patterns over time. Build a system that analyzes template performance by project type (language, framework, size), identifies high-performing configurations, and generates evolved templates. Success rate should improve automatically as the system learns.

Acceptance Criteria

  • Analyzes last 30 days of pipeline outcomes grouped by (template, project_type)
  • Calculates success rate, avg duration, cost per template+project combo
  • Generates candidate evolved templates by adjusting: iteration counts, stage timeouts, model routing, gate policies
  • Validates candidate templates with A/B test (20% traffic) before promoting
  • Persists evolved templates to ~/.shipwright/evolved-templates/ with performance metadata
  • CLI command to view/adopt evolved templates: shipwright templates evolve --adopt

Context

  • Priority: P2
  • Complexity: full
  • Generated by: Strategic Intelligence Agent
  • Strategy alignment: P2: Intelligence & Learning

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-patrolCreated by autonomous patrol agentsready-to-buildIssue is ready for autonomous pipeline processingstrategicCreated by strategic intelligence agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions