pub fn run_update(
cwd: &Path,
flow: Option<String>,
labels: Vec<String>,
params: Vec<String>,
remove_labels: Vec<String>,
remove_params: Vec<String>,
global: bool,
) -> Result<(), Box<dyn Error>>Expand description
tracevault context update — load existing, apply mutations, save.
Default scope:
- Linked worktree → reads/writes
worktrees/<key>/context.json. - Primary checkout → reads/writes the global
context.json.
global = true forces the global file from any worktree.