You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reach Hugging Face and the collector only through the emitter, apart from the agreed exceptions #1742
Tracking issue for tracker task 5a · 4 of "1. Collector/Emitter" (Microcosm's cleanup after its upload and telemetry code moved into the emitter).
Goal
Microcosm reaches Hugging Face and the collector only through the separately installed emitter, started through microcosm-emitter-interface, apart from the agreed exceptions:
datasets and the release metadata that selects and verifies them;
build inputs;
operator tools that use the operator's own token;
BE's publication tools (microcosm-publish-release, build_folder_switch.py) and Microcosm's latest*.json pointer support, which substage 5b removes.
What was found (Microcosm main at 8c51b6eff)
Every Hugging Face write outside tests is in build_folder_switch.py and microcosm-data/release.py (BE, left to 5b), tools/modal_rebuild_uk_chronicle_artifact.py (build inputs) and tools/provision_uk_staging_repository.py (operator tool).
No module calls the collector directly; every submission goes through the emitter.
Microcosm runs the emitter's version, status and telemetry-token commands itself and parses their output, because the interface has no calls for them.
Plan
tools/run_uk_cut.py publishes through microcosm-publish-release-build (the emitter) without making the build current, prints a --promote command, and checks releases.json instead of tags and branches.
Ruff's TID251 refuses huggingface_hub imports outside the listed exception modules.
Trim the history of past emitter minimum versions in telemetry_emitter.py.
Remove what 5a · 1 (Orrery hand-over) and 5a · 2 (staging run files) leave behind, once they merge: the two Orrery upload flags; 5a · 2 left nothing.
Switch telemetry_emitter.py to the typed emitter_version call (interface 0.18.0). tools/modal_us_stage.py and tools/modal_us_stage_plan.py keep the emitter's commands, since they run without Microcosm's environment (Anthony's decision, 2026-11-26). Originally: switch them all to typed interface calls for version, status and telemetry-token, once a microcosm-emitter-interface release has them (tracker 5a · 3, in PolicyEngine/microcosm-emitter).
Completed by #1743, merged on 2026-11-27 (merge commit d2c1ca4). It covers every item above: tools/run_uk_cut.py publishes through the emitter, ruff's TID251 refuses huggingface_hub imports outside the listed exception modules, the history comment above MINIMUM_EMITTER_VERSION is trimmed, the two Orrery upload flags 5a · 1 left are removed (5a · 2 left nothing), and the version check uses microcosm-emitter-interface 0.18.0's emitter_version. The US Modal runner keeps running the emitter's commands itself, as decided for that PR, because it runs without Microcosm's environment.
Activity
anth-volk commentedon Nov 27, 2026
Completed by #1743, merged on 2026-11-27 (merge commit d2c1ca4). It covers every item above: tools/run_uk_cut.py publishes through the emitter, ruff's TID251 refuses huggingface_hub imports outside the listed exception modules, the history comment above MINIMUM_EMITTER_VERSION is trimmed, the two Orrery upload flags 5a · 1 left are removed (5a · 2 left nothing), and the version check uses microcosm-emitter-interface 0.18.0's emitter_version. The US Modal runner keeps running the emitter's commands itself, as decided for that PR, because it runs without Microcosm's environment.