T-0PQK-task-auto-define-test-no-network
Status: closed/superseded · Impact: medium · Complexity: small
The project quality gate’s bun test includes a network-dependent test — task-auto-define
shells out to git fetch — that cannot pass in a no-network sandbox, so sdlc quality run
never reports a headline OK in offline environments. Baseline-gating absorbs the failure (the
drift is pre-existing), but the top-line status is misleading: a genuine OK and a
network-blocked failure look the same to an operator. The fix is to make the
task-auto-define test network-independent — mock or stub the git fetch shell-out — so the
quality gate’s bun test passes offline and the headline status is trustworthy.
The project quality gate’s
bun testincludes a network-dependent test (task-auto-defineshellinggit fetch) that cannot pass in a no-network sandbox, soquality runnever reports a headline OK here; baseline-gating absorbs it but the top-line status is misleading.
— T-UUMK-port-dashboard-four-source-view post-mortem
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”TBD — receiver to fill before promoting from planning/draft.
Dependencies
Section titled “Dependencies”TBD — receiver to fill before promoting from planning/draft.
Discovery context
Section titled “Discovery context”Spawned by /sdlc:spawn-from-post-mortem on 2026-06-28 (UTC) from
T-UUMK-port-dashboard-four-source-view in git@github.com:sksizer/dev.git.
Classification: Upstream-plugin (sdlc) — the fix lands in the plugin’s task-auto-define
test. Degenerate case (this checkout IS the plugin dev repo) plus no-network sandbox:
landed as a local task file carrying the sdlc-meta tag on the originating feature branch
rather than its own PR.
Dedup search (spawn-from-post-mortem): SPAWNED. Top candidate T-CF7M-autonomy-gated-best-effort-auto-define (score 13, closed/done) is the feature that shipped task-auto-define, not its offline-test concern — no existing task covers it.