Skip to content

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

refactor(memory): collapse automatic mutation struct literal

Steven Enamakela9f57a697c10
diff --git a/crates/openhuman-core/src/memory/tool_writes.rs b/crates/openhuman-core/src/memory/tool_writes.rs
index d1740b0cbd..006742a3e0 100644
--- a/crates/openhuman-core/src/memory/tool_writes.rs
+++ b/crates/openhuman-core/src/memory/tool_writes.rs
@@ -400,10 +400,7 @@ impl AutomaticMutation {
pub(crate) fn automatic_mutation(config: &Config) -> AutomaticMutation {
let state = owner_state(config);
let generation = state.gate.generation();
- AutomaticMutation {
- state,
- generation,
- }
+ AutomaticMutation { state, generation }
}
/// Holds the owner's mutation barrier through explicit engine erasure.