You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
specifications/component/v1/spec.md§4 is only this TODO — the section has no normative content at all:
TODO — Define metadata.version semantics: monotonicity requirements, the relationship to the containing item's version, and whether reuse of a version number with different content is an error.
Why it matters
metadata.version is load-bearing in three places already:
blueprint §4.1 — a repo-local reference deploys "the referenced document's own metadata.version", and componentVersion MUST NOT be present, so this field is the only thing naming what gets deployed;
blueprint §3 and listing §3 — ERR_VERSION_MISMATCH pins a blueprint and its listing to each other, but says nothing about the component documents beneath them;
a published component reference does carry componentVersion, so the two forms disagree about who owns the number.
Three rules depend on a field whose semantics are undefined.
The concrete questions
Must it increase? Against what — the previous release of the same slug, or nothing?
May two different documents carry the same version? If yes, ERR_VERSION_MISMATCH compares a number that does not identify content.
Monotonicity is a capability-phase rule — it needs the catalog to know what the previous version was — so it does not tighten offline validation. Stating it is a minor release.
Left open by #13. Issue #9 supplied no answer.
specifications/component/v1/spec.md§4 is only this TODO — the section has no normative content at all:Why it matters
metadata.versionis load-bearing in three places already:metadata.version", andcomponentVersionMUST NOT be present, so this field is the only thing naming what gets deployed;ERR_VERSION_MISMATCHpins a blueprint and its listing to each other, but says nothing about the component documents beneath them;componentVersion, so the two forms disagree about who owns the number.Three rules depend on a field whose semantics are undefined.
The concrete questions
ERR_VERSION_MISMATCHcompares a number that does not identify content.What deciding it costs
Monotonicity is a
capability-phase rule — it needs the catalog to know what the previous version was — so it does not tighten offline validation. Stating it is a minor release.Refs #9