(
id: &str,
kind: ProvenanceNodeKind,
summary: &str,
detail: Option<&str>,
)
| 483 | }; |
| 484 | |
| 485 | fn make_node( |
| 486 | id: &str, |
| 487 | kind: ProvenanceNodeKind, |
| 488 | summary: &str, |
| 489 | detail: Option<&str>, |
| 490 | ) -> ProvenanceNode { |
| 491 | ProvenanceNode { |
| 492 | id: id.to_string(), |
| 493 | kind, |
| 494 | timestamp: 1_700_000_000_000, |
| 495 | summary: summary.to_string(), |
| 496 | detail: detail.map(|s| s.to_string()), |
| 497 | change_hash: None, |
| 498 | tool_name: None, |
| 499 | tool_call_id: None, |
| 500 | duration_ms: None, |
| 501 | classified: false, |
| 502 | confidence: None, |
| 503 | consolidated_from: Vec::new(), |
| 504 | } |
| 505 | } |
| 506 | |
| 507 | fn sherpa_graph() -> ProvenanceGraph { |
| 508 | let goal_detail = serde_json::json!({ |
nothing calls this directly
no outgoing calls
no test coverage detected