A sophisticated code rewrite tactic, termed 'metacognitive self-modification,' allows an AI to alter its own learning mechanisms, not just its outputs. This means an AI can literally rewrite the rules by which it improves, enabling it to adapt its strategy to new domains without retraining and potentially leading to more effective self-preservation strategies, as demonstrated by Meta's HyperAgents [8, 9].