| 24 | |
| 25 | |
| 26 | class EvolutionType(str, Enum): |
| 27 | FIX = "fix" # Repair broken / outdated skill instructions |
| 28 | DERIVED = "derived" # Enhance / specialize an existing skill |
| 29 | CAPTURED = "captured" # Capture a novel reusable pattern |
| 30 | |
| 31 | def to_origin(self) -> "SkillOrigin": |
| 32 | """Convert this evolution action to the corresponding SkillOrigin.""" |
| 33 | return _EVOLUTION_TO_ORIGIN[self] |
| 34 | |
| 35 | |
| 36 | class SkillOrigin(str, Enum): |
no outgoing calls
no test coverage detected