Repository navigation
Description
Overview
heart/config/colab_gate.yaml accepts colossus (and hmf) as missing on Colab because "no workspace or HowTo notebook reaches the module". PyAutoLens#868 / autolens_workspace#681 moved LOSSampler from hmf to colossus, so the regenerated los_halos notebooks (simulator.ipynb, simulator_jax.ipynb) now reach colossus and that reason is false. The human ruled 2026-11-19: "fine for los_halos to stop in Colab", so colossus is not added to autonerves/setup_colab.py _SHARED_EXTRAS; the rationale is rewritten instead.
Prompt: PyAutoMind/active/colab_gate_colossus_rationale_is_stale_once.md (shift 2026-11-19-pm2, PyAutoMind#591).
Plan
- Rewrite the
colossusreason: thelos_halossimulator notebooks reach it; on Colab they stop with a clearImportErrornaming colossus andpip install autolens[los]; accepted by the human 2026-11-19. - Handle the
hmfentry. Source main imports no hmf, but the released autolens 2026.11.19.1 on PyPI still does (autolens/lens/los.py:147, unguarded). Check F's continuous run audits the PyPI release, so removing the entry before the next release turns check F FAIL. Decide-and-flag: keep it, with a reason saying it covers only autolens ≤ 2026.11.19.1 and is deleted after the next release. - Refresh the test docstring that describes the exemptions.
- Run the Colab gate unit tests and the config-parse tests; run
colab_gate verify's rule engine against the PyPI and source los.py.
effective level: supervised; merge mode: auto-merge on green after a merge slot (shift: ends at PR-open; decision-taken label holds the merge)
Detailed plan
heart/config/colab_gate.yaml—colossusreason:autolens/lens/los.py(thelosextra,pip install autolens[los]); thelos_halossimulator/simulator_jaxnotebooks reach it;LOSSamplerraises anImportErrornaming colossus with the install line; accepted 2026-11-19.hmfreason: only the released autolens ≤ 2026.11.19.1 imports it; source main dropped it (PyAutoLens#867/#868); delete this entry once the next release is on PyPI.tests/test_colab_gate.py::test_shipped_config_accepts_exactly_the_three_argued_exemptions— docstring update only; the asserted set is unchanged.- Follow-up draft in Mind: delete the
hmfentry after the next release.
Testing: python -m pytest -q -n 4 tests/test_colab_gate.py tests/test_verify_install_script.py; targeted Heart smoke.
Branch: feature/colab-gate-colossus-rationale
Activity
Jammy2211 commentedon Nov 20, 2026
Shipped
Merged 2026-11-20 via the human's
/prm(shift 2026-11-19-pm2): #357The
colossusaccepted-miss inheart/config/colab_gate.yamlnow says the los_halos simulator notebooks reach it and stop on Colab with an ImportError naming colossus andautolens[los](accepted 2026-11-19). Decision taken (accepted at /prm): thehmfentry is kept, reworded "only released ≤2026.11.19.1; delete after next release", because the released autolens 2026.11.19.1 still imports hmf unguarded and check F audits PyPI. Follow-up:draft/bug/pyautoheart/colab_gate_delete_hmf_after_next_release.md.Witness:
verify_install.sh FPASS (accepted colossus los.py:207, hmf los.py:147). Heart tests 74 passed; independent Opus review CLEAN.