feat(core): per-module key-value data synced as PutModuleData (schema v9)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-26 16:08:33 +01:00
1 parent 6c11d851f2
commit c9ebb4fd30
8 files changed
+252 -4

No files matched your search

+10
View File
@@ -1174,6 +1174,16 @@ impl Graph {
true
}
}
Op::PutModuleData { module, key, value } => {
crate::module_data::check_remote(module, key, value.as_deref())
&& self
.module_data_hlc(module, key)?
.is_none_or(|l| hlc > l.as_str())
&& {
self.write_module_data_row(module, key, value.as_deref(), hlc)?;
true
}
}
};
if applied {
self.log(hlc, op)?;