Repository navigation
Description
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-releaseentry point,microcosm/data/publish_cli.pyandtools/publish_release.sh. - Remove
publish_release,prepare_release,PreparedReleaseand the private helpers only they use frommicrocosm.data.release, and thepublish_releaseexport frommicrocosm.data. - Remove
microcosm.data.slack, whose only caller ispublish_release, and the Slack webhook settings intools/release.env.exampleand the README. - Move
publication_refusaland its checks (non-release smoke output, reform validation that skipped out-of-sample reforms, undelivered staging), whichmicrocosm-publish-release-buildruns, intomicrocosm.data.releasebesideprepare_build_folder_release. - Remove the tests of the tagged publisher, and update the release contract, the README and the agent guide.
Out of scope
- Reading
latest.jsonandlatest-<name>.jsonpointer files (the loader's fallback,latest_release,latest_line_release,latest_evidence_release), the pointer constants and the pointer payload builders: task 5b · 12. - The build-folder switch tool: task 5b · 11.
tools/run_uk_cut.py, which Publish run_uk_cut.py builds through the emitter and refuse new direct Hugging Face imports #1743 already moved tomicrocosm-publish-release-build.
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