pub fn capture_project_binding(
inputs: &CaptureProjectInputs<'_>,
) -> Option<(ProjectBinding, ProjectSource)>Expand description
THE capture-time project chain: --project flag → subagent worktree
override → TRACEVAULT_PROJECT → session active_project → workspace
.tracevault/config.toml project_id → user default → none. Pure, no network. commands::stream::capture_project (ingest) and
commands::project::status both call this, so they cannot drift.