pub fn apply(
algo: &ActivationScriptAlgorithm,
args: &ActivationArgs,
) -> Result<ActivationOutcome, SpecError>Expand description
Apply the activation algorithm. M3.0 implementation: walks the authored phase pipeline, dispatching each phase to a small text- generation routine. No actual filesystem writes — output is the activation script TEXT, ready to be written to a derivation. (M3.1 + sui-build will materialise the derivation.)
§Errors
SpecError::Interp { phase: "<phase-name>" }for any phase that needs the M3.1 derivation-build bridge (today: onlyWriteActivationDerivationandAttestClosureToChain).