Public declaration syntax from forge-rs/crates/forge-tool/src/tiers.rs Original source SHA-256: 370f7dec0bd5265ae0c27532ee29a14831588ea4655ab36562ddc9be9c078bdc Function bodies and constant values are omitted. This is not the complete implementation. Source line 51 #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)] pub enum ExecutionContext { /// The tool executes inside the WASM sandbox. /// /// Applies to Platform (Tier 1) and Embedded (Tier 3) tools. These tools /// cannot access external resources without going through host functions. InSandbox, /// The tool executes outside the WASM sandbox via host functions. /// /// Applies to Host (Tier 2) tools. These tools have access to external /// resources and MUST be authorized via Arsenal ACTs. OutOfSandbox, } Source line 92 #[derive(Debug, Clone, PartialEq, Eq)] pub struct TierClassification { /// The name of the tool that was classified. pub tool_name: String, /// The tool's tier classification. pub tier: ToolTier, /// Whether this tool requires Arsenal ACT authorization before execution. /// /// Only `true` for Host (Tier 2) tools. pub requires_authorization: bool, /// The execution context (sandbox or host) for this tool. pub execution_context: ExecutionContext } Source line 156 pub fn classify_tier(tool_name: &str, tier: ToolTier) -> TierClassification; Source line 202 pub fn requires_authorization(tier: ToolTier) -> bool; Source line 226 pub fn execution_context_for(tier: ToolTier) -> ExecutionContext;