Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/computer-mcp-host.sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
941999d411e2a0f1626cc124a3679748804ce2f2
dec7150f3dc94411c290309e6f26e59d95da248d
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
inputs:
source_run:
description: Accepted successful CI run ID (frozen receipt takes precedence on recovery)
description: Accepted successful CI run ID
type: string
required: true
release_tag:
Expand All @@ -15,6 +15,9 @@ on:
type: boolean
default: false
permissions: {}
concurrency:
group: plugin-release-${{ inputs.release_tag || github.run_id }}
queue: max
jobs:
verify:
if: github.repository == 'computer-mcp/plugin-codex' && github.ref == 'refs/heads/master'
Expand All @@ -28,6 +31,7 @@ jobs:
asset_digests: ${{ steps.bundle.outputs.asset_digests }}
helper_digest: ${{ steps.bundle.outputs.helper_digest }}
tag: ${{ steps.bundle.outputs.tag }}
public_release: ${{ steps.bundle.outputs.public_release }}
steps:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with:
Expand Down Expand Up @@ -71,7 +75,7 @@ jobs:
if-no-files-found: error
retention-days: 14
publish:
if: inputs.publish
if: inputs.publish && needs.verify.outputs.public_release == 'false'
needs: verify
runs-on: ubuntu-24.04
timeout-minutes: 10
Expand Down
54 changes: 27 additions & 27 deletions Documentation/Reference/Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Candidate runtime acceptance and Release notes require an operator.
Version rules are in this repository's
[VERSIONING.md](https://github.com/computer-mcp/plugin-codex/blob/master/VERSIONING.md),
which adopts the organization's rules and records the native artifact promotion
exception. This reference records release facts, procedures and checks.
and editable-asset exceptions. This reference records release facts, procedures and checks.

## Components and Version Sources

Expand Down Expand Up @@ -212,7 +212,7 @@ python3 -m unittest discover -s Tests -p 'test_host_acceptance.py' -v

The dry run checks the source manifest, positive integer `plugin_api`,
declared archive set, CI attempt and artifact digests, native inventories,
byte-identical manifests and repository release immutability. It omits tag
and byte-identical manifests. It omits tag
and signature checks and reads no catalog secret. Inspect the `assets/`
directory in the `plugin-release-<run-id>-<attempt>` Actions artifact.
3. Accept those exact archive bytes through the runtime checks above and record
Expand All @@ -227,8 +227,7 @@ python3 -m unittest discover -s Tests -p 'test_host_acceptance.py' -v
```

Verification checks GitHub's tag signature result, the tag's commit and the
manifest version, and refuses if repository release immutability is disabled
or cannot be verified. The verification job has only `contents: read` and
manifest version. The verification job has only `contents: read` and
`actions: read`, receives no secrets, executes the release workflow's
revision, and treats the accepted source and CI files as data. Only the
publishing job has `contents: write`; it downloads the verified bundle by its
Expand All @@ -242,10 +241,12 @@ the organization's
[release content contract](https://github.com/computer-mcp/.github/blob/master/VERSIONING.md#plugin-release-contents)
and [Codex promotion contract](https://github.com/computer-mcp/.github/blob/master/VERSIONING.md#codex-promotion-exception).

Publication uploads the unified receipt first to freeze provenance, then the
archives and native receipts, then checksums. Every asset's API size and SHA-256
must match before the draft becomes public. The publication response must report
`immutable: true`. Release notes remain operator-owned.
Publication uploads the unified receipt first, then the archives and native
receipts, then checksums. It verifies every asset's API state, size and SHA-256
before and after publication. Release notes remain operator-owned. Workflows
for the same tag are queued, and maintainers edit attachments only after the
workflow finishes. A manual replacement must include corresponding provenance
and checksum files. Consumer digest changes require separate approval.

### Catalog notification

Expand Down Expand Up @@ -275,20 +276,20 @@ dependent job only after confirmed publication. Only that job receives

Use **Re-run failed jobs** after a failed publication. A publish-only retry uses
the original bundle artifact ID and digest outputs, including after a workflow
run attempt changes. If verification reruns, a complete uploaded draft receipt
wins over `source_run`: recovery validates its recorded successful historical CI
attempt, fetches each artifact by its recorded ID and digest, and reproduces the
same receipt and checksums. It never selects a newer CI attempt or changes the
recorded workflow identity.

Expected `starter` assets can be deleted and uploaded again only while the
Release is a draft. Matching completed assets are retained. Unexpected names,
conflicting digests or sizes, or an invalid historical attempt fail without
replacement. If a recorded artifact expired or disappeared, delete the
unpublished draft, obtain fresh successful CI artifacts, and dispatch publication
again to start a new assembly. For an existing public Release, a rerun checks
the exact asset set against the frozen receipt, requires `immutable: true`,
and reports it already published without writes or reliance on CI retention.
run attempt changes. If publication succeeded but its response or readback
failed, a publish-only retry checks the public release against that bundle and
allows catalog notification without modifying the release. When verification
reruns, it reconstructs the complete
bundle from the supplied successful `source_run`, its latest attempt's exact
artifacts, native receipts and the current trusted workflow revision. The
existing assets must match those bytes. Expired, missing or conflicting CI and
asset evidence fails visibly. Resolve stale or incomplete draft assets manually
before retrying. Matching completed assets are retained.

Verification of an existing public Release is read-only and skips publication
and catalog notification. This includes a Release removed after verification.
Public attachments and their receipts can be edited, so they are checked against
the independently reconstructed bundle.

For a missed or failed catalog notification, rerun only the notifier or dispatch:

Expand Down Expand Up @@ -319,10 +320,9 @@ Changes to compiled source, dependencies or packaging inputs require a new
archive, including changes to the shipped manual. Local rechecks after
checker-only changes can use unchanged archive bytes with the new checker
revision recorded separately.
Publication still uses source CI artifacts for the exact accepted commit and
the provenance frozen in the draft receipt. A new CI identity can be selected
before provenance freezes or after deleting an unpublished draft, as described
in [Retry](#retry).
Publication uses source CI artifacts for the exact accepted commit. A retry
requires the existing assets to match the supplied CI run and workflow, as
described in [Retry](#retry).

Source tests do not replace installed-package or authenticated runtime evidence.
Preserve failed results and distinguish fixture, product and external failures.
Expand All @@ -338,7 +338,7 @@ operator decision.
| Release workflow validation | `python3 scripts/check-workflow.py --check-release-workflow` and `python3 -m unittest discover -s Tests -p 'test_*.py'` | Local files; no host, vendor or credentials |
| Candidate build | `python3 scripts/package.py --output dist --configuration release` | Local build tools and resolved dependencies; new output directory |
| Archive and runtime acceptance | [Runtime acceptance](#runtime-acceptance) | Verified archive, installed host and vendor; authorized file-store login for full mode |
| Dry run and publication | [Publish](#publish) | Actions dispatch; verified immutable-release setting; publication job has contents write access |
| Dry run and publication | [Publish](#publish) | Actions dispatch; publication job has contents write access |
| Interrupted-run recovery and catalog status | [Retry](#retry) | Actions access; catalog authority isolated to the notifier |
| Install, upgrade and rollback | [Installation](Installation.md) | Host owner authority |
| Cleanup | Manual inventory and removal after confirming inactivity and cleanup receipts | Ownership of each disposable output |
Expand Down
Loading
Loading