stygian_proxy/ports/mod.rs
1//! Hexagonal port traits for stygian-proxy.
2//!
3//! Each submodule under `ports/` exposes a pure trait that captures a
4//! capability boundary between the domain core (`manager`, `types`,
5//! `strategy`) and any number of pluggable implementations living under
6//! `adapters/`. The trait itself is always compiled so the manager plumbing
7//! (field types, builder steps, hot-path integrations) does not depend on
8//! any feature gate; concrete adapters live behind their respective
9//! cargo features so they can be opted into without breaking the rest of
10//! the crate.
11//!
12//! Currently exposed ports:
13//!
14//! - [`coherence::CoherencePort`] — evaluates a [`coherence::CoherenceContext`]
15//! and returns a [`coherence::CoherenceVerdict`]. Used by
16//! `ProxyManager::acquire_proxy_with_coherence` when the
17//! `coherence-validation` cargo feature is enabled.
18
19pub mod coherence;