Module council_repository

Module council_repository 

Source
Expand description

Port trait for persisting orchestrator runs and events.

Adapters implement this trait (e.g. [gglib_db::SqliteCouncilRepository]) and inject it into the executor via [crate::domain::council::executor::CouncilConfig]. The executor uses it to:

  • Create a run record at start-up.
  • Update run status on every state transition.
  • Append every emitted event to the event log.
  • Update the serialised graph whenever its state changes.

Traitsยง

CouncilRepositoryPort
Persistence operations for orchestrator runs.