Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-CORE-075

Plugin manifest versions equal the package version

When a release version is set, the version script SHALL write the same version to package.json, package-lock.json, every plugin manifest and the plugin entry of the GitHub Copilot marketplace catalog in one commit with no Signed-off-by trailer, and the repository check SHALL fail when any of these versions differs from package.json.

Step 1 of path 1 in StRS-MDOKFSTUDIO-CORE-007: from “A maintainer sets a release version” to “The version commit has a green heavy run”.

Scenarios 2

The situations the tests check; open one to read it.

nominalThe version commit updates every manifest
Givena repository whose `package.json`, `package-lock.json`, `plugin.json`, `.claude-plugin/plugin.json` and the plugin entry of `.github/plugin/marketplace.json` hold the same version and have no uncommitted edit
When`scripts/version.py` sets or computes the next version
Thenthe five files hold the new version with LF line endings, on Windows too, and one commit `chore: version X.Y.Z` with no `Signed-off-by` trailer contains exactly those five files, without a tag
boundaryDrift and dirty manifests
InputOutcome
a plugin manifest `version` or the Copilot catalog plugin entry `version` differs from `package.json`the repository check fails
a marketplace plugin entry pins a version other than the package versionthe repository check fails
a plugin manifest or the Copilot catalog has uncommitted edits when the version is setthe script refuses and changes nothing

Implemented in 1

Tested by 2