# BDD Adapter

Detects Gherkin `.feature` files under conventional feature, BDD, spec, and test
roots.

The source helper mounts:

- `Feature` / `功能` as a source-backed `Requirement`
- `Scenario`, `Scenario Outline`, `场景`, and `场景大纲` as `Scenario`
- `Background` / `背景` steps as inherited acceptance clauses
- `Examples` / `示例` tables as structured scenario properties
- Given/When/Then/And/But and common Chinese equivalents as normalized clauses

BDD sources remain protected design inputs. A parsed scenario is an acceptance
contract, not validation evidence; `VERIFIED_BY` is added only after the
Validation Runner executes current tests and records durable evidence.

When intake is explicitly scoped to one OpenSpec Change, only Feature files
referenced by that Change's documents or delta specs are mounted. Other detected
Feature files remain available in `availableBddSources` without widening the
Change contract.
