rfc/examples/v1/README.md

25 lines
1.5 KiB
Markdown

# Layer v1 examples and composition review fixture
Layer syntax is frozen by D-070; see the [schema](../../schemas/README.md).
These are illustrative package sets, not working or fully approved build profiles.
The current prototype does not yet implement this manifest API. JSON and the strict
YAML subset represent the same source model. Composition syntax remains a review fixture.
- `core.layer.yaml`, `gnome.layer.yaml`, `kde.layer.yaml`: complete examples of
the frozen Layer syntax; desktop contents and referenced adapters remain illustrative.
- `core.layer.json`: Core package requirements and a minimal runtime check.
- `gnome.layer.json`: role/variant, target service, native provisioner and functional
check declaration. Package list is deliberately incomplete; no functioning GNOME
image or implementation of the referenced adapters is implied.
- `marker.layer.json` plus `files/test-marker`: layer-authored payload.
- `core.composition.json`: Core-only selection and explicit overlay ordering.
Profile and adapter names are logical proposed IDs, resolved to exact digests in
locks. A bare logical profile name is not enough to execute a build. Discovery refs
must resolve to a single matching snapshot before a CompositionLock is emitted.
Required lock fields and artifact layout are specified in RFC-0008. Exact generated
lock fixtures and canonicalization vectors are an approval/implementation
gate, not invented hashes in an apparently executable example. Older sibling YAML
examples remain historical illustrations and are not silently migrated.