# POST-WP2-001B — Candidate Semantics

Implemented alignment with DM001 v0.6:

- `preferredEntityTypeUri` is now the controlled domain value `CONCEPT` for the current scope.
- `targetVocabularyUri` is explicit in `ReconciliationCommand` and is no longer derived from the preferred entity type.
- `DiscoveredCandidate` carries the actual candidate entity type and candidate provider URI.
- `CandidateItem.sourceSystemUri` was renamed to `CandidateItem.candidateProviderUri`.
- Persistence column `source_system_uri` is renamed by migration `0002_candidate_semantics.sql`.
- The legacy discovery adapter uses the target vocabulary for lookup and supplies `CONCEPT` plus the configured reconciliation-service URI for discovered candidates.
- Application and migration regression tests were extended.

Before running reconciliation against an existing database, execute:

```bash
php tools/migrate.php
```
