pub fn effective_project(
inputs: &ProjectResolveInputs<'_>,
) -> Option<(ProjectBinding, ProjectSource)>Expand description
The project that applies, and which tier produced it: --project flag →
subagent worktree override → TRACEVAULT_PROJECT → session active →
config default → none.
Pure; covers only the local tiers (flag → subagent → env_project →
session.active_project → config_default). env_project is supplied BY THE
CALLER — this module never reads the environment — and the capture path
fills it from commands::stream::env_project_binding, which honours the
UUID form only. The user-level default (and, in the display chain only,
server-side deduction) are applied afterward by capture_project_binding
/ resolve_effective_project, which call this function first and only
fall through to those tiers when it returns None.