()
| 254 | /// Build the optional natural-language guidance embedded in L7 deny bodies. |
| 255 | #[must_use] |
| 256 | pub fn agent_guidance() -> Option<&'static str> { |
| 257 | openshell_core::proposals::agent_proposals_enabled().then_some(AGENT_GUIDANCE) |
| 258 | } |
| 259 | |
| 260 | async fn current_policy_response(ctx: &PolicyLocalContext) -> (u16, serde_json::Value) { |
| 261 | let Some(policy) = ctx.current_policy.read().await.clone() else { |