Repository navigation
Description
Overview
The wiki-currency CI leg is red on main for autolens_assistant (run 33226180760) and
autogalaxy_assistant (run 33226182888). Both failures are wiki/skill content drift, not a
tooling bug, and both trace to the same upstream change: PyAutoArray f9aceea3 (2026-08-21,
PyAutoArray#461) split the rectangular adaptive mesh family into Bilinear (rank-CDF) and
RTU (kernel-CDF) variants, retiring the old Rectangular*Adapt* names. autogalaxy_assistant
additionally cites PyAutoGalaxy:autogalaxy/plot/plot_utils.py, deleted by PyAutoGalaxy
247e4a3a (2026-08-22) as a byte-identical duplicate of autogalaxy/util/plot_utils.py.
The red leg predates and survives the merges of autolens_assistant#115/#116 and
autogalaxy_assistant#19/#20, which were merged on human acknowledgement of the pre-existing red.
Plan
- Re-ground every failing symbol against the released stack the CI job installs
(pip install autolens→ 2026.8.23.1), not a local source-treePYTHONPATH. - autolens_assistant: replace the retired
al.mesh.RectangularAdaptImagewith the current
RectangularBilinearAdaptImage/RectangularRTUAdaptImagenames, and correct the sibling
mesh table that names other retiredRectangularAdapt*variants. - autogalaxy_assistant: replace the retired
ag.mesh.RectangularAdaptDensityin the three
files that cite it, and re-citeautogalaxy/plot/plot_utils.py→autogalaxy/util/plot_utils.py
inwiki/core/operations/sandbox.md(both the frontmatter pin list and the prose). - Re-stamp provenance on every edited
wiki/core/page (--write-provenance --page), since an
unstamped body edit is itself a CI error. - Re-run the full CI check sequence locally against the released stack in each repo until clean.
Detailed implementation plan
Affected Repositories
- autolens_assistant
- autogalaxy_assistant
(PyAutoBrain is the prompt Target / issue home only — no Brain tool needs a fix.)
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./autolens_assistant | main | clean |
| ./autogalaxy_assistant | main | clean |
| ./PyAutoBrain | main | clean |
Suggested branch: feature/wiki-currency-ci-drift
Worktree: ~/Code/PyAutoLabs-wt/wiki-currency-ci-drift
Diagnosis (measured, released stack 2026.8.23.1)
autolens_assistant, audit_skill_apis.py --scope all → missing/broken: 1
| symbol | file | suggestions |
|---|---|---|
al.mesh.RectangularAdaptImage |
wiki/core/stack/autolens.md |
RectangularRTUAdaptImage, RectangularBilinearAdaptImage |
autogalaxy_assistant, --scope all → missing/broken: 1 (three files)
| symbol | files | suggestions |
|---|---|---|
ag.mesh.RectangularAdaptDensity |
skills/ag_multi_dataset.md, skills/ag_pixelization.md, wiki/core/stack/autogalaxy.md |
RectangularRTUAdaptDensity, RectangularBilinearAdaptDensity |
autogalaxy_assistant, --check-citations → 2 missing path(s), both
wiki/core/operations/sandbox.md: PyAutoGalaxy:autogalaxy/plot/plot_utils.py.
Implementation Steps
autolens_assistant/wiki/core/stack/autolens.md— mesh list:RectangularAdaptImage→
the Bilinear/RTU pair. Re-stamp provenance.autolens_assistant/wiki/core/concepts/inversions_and_pixelizations.md— the mesh-choice
table namesal.mesh.RectangularAdaptImage,RectangularAdaptDensity,
RectangularRotatedAdaptImage,RectangularSplineAdapt*; none resolve. Rewrite to the
four real adaptive classes. Re-stamp provenance.autogalaxy_assistant— the threeRectangularAdaptDensitysites → the Bilinear default
(what the workspace scripts use, 77 call sites) with RTU noted as the GPU/JAX-gradient
variant. Re-stampwiki/core/stack/autogalaxy.md.autogalaxy_assistant/wiki/core/operations/sandbox.md— re-cite to
autogalaxy/util/plot_utils.pyin the frontmattersources:block and in the
PYAUTO_FAST_PLOTSprose; bumppinned_commit+last_updated; re-stamp.- Re-run in a released-stack venv, per repo:
--check-version,--scope all,
--lint-idioms,--check-provenance,--check-citations, and (lens only)
chat_bundle.py --check.
Key Files
autolens_assistant/wiki/core/stack/autolens.mdautolens_assistant/wiki/core/concepts/inversions_and_pixelizations.mdautogalaxy_assistant/wiki/core/stack/autogalaxy.mdautogalaxy_assistant/wiki/core/operations/sandbox.mdautogalaxy_assistant/skills/ag_pixelization.md,skills/ag_multi_dataset.md
Note on the "stale chat bundle" claim in the prompt
The prompt states autolens_assistant's llms-chat.txt and chat_pack/01_api_surface.md are
stale on main. Measured, they are not. chat_bundle.py --check reports OK against the
released stack (2026.8.23.1) — the same result CI reported. The FAIL only appears when the
script is run against a local source-tree PYTHONPATH, where regenerating would downgrade
the committed version stamp to 2026.8.17.1 and inject unreleased autofit Bijector symbols.
Regenerating them here would therefore introduce drift rather than remove it, so they are left
alone.
Original Prompt
Click to expand starting prompt
# Fix wiki-currency CI drift in the lens and galaxy assistants
Type: maintenance
Target: PyAutoBrain
Repos:
- autogalaxy_assistant
- autolens_assistant
- PyAutoBrain
Difficulty: small
Autonomy: safe
Priority: medium
Status: formalised
# Fix wiki-currency CI drift in the lens and galaxy assistants
Type: maintenance
Difficulty: small
Autonomy: safe
Priority: medium
The `wiki-currency` CI leg is red on main for autolens_assistant and autogalaxy_assistant (Actions runs 33226180760 and 33226182888, 2026-08-28). The symbol audit run with `--scope all` reports 1 missing or broken symbol in each repo, out of 67 files and 141 symbols scanned. autogalaxy_assistant additionally fails its citation-path check: `wiki/core/operations/sandbox.md` cites the galaxy library's `plot/plot_utils.py` module, which no longer exists in the sources checkout. autolens_assistant's `llms-chat.txt` and `chat_pack/01_api_surface.md` are also stale on main.
Task: regenerate the stale generated surfaces and re-cite the dead path so the `wiki-currency` leg goes green again on both repos. Note that PRs #115 and #116 (autolens_assistant) and #19 and #20 (autogalaxy_assistant) were merged over this drift on human acknowledgement, so the red leg predates and survives those merges.
Related: PyAutoBrain#315.
<!-- formalised by the Intake (Conception) Agent on 2026-08-28 from file:/tmp/claude-1000/-home-jammy-Code-PyAutoLabs/069a02ef-b14f-4a43-b0c3-92e461ddef66/scratchpad/intake_wiki_currency.md -->
Activity
Jammy2211 commentedon Aug 29, 2026
Progress — implemented, PRs opening
Both repos are green against a CI-faithful stack: a clean venv with
pip install autolens(→ 2026.8.23.1, exactly what the
wiki-currencyjob installs),PYTHONPATHunset so thelocal source tree cannot leak in, and the cited source trees present under
sources/as thejob clones them.
autolens_assistant —
feature/wiki-currency-ci-drift@b7a6964--scope all--check-version--lint-idioms--check-provenance--check-citationschat_bundle.py --checkFixed:
al.mesh.RectangularAdaptImage→RectangularBilinearAdaptImageinwiki/core/stack/autolens.md; the mesh-choice table inwiki/core/concepts/inversions_and_pixelizations.md(which named four non-existent symbols —RectangularAdaptImage,RectangularAdaptDensity,RectangularRotatedAdaptImage,RectangularSplineAdapt*) rewritten to the four real adaptive classes.autogalaxy_assistant —
feature/wiki-currency-ci-drift@98999f3--scope all--check-citations--check-version--lint-idioms--check-provenanceFixed:
ag.mesh.RectangularAdaptDensity→RectangularBilinearAdaptDensityinskills/ag_multi_dataset.md,skills/ag_pixelization.md,wiki/core/stack/autogalaxy.md;PyAutoGalaxy:autogalaxy/plot/plot_utils.py→autogalaxy/util/plot_utils.pyinwiki/core/operations/sandbox.md(frontmatter pin list +PYAUTO_FAST_PLOTSprose).Both edited
wiki/corepages carry acontent_sha256and were re-stamped with--write-provenance --page.Root causes
f9aceea3(2026-08-21, PyAutoArray#461) split the rectangularadaptive meshes into a Bilinear (rank-CDF) and an RTU (kernel-CDF) family and retired the
unqualified
RectangularAdapt*names. Chose Bilinear, not the pure-rename RTU: thesplit made Bilinear the fast CPU default and it is what the workspace scripts use
(77 call sites vs 2 for RTU), which is what these pages were recommending.
247e4a3a(2026-08-22) removedautogalaxy/plot/plot_utils.pyas a byte-identical duplicate of
autogalaxy/util/plot_utils.py.pinned_commitisdeliberately not bumped:
PYAUTO_FAST_PLOTSis present inutil/plot_utils.pyat thatsame pin (
65b14d77, verified), so the citation was pointing at the wrong one of twoidentical copies rather than at something that had moved — the pin's claim still holds, and
bumping it would assert a re-validation that was not performed.
Correction to the prompt
The prompt states autolens_assistant's
llms-chat.txtandchat_pack/01_api_surface.mdarestale on
main. Measured, they are not, and they are deliberately left untouched.chat_bundle.py --checkreports OK against the released stack — the same result CI reportedon run 33226180760. The FAIL only reproduces when the generator runs against a local
source-tree
PYTHONPATH, where regenerating downgrades the committed version stamp2026.8.23.1→2026.8.17.1and injects unreleasedautofitBijector*/ClipperPriorBoxJointsymbols. Regenerating would have introduced drift, not removed it.Readiness
pyauto-heart readiness --jsonat2026-08-29T01:56:44Zis RED on one reason, verbatim:Pre-existing and unrelated (markdown-only changes in two other repos). The human acknowledged
it and authorised opening the PRs anyway. No check was weakened and no code was modified to
make a leg pass. Not merged — merge stays a human act.
Jammy2211 commentedon Aug 29, 2026
PRs open —
wiki-currencyGREEN on bothwiki-currencyboundaryb7a696498999f3Both carry
pending-release. The leg that has been red onmainsince 2026-08-23 is greenon both branches; CI reproduced the local released-stack result exactly.
Not merged — merge stays a human act, and Heart is still RED on the acknowledged
pre-existing reason (
PyAutoArray: 2 commit(s) behind origin). Close-out is/prmon both PRs.fix: re-ground the retired al.mesh.RectangularAdaptImage name (#117)
fix: re-ground the retired ag.mesh.RectangularAdaptDensity name and a…
Jammy2211 commentedon Aug 29, 2026
Shipped
The
wiki-currencyleg is green onmainin both assistants.cc8dd2b322ab3f3a376c644fc672ccdc23cc80deaa00fb1c18b3ac9fe8ea4b3b7df5e1a59160fc0aBoth PRs:
wiki-currencyPASS andclone-boundaryPASS on the merged head.What was fixed
Root cause — PyAutoArray
f9aceea3(PyAutoArray#461) split the rectangular adaptive meshfamily into
Bilinear(rank-CDF) andRTU(kernel-CDF) variants and retired the unqualifiedRectangular*Adapt*names. Everything below was re-grounded against the released stack theCI job installs (2026.8.23.1), not a local source-tree
PYTHONPATH.autolens_assistant #117
wiki/core/stack/autolens.md— retiredal.mesh.RectangularAdaptImagereplaced withRectangularBilinearAdaptImage, with the split stated.wiki/core/concepts/inversions_and_pixelizations.md— the mesh-choice table named foursymbols that no longer exist; replaced with the four real adaptive classes plus the
Bilinear-vs-RTU guidance from the upstream docstrings.
--scope allmissing/broken: 1 → 0.--check-version/--lint-idioms/--check-citations/--check-provenanceclean.autogalaxy_assistant #21
skills/ag_multi_dataset.md,skills/ag_pixelization.md,wiki/core/stack/autogalaxy.md) moved from the retiredag.mesh.RectangularAdaptDensitytoRectangularBilinearAdaptDensity— Bilinear rather than the pure-rename RTU, because thesplit made Bilinear the fast CPU default and it is what the workspace scripts use (77 call
sites vs 2), which is what these pages were recommending.
wiki/core/operations/sandbox.md— the citation ofPyAutoGalaxy:autogalaxy/plot/plot_utils.py(removed by PyAutoGalaxy247e4a3aas abyte-identical duplicate) re-cited to
autogalaxy/util/plot_utils.pyin both the frontmattersources:list and thePYAUTO_FAST_PLOTSprose.pinned_commitdeliberately unchanged:PYAUTO_FAST_PLOTSis present inutil/plot_utils.pyat that same pin (65b14d77,verified), so the citation pointed at the wrong one of two identical copies rather than at
something that moved.
--scope allmissing/broken: 1 → 0;--check-citationsmissing paths: 2 → 0;--check-version/--lint-idioms/--check-provenanceclean.Every edited
wiki/core/page was re-stamped with--write-provenance --pageand itslast_updatedbumped.The "stale chat bundle" claim in the prompt was false
The originating prompt stated that autolens_assistant's
llms-chat.txtandchat_pack/01_api_surface.mdwere stale onmain. Measured, they are not.chat_bundle.py --checkreports OK against the released stack (2026.8.23.1) — the same resultCI reported. The FAIL reproduces only when the script runs against a local source-tree
PYTHONPATH, where regenerating would downgrade the committed version stamp to2026.8.17.1and inject unreleasedautofitBijector symbols. Regenerating would thereforehave introduced drift rather than removed it, so both files were left untouched.
No check was weakened to pass. euclid_assistant was not touched.