name: ‘step-01-load-context’ description: ‘Resolve coverage oracle, load knowledge base, and gather related artifacts’ nextStepFile: ‘{skill-root}/steps-c/step-02-discover-tests.md’ knowledgeIndex: ‘./resources/tea-index.csv’
Resolve the best available coverage oracle, capture confidence and provenance, and gather supporting artifacts for traceability.
{communication_language}CRITICAL: Follow this sequence exactly. Do not skip, reorder, or improvise.
At least one of the following must be usable:
Tests exist OR gaps are explicitly acknowledged.
Resolve the oracle in this order:
Formal requirements first
Contract/spec artifacts second
External pointers third
externalPointerStatus as one of: not_used, resolved, skipped, or unavailableSynthetic oracle last
allow_synthetic_oracle is enabled, inspect {source_dir} to infer a provisional trace targetJ-01, J-02, etc.test-priorities-matrix.md
P0: auth, checkout/payment, destructive data changes, revenue-critical, hard blockers to core useP1: primary user journeys and common CRUD pathsP2: secondary workflows and edge scenariosP3: low-risk polish or optional flowsRecord the resolved oracle metadata in step output/frontmatter using consistent keys:
coverageBasis (acceptance_criteria | synthetic_requirements | openapi_endpoints | user_journeys) — the type of oracle selected for coverage tracingoracleResolutionMode (formal_requirements | spec_artifact | external_pointer | synthetic_source) — how the oracle was discovered/resolvedoracleConfidence (high | medium | low) — confidence in the resolved oracle as a coverage sourceoracleSources — list of artifact paths, URIs, or references used to resolve the oracleexternalPointerStatus (not_used | resolved | skipped | unavailable) — status of external pointer resolution when pointer files are presentIf none of the four oracle types can be resolved, HALT and request the smallest missing clarification needed to continue.
From {knowledgeIndex} load:
test-priorities-matrix.mdrisk-governance.mdprobability-impact.mdtest-quality.mdselective-testing.mdIf available:
Summarize what was found and explicitly state the resolved oracle, its confidence, and why that oracle was selected.
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-01-load-context']
lastStep: 'step-01-load-context'
lastSaved: '{date}'
coverageBasis: '{resolved coverage_basis}'
oracleConfidence: '{resolved oracle_confidence}'
oracleResolutionMode: '{resolved oracle_resolution_mode}'
oracleSources: ['{resolved oracle source 1}', '{resolved oracle source 2}']
externalPointerStatus: '{resolved external_pointer_status}'
---
Then write this step’s output below the frontmatter.
{outputFile} already exists, update:
'step-01-load-context' to stepsCompleted array (only if not already present)lastStep: 'step-01-load-context'lastSaved: '{date}'coverageBasis to the resolved oracle basisoracleConfidence to the resolved oracle confidenceoracleResolutionMode to the resolved oracle resolution modeoracleSources to the resolved oracle sourcesexternalPointerStatus to the resolved external pointer statusLoad next step: {nextStepFile}