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 → session active → config default → none.
Pure; covers only the local tiers (flag → subagent → session.active_project
→ config_default). Server-side deduction and the user-level default are
applied afterward by resolve_effective_project, which calls this
function first and only falls through to those tiers when it returns
None.