Skip to content

Remove the tagged publisher, microcosm-publish-release #1796

Done

Description

@anth-volk

Tracker: "1. Collector/Emitter", task 5b · 10 ("Microcosm: Remove microcosm-publish-release").

Why

microcosm-publish-release (microcosm.data.publish_cli, wrapped by tools/publish_release.sh) is the tagged publisher: publish_release commits a release's files to Hugging Face directly, creates an immutable tag and writes a latest*.json pointer file. It refuses every release that publishes_to_build_folder names and every repository that records its builds in releases.json. Since BE's release repository switched to releases.json (5b · 5, 2026-11-26), the US, UK and BE repositories all do, so the command serves no repository. Every release build publishes through the emitter with microcosm-publish-release-build.

What changes

  • Remove the microcosm-publish-release entry point, microcosm/data/publish_cli.py and tools/publish_release.sh.
  • Remove publish_release, prepare_release, PreparedRelease and the private helpers only they use from microcosm.data.release, and the publish_release export from microcosm.data.
  • Remove microcosm.data.slack, whose only caller is publish_release, and the Slack webhook settings in tools/release.env.example and the README.
  • Move publication_refusal and its checks (non-release smoke output, reform validation that skipped out-of-sample reforms, undelivered staging), which microcosm-publish-release-build runs, into microcosm.data.release beside prepare_build_folder_release.
  • Remove the tests of the tagged publisher, and update the release contract, the README and the agent guide.

Out of scope

After this

No Microcosm command publishes a release that publishes_to_build_folder doesn't name. A new country's releases join it, and the registry, in the pull request that authorizes their first publication, as docs/release-contract.md already plans for AM and NZ.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions