Context
Phase 1 MVP shipped in #285: Artifact::fields_per_variant + fields_for_variant() Cow-based resolver, yaml_hir typed parser. The building block is in place; nothing consumes it yet across validate / coverage / serve.
Phase 2 scope
Per docs/design/variant-aware-properties.md:
- Load variant configs from
artifacts/variants/*.yaml into the schema/project context.
- Add
--variant <name> flag to relevant commands (validate, coverage, list, query).
- Validate honours per-variant field overlays when checking required-fields / allowed-values per artifact type.
- Coverage scopes counts by active variant where the variant alters delegated chains.
- Serve / docs surface the active variant in the artifact view.
Out of scope (Phase 3+)
- Multi-variant cross-product reports.
- Variant-aware supplier anchors (
when: clause on external-anchor).
Refs: design doc §6 Phase 2, original issue #255.
Context
Phase 1 MVP shipped in #285:
Artifact::fields_per_variant+fields_for_variant()Cow-based resolver, yaml_hir typed parser. The building block is in place; nothing consumes it yet across validate / coverage / serve.Phase 2 scope
Per
docs/design/variant-aware-properties.md:artifacts/variants/*.yamlinto the schema/project context.--variant <name>flag to relevant commands (validate, coverage, list, query).Out of scope (Phase 3+)
when:clause onexternal-anchor).Refs: design doc §6 Phase 2, original issue #255.