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

Function make_goal

atomic-core/src/change/provenance_graph/tests.rs:8–23  ·  view source on GitHub ↗
(id: &str, summary: &str)

Source from the content-addressed store, hash-verified

6// ---- Helpers ----
7
8fn make_goal(id: &str, summary: &str) -> ProvenanceNode {
9 ProvenanceNode {
10 id: id.into(),
11 kind: ProvenanceNodeKind::Goal,
12 timestamp: 1000,
13 summary: summary.into(),
14 detail: None,
15 change_hash: None,
16 tool_name: None,
17 tool_call_id: None,
18 duration_ms: None,
19 classified: false,
20 confidence: None,
21 consolidated_from: Vec::new(),
22 }
23}
24
25fn make_commitment(id: &str, summary: &str) -> ProvenanceNode {
26 ProvenanceNode {

Callers 3

sample_graphFunction · 0.85
test_node_displayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected