Skip to content

resil-clone-mutate

Domain: resil · Model class: cheap

Use when workflow quality degrades over time or a specific node produces worse outputs than it used to, and the user wants automatic recovery without manual prompt tweaking. Triggers: “self-healing prompt”, “auto-fix broken agent”, “evolve the prompt when it fails”, “immune system for workflows”, “clonal selection”, “mutate and compete”, “adaptive prompt improvement”, workflow “used to work but now it doesn’t” and user wants automated recovery.

Monitor per-node rolling quality. When consecutive_failures runs fall below quality_threshold, clone N times with mutation strategies, run tournament, promote winner if beats original by promote_threshold.

  • “self-healing prompt”
  • “auto-fix broken agent”
  • “evolve the prompt when it fails”
  • “immune system for workflows”
  • “clonal selection”
  • “mutate and compete”
  • “adaptive prompt improvement”
  • “used to work but now it doesn’t”
  • the user wants a one-off improvement without ongoing adaptation or structural change
  1. Which node is degrading and how is quality measured?
  2. What consecutive failure threshold should trigger mutation?
  3. Which mutation types are allowed in production?
  4. How should mutated winners be promoted and audited?
  • failure mode analysis
  • recovery strategy
  • operational checks
  • validation notes

flow-orchestrator · orch-agent-orchestrator · prompt-chaining