pub fn run_set(
cwd: &Path,
flow: Option<String>,
labels: Vec<String>,
params: Vec<String>,
global: bool,
) -> Result<(), Box<dyn Error>>Expand description
tracevault context set — build a fresh Context from flags, save it.
Omitted dimensions are empty. Clears anything not explicitly provided.
Default scope:
- Linked worktree → writes
worktrees/<key>/context.json. - Primary checkout → writes the global
context.json.
global = true forces the global file from any worktree.