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

Function goal_node

atomic-cli/tests/it/provenance_integration_test.rs:212–227  ·  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

210/// A prov node so the graph is non-trivial (the projection ignores nodes, but a
211/// real graph carries them).
212fn goal_node() -> ProvenanceNode {
213 ProvenanceNode {
214 id: "s-1".into(),
215 kind: ProvenanceNodeKind::Goal,
216 timestamp: 1_735_689_600_000,
217 summary: "Fix the auth bug".into(),
218 detail: None,
219 change_hash: None,
220 tool_name: None,
221 tool_call_id: None,
222 duration_ms: None,
223 classified: false,
224 confidence: None,
225 consolidated_from: Vec::new(),
226 }
227}
228
229/// Recursively collect every file path under `root` (relative), for a
230/// before/after "nothing was written" assertion.

Calls

no outgoing calls

Tested by

no test coverage detected