feat(release): add Release Surface Manifest#75
Merged
Conversation
Release policy was spread across workflows, shims, package metadata, and version checks with no single catalog of which surfaces exist or how each publishes. Add a declarative manifest (release_surfaces.json) plus a typed accessor (release_surfaces.py), mirroring the Task Registry. Each surface records its version source, registry target, auth mode, and required validations. read_surface_version() lets version-drift checks be driven by the manifest: read every version-bearing surface and assert the values agree. Closes #53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release policy was scattered across workflows, installer shims, package metadata, and version checks with no single catalog of which release surfaces exist or how each publishes. Adds a declarative Release Surface Manifest, mirroring the Task Registry pattern.
src/codeforerunner/release_surfaces.json— declarative catalog of surfaces (PyPI, npmjs, GitHub Packages, Docker, Codex marketplace, installer shims sh/ps1). Each recordsversion_source,registry,auth_mode,workflow,validations.src/codeforerunner/release_surfaces.py— typed accessor (all_surfaces,get,names,version_bearing_surfaces,read_surface_version).read_surface_version()makes version-drift detection manifest-driven: read every version-bearing surface and assert the values agree.Registered
release_surfaces.jsonas package-data.Tests (
tests/test_release_surfaces.py)getraises on unknownread_surface_versiondetects drift across a fake checkoutFull suite: 259 python + node green.
Scope
Declarative catalog only — does not change publish behavior, inspect tarballs, or generate workflows (those are #47/#48/#52). #64 will add the Socket badge to this manifest.
Closes #53
🤖 Generated with Claude Code