diff --git a/.github/computer-mcp-host.sha b/.github/computer-mcp-host.sha index 7bb883c..1a0e196 100644 --- a/.github/computer-mcp-host.sha +++ b/.github/computer-mcp-host.sha @@ -1 +1 @@ -941999d411e2a0f1626cc124a3679748804ce2f2 +dec7150f3dc94411c290309e6f26e59d95da248d diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 97c616f..c9d4de7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,8 +16,9 @@ jobs: permissions: contents: write actions: read - uses: computer-mcp/github-workflows/.github/workflows/plugin-release.yml@d1235cc8d2d86df99770c30b5a0b64469085e931 + uses: computer-mcp/github-workflows/.github/workflows/plugin-release.yml@46a24bd92aed806eeea4aa870e7e402cad956204 with: + require_immutable_release: false ref: ${{ inputs.ref }} publish: ${{ inputs.publish }} build: scripts/build-package.sh diff --git a/VERSIONING.md b/VERSIONING.md new file mode 100644 index 0000000..892221f --- /dev/null +++ b/VERSIONING.md @@ -0,0 +1,8 @@ +# Versioning + +This plugin adopts the organization's +[versioning policy](https://github.com/computer-mcp/.github/blob/master/VERSIONING.md) +with one exception. Maintainers may replace the attachments of a published +GitHub Release while keeping its signed tag on the original source commit. +Replace the checksums and release receipt with the records for the replacement +archive. The receipt must identify the CI artifacts that produced those bytes. diff --git a/docs/Reference/Release.md b/docs/Reference/Release.md index 6684f00..0e533ca 100644 --- a/docs/Reference/Release.md +++ b/docs/Reference/Release.md @@ -60,8 +60,10 @@ ID, version and SHA-256. ## Candidate, Acceptance and Publication -Publication depends on the repository's GitHub release immutability setting. -The shared workflow checks that setting before writing a Release. +The release workflow verifies the package against the tagged source and accepted +CI artifact. After the workflow finishes, maintainers can replace release +attachments under this repository's [versioning policy](https://github.com/computer-mcp/plugin-computer-use/blob/master/VERSIONING.md). +Consumers that pin an archive digest must approve the replacement digest. ### Publish @@ -87,8 +89,7 @@ The shared workflow checks that setting before writing a Release. 5. Dispatch `release.yml` with `ref` set to that version tag and `publish` set to `true`. The workflow verifies the tag, manifest, CI source and archive bytes, completes the draft's assets and publishes the verified release. - Confirm the public release is immutable and its archive digest matches the - accepted archive. + Confirm that the published archive digest matches the accepted archive. The public assets are `computer-use.zip`, the shared `release-receipt.json` and `SHA256SUMS`. CI's `package-receipt.json` remains builder evidence in the CI