base
diapason.learning.spec_search.execute.base
¶
EditApplier ABC, registry, and context types for the execute phase.
Each concrete applier implements validate/apply/rollback for a single EditOp. Appliers are registered in an EditApplierRegistry keyed by EditOp.
See spec §7.1.
ApplyContext
dataclass
¶
Shared context passed to all appliers.
ApplyResult
dataclass
¶
Result of EditApplier.apply().
EditApplier
¶
Bases: ABC
Abstract base for edit appliers.
Each subclass handles one EditOp. It validates the edit against the current config state, applies the mutation, and can roll back.
EditApplierRegistry
¶
ValidationResult
dataclass
¶
Result of EditApplier.validate().