T-K96I-task-work-preflight-full-gate-scan
Status: closed/superseded · Impact: medium · Complexity: small
/sdlc:task-work runs a lint-source fix by targeting a single rule, but a fix
that trades findings in one rule for new control-flow can trip an interacting
rule’s error ceiling — a clash that only surfaces at the final gate (or biome ci), after the implementation is already written. This task gives task-work a
pre-flight signal for that class of rule interaction so the clash is caught
before implementation rather than during it. Originating from
T-FOCX-biome-nononnull-source-fix in
https://github.com/sksizer/markdown-contract.
When a lint-source fix trades findings in one rule for control-flow that trips an interacting rule’s error ceiling (e.g. noNonNullAssertion guards pushing noExcessiveCognitiveComplexity past its ceiling), task-work has no pre-flight signal and the clash only surfaces at the final gate / biome ci. Add a pre-flight step that runs the full quality gate (not just the targeted rule) — or scans co-located error-level rules on the touched files — so the interaction surfaces before implementation rather than during it. —
T-FOCX-biome-nononnull-source-fix
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-07-04 UTC from
T-FOCX-biome-nononnull-source-fix in
https://github.com/sksizer/markdown-contract.