Skip to main content

Module shard_context

Module shard_context 

Source
Expand description

Optional shard-mode context attached to crate::enhanced_orchestrator::EnhancedOrchestrator.

When a group engine (crate datasynth-group) drives per-entity generation, it pre-builds any IC journal entries via datasynth_group::shard::ic_je_injector::inject_ic_journal_entries and installs them here. The orchestrator appends them to its JE accumulator at the end of the journal-entry phase — no knowledge of IC pair plans or group-crate types leaks into this crate.

§Architecture note — deviation from the v5.0 plan

The plan originally placed the IC injector in datasynth-generators. We host it in datasynth-group instead: IcPairPlan lives there, and datasynth-generators deliberately does not depend on datasynth-group. Keeping the generator-facing surface here opaque (a pre-built Vec<JournalEntry>) preserves layer direction: datasynth-group depends on datasynth-runtime, not the other way around.

Structs§

ShardContext
Context for shard-mode generation.