The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(config): clarify write revision semantics
Steven Enamakel4ae6858685c7
diff --git a/crates/openhuman-core/src/config/schema/load/source/mod.rs b/crates/openhuman-core/src/config/schema/load/source/mod.rsindex 4554fea42f..10bc5aaa8b 100644--- a/crates/openhuman-core/src/config/schema/load/source/mod.rs+++ b/crates/openhuman-core/src/config/schema/load/source/mod.rs@@ -81,8 +81,14 @@ pub(crate) trait ConfigSource: Send + Sync {/// Read the config text, recovering from corruption where the source can.async fn read(&self) -> Result<ConfigRead>;- /// Replace the config text. Returns `Err` only while the previous config is- /// still the live one, so callers may roll back in-memory state on `Err`.+ /// Replace the config text.+ ///+ /// On a document source, this uses the handle's last successfully observed+ /// revision; a handle that has not observed a document (or observed its+ /// absence) is create-only. This is a last-observation rule for the source+ /// handle, not a snapshot lease for every read. Callers saving a loaded+ /// config snapshot use [`Self::write_versioned`] with that snapshot's+ /// captured revision instead.async fn write(&self, toml: &str) -> Result<()>;/// Persist a config snapshot against the revision it was loaded from.