pub fn create_trajectory(
path: &Path,
target_findings: Vec<String>,
deposited_by: &str,
notes: &str,
reason: &str,
) -> Result<StateCommandReport, String>Expand description
v0.50: Open a new Trajectory and emit a trajectory.created
canonical event. Returns the new vtr_* id in the report’s
finding_id field (the StateCommandReport schema reuses that
field for the primary mutated object id).
Steps are appended via append_trajectory_step rather than
supplied at creation — that keeps the search visible to readers as
it unfolds rather than only after the fact.