pub const MAX_ATOMISATION_DEPTH: u32 = 3;Expand description
Compiled-in cap for the recursive atomisation-pass depth. An
atomise_sync_with_retries call site running at depth N may
indirectly invoke another atomise (via the pre_store
auto-atomise hook firing on a freshly-minted atom in a namespace
that opted in, etc.); each such nesting bumps the counter by 1.
Once the counter exceeds this cap the substrate refuses the
atomisation pass with AtomiseError::DepthExceeded and the
stable slug ATOMISATION_DEPTH_EXCEEDED.
Mirrors crate::synthesis::MAX_SYNTHESIS_DEPTH and the
effective_max_reflection_depth ceiling at 3 — bounds recursion
without strangling legitimate two-step curator hand-offs.