Repository navigation
Description
Overview
Phase 5 of the pyautoeyes-birth epic (phases 0–4 complete, #455 closed 2026-09-29). With four <lib>_visualization project repos live and the PyAutoEyes dashboard published (265 figures), this phase retires the pre-organ duplicate — autolens_workspace_test/gallery/ — drops autolens_workspace_test as a "secondary Eyes instance" in Brain prose, links the dashboard from every public surface (RTD Eyes page, PyAutoScientist, the pyautolabs.github.io hub) and gives the Eyes a state.json cockpit feed so its cockpit card stops being grey.
Human decisions (session 2026-09-30): keep the workspace_test scripts/*/visualization/ scripts (lens and galaxy) as regression material, only gallery/ goes; include the Eyes state.json cockpit feed here; close the bug draft eyes_survey_recursive_producers.md as moot (its only motivating case was workspace_test's nested layout; no registered instance nests producers).
Heart at the door: YELLOW (open PRs 7–8 d old: HowToGalaxy, HowToLens, PyAutoMemory) — acknowledged at ship time.
Plan
- Delete
autolens_workspace_test/gallery/(gallery_build.py,gallery_run.sh) and fix its two AGENTS.md prose lines; keep the visualization scripts. - Brain: drop the "secondary instance" claims (conductor AGENTS.md,
/eyesskill); refresh the RTD Eyes page tail (phases shipped, dashboard link). - PyAutoEyes: add a
state.jsoncockpit feed (render + write + Pages copy + validation against the Brain contract) with tests; regenerate the tracked dashboard files. - Hub: point the Eyes cockpit card at the feed, add the dashboard link to the prose, drop the "Eyes stays grey" lines.
- PyAutoScientist: Eyes dashboard row in the dashboard list + dashboard link in the organ table row.
- Mind: task
eyes-retire-duplicates-surfaces, bundle worktree; delete the moot bug draft in the same Mind commit.
Detailed implementation plan
Affected Repositories
- PyAutoEyes (primary)
- autolens_workspace_test
- PyAutoBrain
- PyAutoScientist
- pyautolabs.github.io
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| organs/PyAutoEyes | main | clean (3 untracked stale render dirs, human clean -fdx TODO) |
| lens/autolens_workspace_test | main | clean |
| organs/PyAutoBrain | main | clean |
| organs/PyAutoScientist | main | clean |
| pyautolabs.github.io | main | clean |
worktree_check_conflict clean for all five. Suggested branch: feature/eyes-retire-duplicates-surfaces; bundle ~/Code/PyAutoLabs-wt/eyes-retire-duplicates-surfaces.
Implementation Steps
- autolens_workspace_test:
git rm -r gallery/;AGENTS.md:36andscripts/AGENTS.md:12-13dropgallery/from the "outside the taxonomy" lines and note that lens figure rendering lives inautolens_visualizationwhilescripts/*/visualization/stay JIT/plotting regression scripts.smoke_tests.txtunchanged. - PyAutoBrain:
agents/conductors/eyes/AGENTS.md:31-32andskills/eyes/eyes.md:11-13— the four registered instances are the only Eyes targets; workspace_test's harness retired in phase 5.docs/organs/eyes.md— dashboard link beside the repo link; tail rewritten as history (1a #446, 1b #448, 2 #451, 3 #452, 4 #455, 5 this issue); state that the organ publishesbadge.json+state.json.pytest tests/test_eyes_conductor.pyas no-regression. - PyAutoEyes:
eyes/board.pyrender_state(views, updated=None)besiderender_badge— schema_version 1, organeyes, repoPyAutoEyes, pages_url the dashboard,updatedISO-8601 UTC; status red if any manifest unavailable, yellow if any instance behind / gaps / stale / open critiques, else green; headline = badge message; items most-urgent-first (red per unavailable manifest; yellow per behind instance with/eyes survey --instance <name>prompt; yellow per instance with open critiques with/eyes review <instance>prompt; info rows for gaps/stale).write()also writesstate.json.pages_dashboard.ymlcopiesstate.jsoninto_site/and validates it withpython3 PyAutoBrain/board/_state.py _site/state.jsonafter a sparse checkout of PyAutoBrainboard/(PyAutoGutgut_board.ymlpattern). README generated-files table +checkcoverstate.json. Tests: extendtest_write_emits_both_pages_and_the_badge; newtest_state_feed_matches_brain_contract(validator imported by path from the canonical Brain checkout, skip if absent). Regeneratedashboard.md/html,badge.json,state.json. - pyautolabs.github.io (merge last, after the Eyes Pages deploy):
cockpit/index.html:159feed: BASE + "PyAutoEyes/state.json";index.html:346-355add "The Eyes board" link;AGENTS.md:55,README.md:39drop "Eyes stays grey". - PyAutoScientist
README.md: Eyes dashboard bullet in the dashboard list (:12-15), dashboard link on the Eyes organ row (:65). - PyAutoMind:
git rm draft/bug/pyautobrain/eyes_survey_recursive_producers.md(moot) in the prompt-move commit.
PR order: Brain → autolens_workspace_test → PyAutoScientist → PyAutoEyes → hub.
Key Files
organs/PyAutoEyes/eyes/board.py—render_badge/writegain thestate.jsonsiblingorgans/PyAutoEyes/.github/workflows/pages_dashboard.yml— stage + validate the feedorgans/PyAutoBrain/board/state_schema.json,board/_state.py— the cockpit contract and validatororgans/PyAutoBrain/agents/conductors/eyes/AGENTS.md,skills/eyes/eyes.md,docs/organs/eyes.md— proselens/autolens_workspace_test/gallery/— deletedpyautolabs.github.io/cockpit/index.html,index.html— feed + linkorgans/PyAutoScientist/README.md— dashboard links
Verification
- workspace_test:
git ls-files galleryempty; nogallery_references; PR smoke CI green. - Brain: conductor tests green; no "secondary instance" text; RTD docs CI leg green.
- PyAutoEyes:
pytest tests/green;bin/pyauto-eyes board && bin/pyauto-eyes checkOK;_state.py state.jsonexit 0; after deployhttps://pyautolabs.github.io/PyAutoEyes/state.jsonvalid. - Hub: cockpit Eyes card coloured; lychee green.
repos_sync.py --checkgreen.
Original Prompt
Click to expand starting prompt
PyAutoEyes phase 5 — retire duplicate galleries + public surfaces
Type: feature
Target: PyAutoEyes
Repos:
- PyAutoEyes
- autolens_workspace_test
- PyAutoBrain
- PyAutoScientist
- pyautolabs.github.io
Themes: - visualization
- infrastructure
Difficulty: medium
Autonomy: supervised
Priority: normal
Lane: local-dev
Status: draft
Consequence: judge
Witness:autolens_workspace_test/gallery/deleted with no CI referencing it; RTDdocs/organs/eyes.mdfull page builds;repos_sync.py --checkgreen
Review-minutes: 15
Epic: pyautoeyes-birth
Phase: 5
Filed: 2026-09-25
Unblocked: phase 4 COMPLETE 2026-09-29 (PyAutoMind#455; record complete/2026/09/eyes-fit-cti-instances.md).
Task
Delete autolens_workspace_test/gallery/ (no CI uses it; the lens figures
live in autolens_visualization) and decide, per workspace_test, whether
their visualization*.py scripts stay as smoke scripts; drop
autolens_workspace_test as a secondary Eyes conductor instance. RTD
docs/organs/eyes.md full page describing the two layers (the
<lib>_visualization project repos and the PyAutoEyes dashboard);
PyAutoScientist + hub prose linking the dashboard;
autolens_profiling/autolens_inference unchanged (profiling stays
per-library by the pinned-timing argument).
Activity
Jammy2211 commentedon Sep 30, 2026
Shipped to PR-open — 2026-09-30
PRs (merge in this order)
/eyesprose, RTD Eyes pagegallery/deleted (pending-release)state.jsoncockpit feed (closes this issue)Heart gate
Door: YELLOW (HowToGalaxy / HowToLens / PyAutoMemory open PRs). At ship, after ff-pulling stale canonical mains (the transient RED was local staleness), YELLOW with reasons unrelated to this task, quoted verbatim:
Ack basis: the in-session plan approval (which quoted the door-time set). The reason set changed between door and ship; please confirm at
/prm.Decisions
autolens_workspace_test(andautogalaxy_workspace_test)scripts/*/visualization/scripts as regression material; onlygallery/goes.state.json'supdatedstamp moves only when the feed content changes, so the nightly refresh commits nothing on a quiet night; it means "last change", not "last render".repos.yaml(repos_sync.py), so no board link was hand-added there; the README dashboard list carries the link instead. A board-link column inorgan_public_tablewould be a Mind change if wanted.draft/bug/pyautobrain/eyes_survey_recursive_producers.mdremoved as moot (no registered instance nests producers).Follow-ups filed
draft/bug/pyautoeyes/critique_text_match_double_counts_cross_instance_drafts.md— one Mind draft naming two instance repos is counted as a critique of both (8 shown for 7 drafts).Human TODO (unchanged from phase 4)
.githuborg-profile patch (the "public front-door organ tables" drift above)git -C organs/PyAutoEyes clean -fdx(stale render leftovers)