Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aegis-runtime-mv/blob/main/src/defense/decision.rs # aegis-runtime-mv Native Rust agent runtime: Axum WebSocket/SSE/REST gateway, heartbeat scheduler, dependency-aware task workflow, SQLite storage. Attachment of AienOS. Pre-alpha. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aegis-runtime-mv / src / defense / decision.rs` 22 lines ยท 534 bytes Raw Blame History 1 use serde::{Deserialize, Serialize}; 2 3 #[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)] 4 #[serde(rename_all = "snake_case")] 5 pub enum ContainmentLevel { 6 Observe, 7 Restrict, 8 IsolateProcess, 9 IsolateWorkspace, 10 SuspendAgent, 11 EmergencyStop, 12 } 13 14 #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 15 #[serde(tag = "status", content = "details")] 16 pub enum DoctrineDecision { 17 Allow, 18 AllowRestricted(Vec), 19 RequireApproval, 20 Deny(String), 21 Contain(ContainmentLevel), 22 }