Repository navigation
feat: al_explain_setup skill; auto-unless compute setup in al_configure_search (5G) - #192
Merged
Merged
Conversation
…igure_search (5G) New al_explain_setup reads files/setup.json + files/parallel.json, matches the setup_rules.yaml row, quotes the rule, links the autolens_profiling day-zero page and Pulse decision, explains the estimate and untested branches; planned fits use al.estimate_runtime. al_configure_search now defaults to setup="auto" + number_of_cores="auto" with an override table (stale numba-only / never-on-GPU sparse claims fixed). Small edits across skills, AGENTS.md, sources.yaml; adapters and a registration test. wiki-currency's profiling sparse clone now includes wiki/ for the citations. Part of #191 (likelihood-lifecycle phase 5G). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 25, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Likelihood-lifecycle phase 5G (#191). This teaches the assistant the automatic compute setup now on library main:
al_explain_setupskill explains which setup a fit used or will use and why. It readsfiles/setup.json+files/parallel.json, matches the setup to its row insetup_rules.yaml, quotes the rule sentence, links the autolens_profiling day-zero page and the PyAutoPulse decision, explains the estimate and flags untested branches.al_configure_search's compute section becomes "Compute setup: auto unless…".Merge timing: merge with or after the library release that carries the automatic setup. The
wiki-currencycheck installs the latest released autolens (2026.11.22.1), which has noal.estimate_runtime,setup=orlazy_sparse_operator=, so that check is expected to flag the new snippets until then. No gate-off markers were added, by design.Changes
skills/al_explain_setup.md:chosen_by, the rule sentence with optimal and secondary setups, the day-zero and Pulse links, parallel reason codes, the estimate (measured cell, Nautilus heuristic, η curve, size band, uncalibrated interferometer/weak), and untested branches.al.estimate_runtime.skills/al_configure_search.md: the default issetup="auto"+number_of_cores="auto", followed by when to override. The explicit table stays as the override route, with an A100 column. Two stale claims are fixed: the sparse operator is not numba-only (JAXapply_sparse_operator()), and GPU interferometer fits do use it (the A100 designation isjax_gpu_sparse_fp64_wtilde). Thenumber_of_coresinconsistency is fixed too.skills/README.md,AGENTS.md("Compute setup"),al_load_results(the new output files),al_run_search,al_debug_fit_failure(slow-fit pointer),init-slam,al_profiling_setup,hpc_campaign, andsources.yaml(+autolens_inference, +PyAutoPulse)..claude/.codex, written withinstall.sh --write-project-discovery;--check-project-discoveryreports OK.autoassistant/tests/test_explain_setup_skill.py(registration and content)..github/workflows/wiki-currency.yml. Its sparse clone of autolens_profiling now includeswiki/as well ascatalogue/, so the citation check can find the day-zero pages the skills cite.Test Plan
make test: 320 passed, 2 skipped, 1 xfailed; 9 errors, all intest_forward_model_consistency.py(Reference requires autolens==2026.9.27.2; found 9999.0.0.dev0). These fail identically on unmodified HEAD and are not from this change.freeze-check: OK.make audit(against local main libraries): 0 missing or broken symbols, 0 call-argument mismatches.--check-citations: 460 citations, 0 missing.--lint-idioms: clean.make colab-contexts: OK. The al_configure_search context is 18,833 characters (cap 20,000).Estimate: ~40 min on this hardware (697 ms/eval, hst cell · Nautilus n_live=150 ≈ 1.4e4 evals, heuristic · η=0.55).Notes:
autolens_workspace/scripts/guides/advanced/auto_setup.pyis linked as a URL. It arrives with autolens_workspace#689.--use_cpu→--setupchange are filed asdraft/feature/autolens_assistant/hpc_setup_flag_and_wiki_auto_setup.md.Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code