compositions/<name>/
composition.yaml metadata.name and spec.type MUST both equal <name>
schema.yaml the component contract
README.md what it does and why it decides what it decides
jobs/<name>-*.yaml every possible step, capability-tagged
profiles/<name>-*.yaml which capabilities each lane runs
scripts/verify.sh enforces the naming rule and the presence of
schema.yaml and jobs/.
- Default to the safe profile.
defaultProfilemust be the lane that cannot authenticate or mutate. - Credentialed steps get their own capability. Never guard a mutating step
with an
ifinside the template — a profile must be able to exclude it structurally. - Pin exact tool versions. A range in
terraformVersionorhelmVersionmakes a green lane unreproducible tomorrow. - Declare every parameter in
schema.yaml. Plan-time validation is what turns a typo into a failed plan rather than a failed deploy. - Stdlib templating only. See
concepts.md§ Templating. No sprig; no nested Go templates. - Fail loud on a missing input.
helm-releaseexits non-zero whenIMAGE_REFis unset rather than deploying a placeholder tag.
turbo-package and publish-stack are ported byte-identical from
stack-tectonic, which remains
their upstream.
Two catalogs with a shared shape will drift — a fix lands in one and not the other. Keeping these two byte-identical means divergence has to be a deliberate edit rather than an accident, and a diff against tectonic is a meaningful check.
If one of them genuinely needs to differ here, record why in this file at the same time.
- Edit the composition.
- Bump
metadata.versioninstack.yaml(semver: a changed contract is at least a minor). ./scripts/verify.sh.- Merge, then push a
v<version>tag. - Bump the pin in each consuming repo's
intent.yaml. That bump is the upgrade — consuming repos never float.