Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(security): define CommandClass locally instead of re-exporting

Steven Enamakel5b4a46c5941f
diff --git a/crates/openhuman-core/src/security/policy/types.rs b/crates/openhuman-core/src/security/policy/types.rs
index f658e5e721..954130fd36 100644
--- a/crates/openhuman-core/src/security/policy/types.rs
+++ b/crates/openhuman-core/src/security/policy/types.rs
@@ -71,10 +71,16 @@ pub enum CommandRiskLevel {
High,
}
-/// Coarse permission bucket the harness approval gate keys on. Defined with the
-/// classifier in `tinybox_core::shell::classify`; re-exported here so host
-/// callers keep their path.
-pub use tinybox_core::shell::classify::CommandClass;
+/// Coarse permission bucket the harness approval gate keys on. TinyBox
+/// supplies parser facts; OpenHuman owns this authorization category.
+#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
+pub enum CommandClass {
+ Read,
+ Write,
+ Network,
+ Install,
+ Destructive,
+}
/// What the harness should do with an acting tool call of a given
/// [`CommandClass`] under the session's [`AutonomyLevel`]. Computed by