pub trait ExecutionGate {
// Required methods
fn check(&self, action: GatedAction) -> SisterResult<GateDecision>;
fn has_capability(&self, capability: &str) -> bool;
fn risk_threshold(&self) -> RiskLevel;
}Expand description
The Execution Gate trait (placeholder).
Hydra implements this, NOT sisters. Sisters submit actions to the gate; Hydra decides whether to approve.
Required Methods§
Sourcefn check(&self, action: GatedAction) -> SisterResult<GateDecision>
fn check(&self, action: GatedAction) -> SisterResult<GateDecision>
Submit an action for approval
Sourcefn has_capability(&self, capability: &str) -> bool
fn has_capability(&self, capability: &str) -> bool
Quick check if a capability is available
Sourcefn risk_threshold(&self) -> RiskLevel
fn risk_threshold(&self) -> RiskLevel
Get current risk threshold