Extend Profiles Safely
Use extends to create variants without copying full profiles.
Base pattern
yaml
schema: "v1.4"
extends: "resolve"
meta:
name: "resolve-enterprise"Rules that matter
- Safety arrays append by default; they do not silently replace parent values.
context_adaptationsmerge bywhenkey.- Use
_removekeys only when intentional and auditable.
Important diagnostics
S006warns when you remove safety-relevant parent constraints.S006errors if merged safety constraints are fewer than parent.S007warns when safety-critical adaptations are missing priority (100expected).
Recommended workflow
- Validate parent.
- Validate child.
- Validate child with
--strict. - Compile and inspect trace output.