Skip to content

fix(colab-gate): colossus rationale names los_halos; hmf kept until next release - #357

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/colab-gate-colossus-rationale
Nov 20, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/colab-gate-colossus-rationale

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Closes #356.

What changed

  • colossus reason rewritten. The los_halos simulator notebooks (simulator, simulator_jax) now reach autolens/lens/los.py through LOSSampler (PyAutoLens PRs 867/868, autolens_workspace#681). On Colab they stop with an ImportError that names colossus and says pip install autolens[los]. The human accepted this on 2026-11-19, so colossus is not added to _SHARED_EXTRAS.
  • hmf entry kept, reason rewritten. ⚠️ Decision taken (label decision-taken): the task asked to remove it, but the released autolens 2026.11.19.1 on PyPI still runs import hmf unguarded (los.py:147). The continuous check F audits the PyPI release, so removing the entry now would make check F FAIL until the next release. The reason now says this and that the entry goes once a release carrying PR 867 is on PyPI. A follow-up draft is queued in Mind: draft/bug/pyautoheart/colab_gate_delete_hmf_after_next_release.md.
  • The test docstring describing the exemptions is updated. The asserted set is unchanged.
  • The reasons contain no #, because _parse_config_fallback treats # as the start of a comment (PR numbers are written as "PRs 867 and 868").

Evidence

  • pytest -q -n 4 tests/test_colab_gate.py tests/test_verify_install_script.py: 74 passed.
  • Live check F (verify_install.sh F, continuous run, PyPI stack plus an autolens_workspace main clone with the regenerated los_halos notebooks): PASS. The accepted rows were colossus (autolens/lens/los.py:207), hmf (autolens/lens/los.py:147) and mcp. The hmf row shows the entry is still needed.
  • Targeted smoke: no curated script references the change, and there is no workspace to import-check, so nothing ran.
  • Tenant firewall (organ code): OK.
  • Independent review: CLEAN.

Witness

The witness requires "no hmf entry". That part is deliberately not met, for the reason above. The colossus clause and the "Colab gate passes" clause hold.

🤖 Generated with Claude Code

…f kept until next release

colossus: the los_halos simulator notebooks now reach it through LOSSampler and
stop on Colab with a clear ImportError naming colossus and autolens[los];
accepted by the human 2026-11-19, so it is not added to _SHARED_EXTRAS.

hmf: source main no longer imports it, but the released autolens 2026.11.19.1
does, and the continuous check F audits PyPI, so the entry stays (with a reason
saying so) until a release carrying PyAutoLens PR 867 is on PyPI.

Refs #356

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the decision-taken Autonomous run took a flagged decision label Nov 19, 2026
@Jammy2211
Jammy2211 merged commit b407014 into main Nov 20, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/colab-gate-colossus-rationale branch November 20, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

decision-taken Autonomous run took a flagged decision

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(colab-gate): colossus rationale is stale once los_halos reaches it

1 participant