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

Function unattested_node

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

Source from the content-addressed store, hash-verified

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

Calls 3

lift_memoryFunction · 0.85
cloneMethod · 0.45
unwrapMethod · 0.45