Skip to content

feat: phase 5 — retire duplicate galleries, link the dashboard, cockpit feed #6

Closed

Description

@Jammy2211

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, /eyes skill); refresh the RTD Eyes page tail (phases shipped, dashboard link).
  • PyAutoEyes: add a state.json cockpit 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

  1. autolens_workspace_test: git rm -r gallery/; AGENTS.md:36 and scripts/AGENTS.md:12-13 drop gallery/ from the "outside the taxonomy" lines and note that lens figure rendering lives in autolens_visualization while scripts/*/visualization/ stay JIT/plotting regression scripts. smoke_tests.txt unchanged.
  2. PyAutoBrain: agents/conductors/eyes/AGENTS.md:31-32 and skills/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 publishes badge.json + state.json. pytest tests/test_eyes_conductor.py as no-regression.
  3. PyAutoEyes: eyes/board.py render_state(views, updated=None) beside render_badge — schema_version 1, organ eyes, repo PyAutoEyes, pages_url the dashboard, updated ISO-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 writes state.json. pages_dashboard.yml copies state.json into _site/ and validates it with python3 PyAutoBrain/board/_state.py _site/state.json after a sparse checkout of PyAutoBrain board/ (PyAutoGut gut_board.yml pattern). README generated-files table + check cover state.json. Tests: extend test_write_emits_both_pages_and_the_badge; new test_state_feed_matches_brain_contract (validator imported by path from the canonical Brain checkout, skip if absent). Regenerate dashboard.md/html, badge.json, state.json.
  4. pyautolabs.github.io (merge last, after the Eyes Pages deploy): cockpit/index.html:159 feed: BASE + "PyAutoEyes/state.json"; index.html:346-355 add "The Eyes board" link; AGENTS.md:55, README.md:39 drop "Eyes stays grey".
  5. PyAutoScientist README.md: Eyes dashboard bullet in the dashboard list (:12-15), dashboard link on the Eyes organ row (:65).
  6. 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/write gain the state.json sibling
  • organs/PyAutoEyes/.github/workflows/pages_dashboard.yml — stage + validate the feed
  • organs/PyAutoBrain/board/state_schema.json, board/_state.py — the cockpit contract and validator
  • organs/PyAutoBrain/agents/conductors/eyes/AGENTS.md, skills/eyes/eyes.md, docs/organs/eyes.md — prose
  • lens/autolens_workspace_test/gallery/ — deleted
  • pyautolabs.github.io/cockpit/index.html, index.html — feed + link
  • organs/PyAutoScientist/README.md — dashboard links

Verification

  • workspace_test: git ls-files gallery empty; no gallery_ 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 check OK; _state.py state.json exit 0; after deploy https://pyautolabs.github.io/PyAutoEyes/state.json valid.
  • Hub: cockpit Eyes card coloured; lychee green.
  • repos_sync.py --check green.

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; RTD docs/organs/eyes.md full page builds; repos_sync.py --check green
    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

  1. Jammy2211 commented on Sep 30, 2026

    @Jammy2211
    ContributorAuthor

    Shipped to PR-open — 2026-09-30

    PRs (merge in this order)

    1. docs: Eyes targets are the four registered instances; RTD page links the dashboard (PyAutoEyes 5) PyAutoBrain#432 — conductor + /eyes prose, RTD Eyes page
    2. chore: retire the pre-organ gallery harness (PyAutoEyes phase 5) autolens_workspace_test#327 — gallery/ deleted (pending-release)
    3. docs: link the PyAutoEyes dashboard from the README (PyAutoEyes 5) PyAutoScientist#37 — README dashboard bullet
    4. feat: publish the state.json organ-cockpit feed (PyAutoEyes 5) #7 — state.json cockpit feed (closes this issue)
    5. feat: cockpit reads the Eyes feed; hub links the Eyes board (PyAutoEyes 5) pyautolabs.github.io#17 — cockpit feed + hub link; after PyAutoEyes#7 has deployed Pages

    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:

    • workspace validation not passing (0 failed, 1 timeout, cloud#36404726969: autolens_test scripts/multi_dataset/rectangular.py)
    • manifest drift: public front-door organ tables (generated) — 1 mismatch(es) vs PyAutoMind/repos.yaml
    • HowToGalaxy: open PR 8d old
    • HowToLens: open PR 8d old
    • release validation incomplete: no rehearsal for current source

    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

    • Kept autolens_workspace_test (and autogalaxy_workspace_test) scripts/*/visualization/ scripts as regression material; only gallery/ goes.
    • state.json's updated stamp moves only when the feed content changes, so the nightly refresh commits nothing on a quiet night; it means "last change", not "last render".
    • The PyAutoScientist organ-table row is generated from PyAutoMind 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 in organ_public_table would be a Mind change if wanted.
    • Bug draft draft/bug/pyautobrain/eyes_survey_recursive_producers.md removed as moot (no registered instance nests producers).

    Follow-ups filed

    • PyAutoMind 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)

    • .github org-profile patch (the "public front-door organ tables" drift above)
    • git -C organs/PyAutoEyes clean -fdx (stale render leftovers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions