T-QMZ8-task-define-cross-checks-pytest-layout
Status: closed/obsoleted · Impact: medium · Complexity: small
/sdlc:task-define proposes Files-to-touch entries (including new
test files) but does not validate them against the project’s pytest
layout. As a result, a task spec can specify a test path that the
project’s pytest configuration won’t pick up.
From the originating task’s post-mortem:
“T0011 specified tests/lib/model/test_entity.py but the project convention (pytest.ini pythonpath = plugin/lib + plugin/lib/
/tests/ layout) is incompatible. task-define should read pytest.ini’s pythonpath and prefer <lib_root>/ /tests/test_*.py for new tests under existing libraries.”
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-05-31 UTC from T-0011 in git@github.com:sksizer/dev.git.