T-XB7F-task-work-step6-briefs-baseline-gated-quality
Status: closed/superseded · Impact: medium · Complexity: small
/sdlc:task-work Step 6 dispatches the implementer sub-agent with the
non-baseline-gated quality command (quality run --config … --line), so the
implementer treats pre-existing drift in files the task never touched (e.g. a
stray rumdl reflow in an unrelated docs/ file) as a gate failure and “fixes”
it — scope creep that has to be reverted out of the PR. Step 7 already runs the
baseline-gated invocation, so the implementer should be briefed with that same
invocation, making pre-existing drift invisible to it and letting only
branch-introduced drift fail its local gate.
task-work Step 6’s implementer sub-agent is briefed with the non-baseline-gated quality command (
quality run --config --line), so it treats pre-existing drift in unrelated files (e.g. a stray rumdl reflow) as a gate failure and “fixes” it — scope creep that has to be reverted. Fix: Step 6’s sub-agent brief should hand the implementer the same baseline-gated invocation Step 7 uses (--diff-against-baseline "$ORIGIN_MAIN_SHA" --baseline-dir <main>/.sdlc/quality-baselines) so pre-existing drift is invisible to the implementer and only branch-introduced drift can fail its local gate.— from T-VE7H-task-work-probe-keys-package-manager-off-project
TBD — receiver to fill before promoting from planning/draft.
Proposed
Section titled “Proposed”TBD — receiver to fill before promoting from planning/draft.
Approach
Section titled “Approach”TBD — receiver to fill before promoting from planning/draft.
Files to touch
Section titled “Files to touch”TBD — receiver to fill before promoting from planning/draft.
Acceptance criteria
Section titled “Acceptance criteria”TBD — receiver to fill before promoting from planning/draft.
Out of scope
Section titled “Out of scope”- none
Dependencies
Section titled “Dependencies”- none
Discovery context
Section titled “Discovery context”Spawned by /sdlc:spawn-task-pr on 2026-06-19 UTC from T-VE7H-task-work-probe-keys-package-manager-off-project in git@github.com:sksizer/dev.git.