Skip to content

prompt: close out aplt-output-drift-remaining-repos + file its three follow-ups - #311

Merged
Jammy2211 merged 8 commits into
mainfrom
claude/aplt-output-drift-repos-33n81z
Aug 24, 2026
Merged

prompt: close out aplt-output-drift-remaining-repos + file its three follow-ups#311
Jammy2211 merged 8 commits into
mainfrom
claude/aplt-output-drift-repos-33n81z

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Mind state for a task that shipped and merged today, plus the three follow-ups
it filed rather than fixed. No code here — records, prompts and registry only.

Completion record

complete/2026/08/aplt-output-drift-remaining-repos.md — the
aplt.Output stale-API drift task (PyAutoGalaxy#585), shipped in library-first
order:

Repo PR Merge commit
PyAutoGalaxy #586 d68a8f6
euclid_strong_lens_modeling_pipeline #39 62b2fd4

The prompt advanced draft/active/complete/, and its active.md
entry is released.

The record is worth reading before the follow-ups, because the task's scope
changed materially from what the prompt described — autocti_workspace_test
was scoped out on evidence (18 of its 31 broken files sit under a legacy/
tree its own AGENTS.md forbids editing), and two library defects the prompt
never mentioned were found and fixed.

Three follow-up prompts

Filed as three, not one, per the one-prompt-one-task rule — different repos,
different work types, three PRs.

Prompt Target
draft/maintenance/autocti_workspace_test/imaging_ci_heritage_sweep.md 13 files of 2023-era heritage the 2026-07-17 "CTI resurrection Phase 5" sweep left outside legacy/
draft/refactor/autoarray/shared_log_norm_helper.md the colour-norm logic exists in three copies, and two have already diverged
draft/maintenance/workspaces/euclid_crlf_line_endings.md CRLF has reached the shebangs of hpc/sync and the SLURM submit scripts

Two of these are more than the tidy-ups they sound like, which the prompts spell
out:

  • shared_log_norm_helperautoarray/plot/inversion.py:92-107 hardcodes
    1e-4 and never reads log10_min_value from config, while
    plot/array.py:164-188 does. That config key is therefore silently ignored on
    inversion plots. A live behaviour bug, not duplication.
  • euclid_crlf_line_endings — 20 of 126 tracked text files carry CRLF,
    including #!/usr/bin/env bash^M in hpc/sync and BASE=...^M in
    activate.sh (which is sourced, so the \r lands inside the variable and
    every derived path is subtly wrong). No .gitattributes exists to stop
    recurrence. The prompt explicitly does not assume these are broken today
    and makes establishing "live break or latent" the first step.

queue.md queues all three for /register_and_iterate --queue.

Merge conflicts

Merging main in conflicted only on the three generated files
(complete/index.md, dashboard.md, dashboard.html). Resolved by
regenerating them from the merged state — lifecycle.py index --apply and
pyauto-brain intake --apply dashboard — never hand-edited, per AGENTS.md.

lifecycle.py check is OK; the index carries 1125 records.


Generated by Claude Code

Jonathan Nightingale and others added 8 commits August 24, 2026 21:48
…#585) → start_library

Planned via /start_dev. Scope changed materially from the prompt on verified
evidence:

- autocti.plot exports no Output, resolving the prompt's hedge to "broken" —
  but 18 of the 31 broken files are under legacy/ (AGENTS.md:52 forbids
  editing) and the other 13 are 2023-era heritage the 2026-07-17 CTI
  resurrection sweep missed. autocti_workspace_test scoped out; follow-up
  prompt filed proposing imaging_ci/ be swept into legacy/.
- Found a library defect the prompt did not mention: al.Scribbler's cmap=
  parameter needs a Cmap-shaped object that no public plot namespace exports.
  That makes PyAutoGalaxy the primary repo and the task library+workspace.
- euclid has 3 broken files, not 2.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LN2Qsx6JjVKV45o17EKGtB
…tive.md

PyAutoGalaxy claimed on feature/aplt-output-drift-remaining-repos. No worktree:
field — this is a web-github session, so claiming a ~/Code/PyAutoLabs-wt/ path
that will never exist would read as drift to the resume check.

Records the second instance of the defect found during exploration:
autogalaxy/gui/clicker.py:31 calls aplt.Cmap on autoarray.plot, which exports
no Cmap, so Clicker.start() raises AttributeError for every caller.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LN2Qsx6JjVKV45o17EKGtB
Both phases implemented and pushed. euclid claimed on the same feature branch.

Records the plan correction Phase 2 forced: euclid's data is loaded unmasked,
so the mask overlay could not simply "drop out as auto-derived" — the outline
would have vanished from the reference PNG. That required a second library
change, a `mask=` passthrough on the plot_array wrapper.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LN2Qsx6JjVKV45o17EKGtB
Shipped in library-first order: PyAutoGalaxy#586 (d68a8f6), then
euclid_strong_lens_modeling_pipeline#39 (62b2fd4). Issue closed.

Scope changed materially from the prompt on verified evidence: autocti_workspace_test
scoped out (18/31 broken files are under a never-edit legacy/ tree, the other 13 are
2023-era heritage the resurrection sweep missed), two unmentioned library defects
fixed, and a mask overlay that would otherwise have silently vanished from the
euclid reference PNG.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LN2Qsx6JjVKV45o17EKGtB
Three prompts, not one: different repos, different work types, three PRs —
per the one-prompt-one-task rule.

- refactor/autoarray/shared_log_norm_helper.md — the norm logic exists in three
  copies, and two have already diverged: inversion.py hardcodes 1e-4 and never
  reads log10_min_value, so that config key is silently ignored on inversion
  plots. A behaviour bug, not just duplication.
- maintenance/workspaces/euclid_crlf_line_endings.md — CRLF has reached the
  shebangs of hpc/sync and the SLURM submit scripts, and activate.sh's BASE
  variable. 20 of 126 tracked text files; no .gitattributes to stop recurrence.
- maintenance/autocti_workspace_test/imaging_ci_heritage_sweep.md — already
  filed 2026-08-24; queued here.

queue.md drives all three via /register_and_iterate --queue.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LN2Qsx6JjVKV45o17EKGtB
Conflicts were confined to the three generated files (complete/index.md,
dashboard.md, dashboard.html). Resolved by regenerating them from the merged
state — lifecycle.py index --apply and pyauto-brain intake --apply dashboard —
rather than hand-editing, per AGENTS.md.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LN2Qsx6JjVKV45o17EKGtB
…pushes

main moved 4 commits while the previous merge was in flight, re-conflicting the
generated dashboard files. Regenerated rather than hand-resolved, as before.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LN2Qsx6JjVKV45o17EKGtB
Dashboard Refresh failed on this PR: "dashboard.md is stale — run
'pyauto-brain intake --apply dashboard' on this branch and commit the result".

Cause: this session's PyAutoBrain checkout was 12 commits behind origin/main,
including two board-renderer changes (48f1f70 "on a phone a table row is a card,
not a ribbon", 75f083a "a bare list lines up with the rest of the page"). The
dashboard was regenerated with the older renderer, so CI — which uses
PyAutoBrain@main — read it as stale.

Fast-forwarded PyAutoBrain to origin/main and regenerated: +24 lines of
dashboard.html, dashboard.md unchanged. Verified idempotent (a second --apply
is a no-op), which is the convergence property the workflow checks.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LN2Qsx6JjVKV45o17EKGtB
@Jammy2211
Jammy2211 merged commit 3dc6768 into main Aug 24, 2026
2 checks passed
Jammy2211 pushed a commit that referenced this pull request Aug 24, 2026
main moved on while this task ran, and PR #311 landed the
aplt-output-drift filing branch that the prompt had been stranded on — so
draft/refactor/autoarray/shared_log_norm_helper.md arrived on main just as
this branch folded it into complete/2026/08/. The draft copy is removed
(shipped work must not sit in two lifecycle states), its queue.md line is
marked DONE per the file's convention, and complete/index.md + the dashboard
are regenerated over the merged record set.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DamasCoRrENvgiRkU5WHHW
Jammy2211 pushed a commit that referenced this pull request Aug 24, 2026
PR #311 landed the aplt-output-drift filing branch while this task was in
flight, so the two items the record called stranded are on main. Record the
resolution and keep the lesson.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DamasCoRrENvgiRkU5WHHW
@github-actions
github-actions Bot deleted the claude/aplt-output-drift-repos-33n81z branch August 25, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant