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

Function goal_node

atomic-cli/tests/provenance_integration_test.rs:56–71  ·  view source on GitHub ↗

A prov node so the graph is non-trivial (the projection ignores nodes, but a real graph carries them).

()

Source from the content-addressed store, hash-verified

54/// A prov node so the graph is non-trivial (the projection ignores nodes, but a
55/// real graph carries them).
56fn goal_node() -> ProvenanceNode {
57 ProvenanceNode {
58 id: "s-1".into(),
59 kind: ProvenanceNodeKind::Goal,
60 timestamp: 1_735_689_600_000,
61 summary: "Fix the auth bug".into(),
62 detail: None,
63 change_hash: None,
64 tool_name: None,
65 tool_call_id: None,
66 duration_ms: None,
67 classified: false,
68 confidence: None,
69 consolidated_from: Vec::new(),
70 }
71}
72
73/// Recursively collect every file path under `root` (relative), for a
74/// before/after "nothing was written" assertion.

Calls

no outgoing calls

Tested by

no test coverage detected