Skip to content

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

docs(storage): state what the import marker version does

Steven Enamakel9657a8932619
diff --git a/crates/openhuman-core/src/storage/import/mod.rs b/crates/openhuman-core/src/storage/import/mod.rs
index 0f7bfefa0c..3b3500ae8d 100644
--- a/crates/openhuman-core/src/storage/import/mod.rs
+++ b/crates/openhuman-core/src/storage/import/mod.rs
@@ -80,8 +80,10 @@ impl From<ImportDoc> for Record {
/// The collection that records finished imports.
pub const MARKER_COLLECTION: &str = "storage_import";
-/// Marker document version; bumped when an importer's output changes in a
-/// way that a finished import should be redone.
+/// Marker document schema version, recorded for diagnostics. An existing
+/// marker of any version counts as a finished import; redoing one after an
+/// importer change needs an explicit re-import policy (the marker is written
+/// with `Precondition::Absent`), which a future bump must introduce.
const MARKER_VERSION: u32 = 1;
/// One legacy store the importer knows how to read.