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