Expand description
Pack runtime trait and verb registry (ADR-025 step 2).
Packs register verbs into the runtime. The registry routes verb calls to the pack that declares them.
Pack (in khive-types) uses const associated items which are not
object-safe. PackRuntime mirrors that metadata as methods so the
registry can store packs as trait objects. See ADR-025 §PackRuntime.
Lifecycle: build with VerbRegistryBuilder, then call .build() to
get a cheaply-cloneable VerbRegistry. Registration is only possible
through the builder.
Structs§
- VerbDef
- Verb metadata for discovery and documentation.
- Verb
Registry - Immutable registry that dispatches verb calls to registered packs.
- Verb
Registry Builder - Builder for constructing a
VerbRegistry.
Traits§
- Pack
Runtime - Async dispatch trait for packs (ADR-025).