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

Function node

atomic-canonical/src/node.rs:416–441  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

414 }
415
416 fn node() -> CanonicalNode {
417 CanonicalNode {
418 context: CONTEXT_URL.to_string(),
419 type_: "Intent".to_string(),
420 id: "urn:atomic:intent:sub-1".to_string(),
421 human_key: "SUB-1".to_string(),
422 title: "Substance hash fixture".to_string(),
423 status: "todo".to_string(),
424 kind: default_kind(),
425 priority: None,
426 view: None,
427 motivated_by: None,
428 informed_by: Vec::new(),
429 has_acceptance_criterion: vec![ac("urn:atomic:ac:sub-1-ac-1", "a checkable outcome")],
430 has_task: Vec::new(),
431 has_scope_in: Vec::new(),
432 has_scope_out: Vec::new(),
433 has_constraint: Vec::new(),
434 depends_on: Vec::new(),
435 why: Some("a reason".to_string()),
436 content_hash: None,
437 attributed_to: None,
438 created_at: "2026-06-25T00:00:00Z".to_string(),
439 proof: None,
440 }
441 }
442
443 #[test]
444 fn substance_hash_ignores_review_state() {

Calls 1

default_kindFunction · 0.85