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

Function memory_inputs

atomic-cli/src/commands/memory/bridge.rs:350–364  ·  view source on GitHub ↗

A minimal, liftable memory spine (uid + kind + stable createdAt).

()

Source from the content-addressed store, hash-verified

348
349 /// A minimal, liftable memory spine (uid + kind + stable createdAt).
350 fn memory_inputs() -> MemLiftInputs {
351 let frontmatter = serde_json::json!({
352 "uid": "01j8zc4r8t",
353 "memoryKind": "constraint",
354 "status": "active",
355 "createdAt": "2026-07-01T00:00:00+00:00",
356 })
357 .as_object()
358 .unwrap()
359 .clone();
360 MemLiftInputs {
361 frontmatter,
362 body: ":::memory\nThe durable fact.\n:::".to_string(),
363 }
364 }
365
366 #[test]
367 fn freeform_memory_detection_does_not_hide_partial_canonical_records() {

Callers 1

repo_with_memoryFunction · 0.85

Calls 2

cloneMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected