name: ‘step-02-discover-tests’ description: ‘Discover and catalog tests by level’ nextStepFile: ‘{skill-root}/steps-c/step-03-map-criteria.md’
Identify tests relevant to the resolved coverage oracle and classify by test level.
{communication_language}CRITICAL: Follow this sequence exactly. Do not skip, reorder, or improvise.
Search {test_dir} for:
1.3-E2E-001)*.spec.*, *.test.*)When the oracle is synthetic (synthetic_requirements or user_journeys), also search for:
Classify as:
Record test IDs, describe blocks, priority markers, and the per-test identity fields needed for machine-readable output:
id, title, file, line, levelskipped, pending, fixmeCapture explicit coverage signals so Phase 1 can detect common blind spots:
Error-path coverage
UI journey coverage (when tracing UI/source-derived oracle items)
UI state coverage
Record these findings in step output as coverage_heuristics for Step ¾.
Save this step’s accumulated work to {outputFile}.
{outputFile} does not exist (first save), create it using the workflow template (if available) with YAML frontmatter: ---
stepsCompleted: ['step-02-discover-tests']
lastStep: 'step-02-discover-tests'
lastSaved: '{date}'
---
Then write this step’s output below the frontmatter.
{outputFile} already exists, update:
'step-02-discover-tests' to stepsCompleted array (only if not already present)lastStep: 'step-02-discover-tests'lastSaved: '{date}'Load next step: {nextStepFile}