//! `PluginHost` port — delegates compliance computation to loaded Wasm sector plugins.
use crateSectorData;
use crate;
/// Port trait for the Wasm plugin host.
///
/// Implementors load sector-specific Wasm plugins and delegate compliance
/// computation to them. Tests can wire a stub that returns fixed results.
/// The passthrough registry is used when no plugin is loaded for a sector.
///
/// Dispatch is by **catalog key**, not by the `Sector` enum. Plugin manifests
/// are string-keyed and the catalog is the source of sector identity; taking
/// the enum here meant a plugin could only ever be loaded for a sector this
/// build already had a variant for, which is the opposite of what a plugin
/// host is for. Use [`Sector::catalog_key`](crate::domain::sector::Sector::catalog_key)
/// at the call site.