diff --git a/guards/github-guard/rust-guard/src/labels/helpers.rs b/guards/github-guard/rust-guard/src/labels/helpers.rs index 2ec0c61e..3cb25097 100644 --- a/guards/github-guard/rust-guard/src/labels/helpers.rs +++ b/guards/github-guard/rust-guard/src/labels/helpers.rs @@ -1269,8 +1269,7 @@ pub fn collaborator_permission_floor( match normalized.as_str() { "admin" | "maintain" | "write" => writer_integrity(scope, ctx), "triage" | "read" => reader_integrity(scope, ctx), - "none" => vec![], - _ => vec![], + _ => vec![], // "none" or any unrecognised value → no integrity } } diff --git a/guards/github-guard/rust-guard/src/labels/mod.rs b/guards/github-guard/rust-guard/src/labels/mod.rs index 88d38cc7..efd10c42 100644 --- a/guards/github-guard/rust-guard/src/labels/mod.rs +++ b/guards/github-guard/rust-guard/src/labels/mod.rs @@ -34,10 +34,6 @@ mod response_items; mod response_paths; pub mod tool_rules; -// Re-export commonly used items for backward compatibility -#[allow(unused_imports)] -pub use constants::MEDIUM_BUFFER_SIZE; - // Re-export helpers - these are part of the public API and used by tests // The unused_imports warning is suppressed because these are intentionally // re-exported for external modules and tests, not used within mod.rs itself