Skip to content

B-YNEX-quality-baseline-dir-resolves-against-cwd

Status: promoted/task

task-work Step 7 runs sdlc quality run --diff-against-baseline from inside a worktree, but —baseline-dir defaults to cwd, so it looks in /.sdlc/quality-baselines and errors ‘baseline not found’ (exit 1) — the baseline was captured in the main checkout’s .sdlc/. Resolve the baseline dir against git-common-dir’s parent (the same mainCheckout that commit-to-main computes), so Step 7 works from a worktree without an explicit —baseline-dir. Surfaced across T-ML6A/T-Z698/T-TVC6/T-KDZ9 task-work runs 2026-07-18.

2026-08-01 corpus audit: pre-existing open/ready task T-OLTA-task-work-step7-worktree-baseline-dir already tracks exactly this fix; recorded as the tracking artifact via result.


← Back to Backlog