Skip to main content

Module atomic

Module atomic 

Source
Expand description

ADR-099 migration step 2 — parse-time rejection of atomic-inadmissible verbs.

--atomic bulk apply (ADR-099 migration step 4, not yet built) must reject an inadmissible op before any execution. This module exposes that check as a pure function over already-parsed ops so the future --atomic runner can call it without re-deriving the admissible set — the set itself lives in khive_types::pack (shared pack metadata, ADR-099 D3: admissibility is a static per-verb property, “declared per verb as pack metadata”).

Structs§

AtomicRejection
One rejected op inside a would-be --atomic file: its zero-based index in the op list, its tool name, and why it was rejected.

Functions§

check_atomic_admissible
Check every op’s tool name against the ADR-099 v1 admissible verb set.