MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / unattested_node

Function unattested_node

atomic-cli/src/commands/memory/validate.rs:130–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128 use serde_json::{Map, Value};
129
130 fn unattested_node() -> atomic_canonical::MemoryNode {
131 let fm: Map<String, Value> = serde_json::json!({
132 "uid": "01j8zc4r8t",
133 "memoryKind": "constraint",
134 "status": "active",
135 "createdAt": "2026-07-01T00:00:00+00:00",
136 })
137 .as_object()
138 .unwrap()
139 .clone();
140 lift_memory(&fm, ":::memory\nThe durable fact.\n:::").unwrap()
141 }
142
143 #[test]
144 fn test_unattested_reports_exactly_two_fillable_violations() {

Calls 3

lift_memoryFunction · 0.85
cloneMethod · 0.45
unwrapMethod · 0.45