Repository navigation
Description
Overview
Phase 1a of the pyautoeyes-birth epic, under the layered design the human chose on 2026-09-28: project repos <lib>_visualization make, store and track one library's figures; the organ PyAutoEyes is the cross-project dashboard that reads each project repo's tracked manifest and links to its PNGs (it renders nothing and copies no figures). This task puts the lens content back into its own project repo, PyAutoLabs/autolens_visualization, adds the tracked gallery/viz_manifest.yaml read contract, and registers the repo across Mind, Brain and Heart. Phase 1b (stripping the organ to its skeleton) must not start until this is merged.
Classification: feature, medium, direct; workflow library (start_library → ship_library). Autonomy: supervised.
Feature Agent risk note: "Public-API change may ripple to downstream repos". It does not: this task changes no library code (PyAutoFit/Array/Galaxy/Lens untouched), so nothing ripples downstream.
Heart at the door: YELLOW — "PyAutoMemory: open PR 7d old (updated 5h ago)".
Parallel claim: human-approved 2026-09-28 over PyAutoMind / PyAutoBrain / PyAutoHeart alongside eyes-organ-order (#439). The only overlap is Mind repos.yaml: #439 reorders the organ rows; 1a adds a project row after autolens_inference and rewrites the PyAutoEyes role string.
Already done this session:
- The human ran
gh repo create PyAutoLabs/autolens_visualization --public. - The current PyAutoEyes main history (
8f3e712) was pushed to it.git ls-remoteshowsrefs/heads/main 8f3e7124dc…. - Cloned at
lens/autolens_visualization(origin = the new repo, 40 PNGs present).
Plan
- Push the PyAutoEyes history to the new project repo and clone it at
lens/autolens_visualization(done). - In autolens_visualization: retitle README/AGENTS/CLAUDE stub to the project-repo role, with the layering stated. The gallery builder writes a tracked
gallery/viz_manifest.yaml(content hashes + rendered stack version), and--checkfails on a stale manifest.render.ymlcommits it and fires aneyes-refreshrepository_dispatchat PyAutoEyes. - PyAutoMind: project row after
autolens_inference(using theautolens_profilingrow as the template), PyAutoEyes role rewritten to the dashboard wording, ROUTING target, thenrepos_sync --writeand propagation. - PyAutoBrain: Eyes conductor AGENTS.md +
skills/eyes/eyes.mddefault instance →lens/autolens_visualization, with the layering paragraph;bin/clean_slate.shexclusion comment/path. - PyAutoHeart: the
config/repos.yamlexcluded list gainsautolens_visualizationbesideautolens_profiling. - Ship Mind → Brain → Heart → autolens_visualization as separate PRs, with the witness from the prompt.
Detailed implementation plan
Affected Repositories
- autolens_visualization (primary)
- PyAutoMind
- PyAutoBrain
- PyAutoHeart
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./lens/autolens_visualization | main (8f3e712) | clean |
| ./organs/PyAutoMind | main (1f07d34) | clean |
| ./organs/PyAutoBrain | main (2139521) | clean |
| ./organs/PyAutoHeart | main (a95ebc9) | clean |
PyAutoMind/PyAutoBrain/PyAutoHeart are also claimed by eyes-organ-order (#439) on feature/eyes-organ-order. A parallel worktree was human-approved on 2026-09-28 (overlap: Mind repos.yaml only).
Suggested branch: feature/autolens-visualization-rebirth (all four repos)
Worktree root: ~/Code/PyAutoLabs-wt/autolens-visualization-rebirth (created by start_library)
Implementation Steps
Human first, quoted verbatim for the session:
gh repo create PyAutoLabs/autolens_visualization --public
Agent, after the human confirms the empty repo exists:
-
History carries over. From the current
organs/PyAutoEyescheckout
(clean, in sync withorigin/main), add the new repo as a remote and push
the current main history to it —git remote add autolens_visualization https://github.com/PyAutoLabs/autolens_visualization.git && git push autolens_visualization main— so every PNG keeps its provenance (PR docs: update stale admin_jammy/prompt/ refs to PyAutoPrompt/ #1,
the phase-0 commits). Then clone it tolens/autolens_visualization
(origin = the new repo). PyAutoEyes main is left untouched here; phase 1b
strips it. -
In
lens/autolens_visualization(task worktree, one PR):- README.md / AGENTS.md (+ CLAUDE.md stub) retitled to
autolens_visualization, the layering stated: a project repo that owns
the lens figures — producers, simulators, datasets,plots.yaml,
instruments, tracked PNGs,GALLERY.md, the render harness — while the
organ PyAutoEyes only aggregates it on its dashboard. Remove organ prose
inherited from phase 0 (registry, board, "every library"). - Tracked manifest.
gallery/gallery_build.pywrites
viz_manifest.yamlto a tracked path (gallery/viz_manifest.yaml),
carrying every figure it holds (producer, domain, relative PNG path,
size, mtime-free content hash) plus the rendered stack version;
output/gallery/gallery.htmlstays gitignored.render.ymlcommits the
manifest alongside the PNGs andGALLERY.md.--checkfails on a stale
manifest. This is the organ's read contract (phase 1b reads it). render.yml: keep thepyautolens-releaserepository_dispatch(plain
git PNGs, no LFS); add a final step that fires arepository_dispatch
(eyes-refresh) at PyAutoEyes so its dashboard refreshes (Cortex
pattern; token as the other cross-repo dispatches use)._viz_cli.pykept;activate.sh, lint.yml unchanged except names.
Keepdataset/imaging/hstbyte-identical to profiling (never
re-simulate).
- README.md / AGENTS.md (+ CLAUDE.md stub) retitled to
-
PyAutoMind — mirror the feat: birth autolens_visualization — permanent figure gallery repo #436 registration set
(complete/2026/09/autolens-visualization-birth.md):repos.yamlrow
afterautolens_inference, template theautolens_profilingrow —autolens_visualization: path: lens/autolens_visualization github: PyAutoLabs/autolens_visualization category: project role: "Rendered PyAutoLens figures — every visualizer output on realistic HST-scale imaging and SMA interferometer data, the producers and harness that render them, re-rendered on each release; aggregated by the PyAutoEyes dashboard."
and the PyAutoEyes
rolerewritten to the layered wording (the
cross-project visualization dashboard over the<lib>_visualization
project repos: registry, manifest contract, Pages board; renders nothing,
never judges, never edits plot code).ROUTING.mdtarget list gains
autolens_visualization. Thenpython3 scripts/repos_sync.py --write
and propagate the generated map blocks / organ tables to their repos
(watch the--write-from-bundle spill into canonical checkouts). -
PyAutoBrain — Eyes conductor prose
(agents/conductors/eyes/AGENTS.md,skills/eyes/eyes.md): default
instance →lens/autolens_visualization, with the layering in one
paragraph (project repos hold the figures; the organ PyAutoEyes is the
dashboard; the registry that lists instances arrives in phase 2);
bin/clean_slate.shdataset-wipe exclusion for the new path._eyes.py
stays repo-name-free. -
PyAutoHeart —
config/repos.yamldrift exclusion / organism list entry
forautolens_visualization, as feat: birth autolens_visualization — permanent figure gallery repo #436 had it.
Ship policy: PR order Mind → Brain → Heart → autolens_visualization. While Heart is RED, the PRs ship only under a contemporaneous human RED override. Merging stays human (/prm).
Witness: bash gallery/gallery_run.sh --all in lens/autolens_visualization reproduces the 40 PNGs (a byte-diff is acceptable only in the version string) and writes the tracked gallery/viz_manifest.yaml. python3 organs/PyAutoMind/scripts/repos_sync.py --check is clean (except the pre-existing hub-blurb leg, if it is still red). pyauto-brain eyes survey lens/autolens_visualization reports no gaps and no orphans.
Key Files
lens/autolens_visualization/README.md,AGENTS.md,CLAUDE.md— retitle to the project-repo rolelens/autolens_visualization/gallery/gallery_build.py— trackedgallery/viz_manifest.yaml+--checkstalenesslens/autolens_visualization/.github/workflows/render.yml— commit the manifest;eyes-refreshdispatch to PyAutoEyesorgans/PyAutoMind/repos.yaml,ROUTING.md— project row, PyAutoEyes role, routing targetorgans/PyAutoBrain/agents/conductors/eyes/AGENTS.md,skills/eyes/eyes.md,bin/clean_slate.sh— default instance + layeringorgans/PyAutoHeart/config/repos.yaml— excluded-list entry
Original Prompt
Click to expand starting prompt
PyAutoEyes phase 1a — re-birth autolens_visualization as the lens project repo
Type: feature
Target: autolens_visualization
Repos:
- autolens_visualization
- PyAutoMind
- PyAutoBrain
- PyAutoHeart
Themes: - visualization
- infrastructure
Difficulty: medium
Autonomy: supervised
Priority: high
Lane: local-dev
Status: draft
Consequence: judge
Witness:bash gallery/gallery_run.sh --allinlens/autolens_visualizationreproduces the 40 PNGs (byte-diff acceptable only in the version string) and writes the trackedgallery/viz_manifest.yaml;python3 organs/PyAutoMind/scripts/repos_sync.py --checkclean (bar the pre-existing hub-blurb leg, if still red);pyauto-brain eyes survey lens/autolens_visualizationreports no gaps and no orphans
Review-minutes: 15
Epic: pyautoeyes-birth
Phase: 1a
Filed: 2026-09-28
Blocked on: human repo creation (gh repo create PyAutoLabs/autolens_visualization --public — the agent is denied gh repo create).
Layering (human decision 2026-09-28)
Two layers, the same shape as autolens_profiling / autolens_inference
under the Brain board. Project repos <lib>_visualization make, store and
track the figures of one library. The organ PyAutoEyes is the cross-project
dashboard that reads every project repo's tracked manifest and links to its
PNGs; it renders nothing and copies no figures. This phase puts the lens
content back into its own project repo; phase 1b strips the organ to its
skeleton.
Task
Human first, quoted verbatim for the session:
gh repo create PyAutoLabs/autolens_visualization --public
Agent, after the human confirms the empty repo exists:
-
History carries over. From the current
organs/PyAutoEyescheckout
(clean, in sync withorigin/main), add the new repo as a remote and push
the current main history to it —git remote add autolens_visualization https://github.com/PyAutoLabs/autolens_visualization.git && git push autolens_visualization main— so every PNG keeps its provenance (PR docs: update stale admin_jammy/prompt/ refs to PyAutoPrompt/ #1,
the phase-0 commits). Then clone it tolens/autolens_visualization
(origin = the new repo). PyAutoEyes main is left untouched here; phase 1b
strips it. -
In
lens/autolens_visualization(task worktree, one PR):- README.md / AGENTS.md (+ CLAUDE.md stub) retitled to
autolens_visualization, the layering stated: a project repo that owns
the lens figures — producers, simulators, datasets,plots.yaml,
instruments, tracked PNGs,GALLERY.md, the render harness — while the
organ PyAutoEyes only aggregates it on its dashboard. Remove organ prose
inherited from phase 0 (registry, board, "every library"). - Tracked manifest.
gallery/gallery_build.pywrites
viz_manifest.yamlto a tracked path (gallery/viz_manifest.yaml),
carrying every figure it holds (producer, domain, relative PNG path,
size, mtime-free content hash) plus the rendered stack version;
output/gallery/gallery.htmlstays gitignored.render.ymlcommits the
manifest alongside the PNGs andGALLERY.md.--checkfails on a stale
manifest. This is the organ's read contract (phase 1b reads it). render.yml: keep thepyautolens-releaserepository_dispatch(plain
git PNGs, no LFS); add a final step that fires arepository_dispatch
(eyes-refresh) at PyAutoEyes so its dashboard refreshes (Cortex
pattern; token as the other cross-repo dispatches use)._viz_cli.pykept;activate.sh, lint.yml unchanged except names.
Keepdataset/imaging/hstbyte-identical to profiling (never
re-simulate).
- README.md / AGENTS.md (+ CLAUDE.md stub) retitled to
-
PyAutoMind — mirror the feat: birth autolens_visualization — permanent figure gallery repo #436 registration set
(complete/2026/09/autolens-visualization-birth.md):repos.yamlrow
afterautolens_inference, template theautolens_profilingrow —autolens_visualization: path: lens/autolens_visualization github: PyAutoLabs/autolens_visualization category: project role: "Rendered PyAutoLens figures — every visualizer output on realistic HST-scale imaging and SMA interferometer data, the producers and harness that render them, re-rendered on each release; aggregated by the PyAutoEyes dashboard."
and the PyAutoEyes
rolerewritten to the layered wording (the
cross-project visualization dashboard over the<lib>_visualization
project repos: registry, manifest contract, Pages board; renders nothing,
never judges, never edits plot code).ROUTING.mdtarget list gains
autolens_visualization. Thenpython3 scripts/repos_sync.py --write
and propagate the generated map blocks / organ tables to their repos
(watch the--write-from-bundle spill into canonical checkouts). -
PyAutoBrain — Eyes conductor prose
(agents/conductors/eyes/AGENTS.md,skills/eyes/eyes.md): default
instance →lens/autolens_visualization, with the layering in one
paragraph (project repos hold the figures; the organ PyAutoEyes is the
dashboard; the registry that lists instances arrives in phase 2);
bin/clean_slate.shdataset-wipe exclusion for the new path._eyes.py
stays repo-name-free. -
PyAutoHeart —
config/repos.yamldrift exclusion / organism list entry
forautolens_visualization, as feat: birth autolens_visualization — permanent figure gallery repo #436 had it.
Ship policy
PR order Mind → Brain → Heart → autolens_visualization. While Heart is RED the
PRs ship only under a contemporaneous human RED override. Merge stays human
(/prm). Phase 1b must not start deleting organ content until this phase is
merged and the history is confirmed on the new repo (git ls-remote).
Activity
prompt: route autolens-visualization-rebirth (#446) → start_library
Jammy2211 commentedon Sep 28, 2026
Library PRs Created (phase 1a)
autolens_visualization; PyAutoEyes role → cross-project dashboard/eyesdefault instance →lens/autolens_visualizationautolens_visualizationfrom pollinggallery/viz_manifest.yaml(PyAutoEyes read contract)API changes: none — internal only; no workspace-script impact (no
/start_workspaceneeded).Heart: YELLOW, human-acknowledged 2026-09-28 (recorded as
heart-ack:in active.md).Note: Mind#447's firewall leg is red until Brain#426 merges (CI reads Brain main's organism-map block). Merge Brain first, or re-run it after.
Merge stays human →
/prm. After that, the map-block follow-up PRs go out fromtmp/handover/map-block-*.patch.🤖 Generated with Claude Code
Jammy2211 commentedon Sep 28, 2026
Parallel claim on PyAutoBrain (human-approved 2026-09-28): task
eyes-organ-skeleton(#448, PyAutoEyes phase 1b) branchesfeature/eyes-organ-skeletonin PyAutoBrain. There is no file overlap: it touches onlytests/test_policy_seams.pyandconfig/policy.yaml(moving PyAutoEyes from WITNESS_EXEMPT to a test_witness row).Merge pull request #447 from PyAutoLabs/feature/autolens-visualizatio…
Jammy2211 commentedon Sep 28, 2026
Body-map propagation after #447/#449 — map-block PR status (from
repos_sync --writeon Mind main76ef959a)AGENTS.md--writeoutput — clear to mergeAGENTS.md--writeoutput — clear to mergeREADME.md--writeoutput — clear to mergeAGENTS.md--writediff (byte-identical), label pending-releaseAGENTS.md--writereported unchanged).githubprofile/README.mdfeature/pyautoeyes-birth-organ-row);--writediff saved totmp/handover/map-block-dotgithub-post449.patch(moves the Eyes row after Memory, and updates its text)Remaining
--checkred legs: organism-map (Cortex/Nerves/Gut) and front-door tables (Scientist, .github) clear when the PRs above merge and the .github patch is applied. The generated-hooks leg (38 copies) is still red:session_hook_propagate.ymldid not run on the #449 merge — no push-event workflow ran on76ef959aat all (only the Pages Dashboard dispatch), so the organ-order hook change was never propagated. It needs a manualgh workflow run session_hook_propagate.yml -R PyAutoLabs/PyAutoMind(human decision; not dispatched by this session).🤖 Generated with Claude Code
https://claude.ai/code/session_01CpGs8DxC5qA1MtHcmHeaBQ
Jammy2211 commentedon Sep 28, 2026
Shipped (phase 1a of
pyautoeyes-birth)All four task PRs merged by the human via
/prm(2026-09-28):9fe391ad): registersautolens_visualizationinrepos.yaml(project row afterautolens_inference); PyAutoEyes role is now the cross-project dashboardd8710e42): Eyes conductor and/eyesdefault instance point atlens/autolens_visualization; layering paragraph;clean_slate.shexclusioncfbe3d41):autolens_visualizationexcluded from polling / on the organism list0e96a285): trackedgallery/viz_manifest.yaml, which the PyAutoEyes organ reads;render.ymlcommits it and fireseyes-refreshEach branch tip is proven an ancestor of
origin/main(git merge-base --is-ancestor) in every repo.Map-block follow-ups (from
repos_sync --writeafter #447/#449):.githubprofile/README.md. Applytmp/handover/map-block-dotgithub-post449.patch(agents are denied any.githuborg-profile touch)gh workflow run session_hook_propagate.yml -R PyAutoLabs/PyAutoMindby hand (a human decision)Human notes
eyes-refreshdispatch inrender.ymlwarns and skips untilPAT_PYAUTOLABScovers PyAutoEyes and the secret is available toautolens_visualization. Add both repos to the PAT's repo list.POST /pages). It lands with phase 1b / 2.Layering (human decision 2026-09-28): project repos
<lib>_visualizationmake, store and track the figures. The organ PyAutoEyes is the cross-project dashboard that reads each repo's tracked manifest and renders nothing.Next: phase 1b, PyAutoMind#448 (
eyes-organ-skeleton), is in flight (shipped, awaiting merge). Then phase 2.Pending release (carried into the record): PyAutoMind#447, PyAutoBrain#426, PyAutoHeart#240, autolens_visualization#1.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CpGs8DxC5qA1MtHcmHeaBQ
prompt: close autolens-visualization-rebirth (#446) → complete