Repository navigation
Description
Overview
Phase 1b of the pyautoeyes-birth epic. Under the layered design (human decision 2026-09-28), each <lib>_visualization project repo makes, stores and tracks its figures; the organ PyAutoEyes becomes the cross-project dashboard over them. This task strips PyAutoEyes of the lens gallery content that phase 1a (#446) moved to PyAutoLabs/autolens_visualization, and builds the organ skeleton: registry.yaml, the versioned manifest contract, the eyes/ package, bin/pyauto-eyes, and the Pages dashboard workflows. The organ renders nothing, copies no figures, never judges, and never edits library plot code.
Plan
- Strip (commit 1, reviewable alone): delete producers, simulators,
dataset/, tracked PNGs,GALLERY.md,instruments/,config/,gallery/,_viz_cli.py,activate.sh,lint.yml/render.yml. The history is preserved in git and onPyAutoLabs/autolens_visualization(refs/heads/main 8f3e712). - Skeleton (commit 2):
registry.yaml(lens row only),REFERENCE.md(manifest contract schema 1), theeyes/package (registry, manifest reader, board builder),bin/pyauto-eyes(board,check,survey), organ prose stating the layering and boundary, hermetic tests, and the workflowslint.yml,pages_dashboard.ymlanddashboard_refresh.yml(repository_dispatcheyes-refreshplus a daily cron, the Cortex pattern). - Brain (one change): replace the PyAutoEyes
WITNESS_EXEMPTentry intests/test_policy_seams.pywith apyautoeyes: PyAutoEyes/testsrow in theconfig/policy.yamltest_witnessmap. - Ship order: PyAutoEyes first, then PyAutoBrain. PRs wait until PyAutoMind#447 (phase 1a) is merged. Merge stays human.
Detailed implementation plan
Affected Repositories
- PyAutoEyes (primary)
- PyAutoBrain (witness row only)
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./organs/PyAutoEyes | main (8f3e712 = origin) | clean |
| ./organs/PyAutoBrain | main | clean |
worktree_check_conflict: PyAutoEyes is free. PyAutoBrain is claimed by eyes-organ-order (#439) and autolens-visualization-rebirth (#446). A parallel claim was human-approved in-session on 2026-09-28. The files do not overlap: 1b touches only tests/test_policy_seams.py and config/policy.yaml, #446 touches the eyes conductor prose, docs and clean_slate, and #439 touches _pyauto_root and docs.
Suggested branch: feature/eyes-organ-skeleton
Implementation Steps
- PyAutoEyes commit 1 (strip):
git rmofscripts/,dataset/,config/,instruments/,gallery/,GALLERY.md,_viz_cli.py,activate.sh,.github/workflows/{lint,render}.yml. KeepLICENSE,AI_POLICY.md,ruff.toml, theCLAUDE.mdstub,.claude/hooks, and therepos_sync:*marker blocks inAGENTS.md. - PyAutoEyes commit 2 (skeleton):
registry.yaml: lens row withname, repo, path, github, library, import_name, manifest, images_base_url, gallery, dispatch_event.REFERENCE.md: the manifest contract, schema 1 (schema, generated, rendered_with{...}, figure_count, figures[{file, producer, domain, source, bytes, sha256}]), what the organ reads, and the versioning rule.eyes/registry.py,eyes/manifest.py(local path or raw GitHub URL; validates schema 1),eyes/board.py(dashboard.md+dashboard.html: per instance the figure count, rendered_with, generated date, freshness vs the latest library release with a graceful offline fallback, a thumbnail grid linking the raw PNGs, and a copyable/eyes review <instance> <figure>line per figure).bin/pyauto-eyes:board [--offline] [--from <instance>=<path>],check,survey [<instance>|--all](delegates topyauto-brain eyes survey <instance path>).AGENTS.md/README.md/CLAUDE.md: state the layering and the boundary.tests/: hermetic tests for the registry, the manifest reader, the board builder and check..github/workflows/lint.yml(ruff, pytest,pyauto-eyes check, lychee),pages_dashboard.yml,dashboard_refresh.yml.
- PyAutoBrain: move PyAutoEyes out of
WITNESS_EXEMPTinto thetest_witnessrow inconfig/policy.yaml. Run the policy_seams and skill_seams tests.
Key Files
PyAutoEyes/registry.yaml,PyAutoEyes/REFERENCE.md,PyAutoEyes/eyes/*.py,PyAutoEyes/bin/pyauto-eyes,PyAutoEyes/tests/,PyAutoEyes/.github/workflows/*.ymlPyAutoBrain/config/policy.yaml(test_witness),PyAutoBrain/tests/test_policy_seams.py(WITNESS_EXEMPT)- Read contract source:
autolens_visualization/gallery/viz_manifest.yaml,gallery/gallery_build.py,.github/workflows/render.yml(fireseyes-refresh)
Feature Agent note
The Feature Agent sized this as large and suggested splitting it further. The epic's declared phasing (1a / 1b / 2) wins: the dashboard content is kept modest here, and phase 2 (eyes_p2_board_and_conductor_registry.md) expands it.
Original Prompt
Click to expand starting prompt
PyAutoEyes phase 1b — strip the organ to its dashboard skeleton
Type: feature
Target: PyAutoEyes
Repos:
- PyAutoEyes
- PyAutoBrain
Themes: - visualization
- infrastructure
Difficulty: large
Autonomy: supervised
Priority: high
Lane: local-dev
Status: draft
Consequence: judge
Witness:pyauto-eyes checkgreen against the lens registry row (manifest resolves, every listed PNG URL resolves); hermetic tests green (registry, manifest reader, board builder on a fabricated manifest, check); lint.yml green on the PR;pyauto-eyes boardwritesdashboard.md/.htmlwith a lens row linking intoPyAutoLabs/autolens_visualization
Review-minutes: 15
Epic: pyautoeyes-birth
Phase: 1b
Filed: 2026-09-28
Blocked on: phase 1a shipped (history confirmed on PyAutoLabs/autolens_visualization).
Task
PyAutoEyes becomes the cross-project dashboard of the layered design (human
decision 2026-09-28): it reads each <lib>_visualization project repo's
tracked manifest and links to its PNGs. It renders nothing, copies no
figures, never judges (the Brain Eyes conductor does), never edits library
plot code (critiques route through intake).
- Strip, in one PR. Delete from the organ everything phase 1a moved to
autolens_visualization:scripts/producers + simulators,dataset/,
the tracked PNGs,GALLERY.md,instruments/,config/,gallery/,
_viz_cli.py,activate.sh,render.yml. History stays in git and in
the project repo. registry.yaml— one row per instance:name, path, github, library, import_name, manifest(tracked path in the project repo, e.g.
gallery/viz_manifest.yaml),images_base_url(raw.githubusercontent
base),dispatch(the library release event the project repo re-renders
on). Lens row only.- Manifest contract —
REFERENCE.mdspecifies the fields the project
repos commit (figure list + rendered stack version) and what the organ
reads; versioned so project repos and organ can move independently. eyes/package —registry.py(read + validateregistry.yaml),
manifest.py(read a manifest from a local checkout or its GitHub raw URL),
board.py(builddashboard.md/.htmlfrom registry + manifests; phase 2
fills the content).bin/pyauto-eyes—board,check(registry valid, every manifest
reachable and parseable, every PNG URL resolves),survey(runs
pyauto-brain eyes survey <instance root>per registered instance).- Organ prose — AGENTS.md / README.md / REFERENCE.md / CLAUDE.md stub
stating the layering (project repos make, store and track figures; the
organ is where the human checks in on visualization across all projects;
same layering asautolens_profiling/autolens_inferenceunder the
Brain board),repos_sync:mapmarkers kept. - Workflows —
lint.yml(ruff, pytest,pyauto-eyes check, lychee);
pages_dashboard.yml+dashboard_refresh.ymlonrepository_dispatch
(eyes-refresh, fired by each project repo'srender.yml) and a daily
cron (Cortex pattern). - Tests — hermetic: registry, manifest reader, board builder on a
fabricated manifest,check. Then replace the BrainWITNESS_EXEMPT
entry (tests/test_policy_seams.py) with apyautoeyes:row in
config/policy.yaml's witness map.
Ship policy
PyAutoBrain (witness row) merges after PyAutoEyes. While Heart is RED the PRs
ship only under a contemporaneous human RED override. Merge stays human.
Activity
prompt: file issue for eyes-organ-skeleton (#448); register library-d…
session: regenerate the organism map + session-start hook for the can…
prompt: close autolens-visualization-rebirth (#446) → complete
Jammy2211 commentedon Sep 28, 2026
PRs created — phase 1b (eyes-organ-skeleton)
pending-release(label created on PyAutoEyes, mirroring Mind's)config/policy.yamlPyAutoEyestest_witnessrow; labelpending-release. Merge after PyAutoEyes#2.Validation
pytest tests -q48 passed; ruff check + format cleanbin/pyauto-eyes checklive against the raw GitHub URL:check: OK(registry 1 instance; lens manifest schema 1, 40 figures; all 40 raw URLs resolve; dashboard current). Dashboard freshness now readsbehind (rendered 2026.8.17.1, released 2026.9.27.2).831a927): 1078 passedrepos_syncnow reports 40/40; autolens_test multi_dataset/rectangular.py timeout cloud#36404726969). No new reasons.The organ renders nothing, judges nothing and copies nothing; the removed lens content's history lives on PyAutoLabs/autolens_visualization (PR #1 merged).
Human steps
/prm— merge PyAutoEyes#2, then PyAutoBrain#428.pages_dashboard.ymlpublishes the board after merge.dashboard_refresh.ymllistens for theeyes-refreshdispatch from autolens_visualization'srender.yml.🤖 Generated with Claude Code
https://claude.ai/code/session_01CpGs8DxC5qA1MtHcmHeaBQ
lint: exclude the organ's own Pages URL from lychee until it publishes
Jammy2211 commentedon Sep 28, 2026
Shipped — phase 1b (eyes-organ-skeleton)
Both PRs merged by the human via
/prmon 2026-09-28:b299dc7)config/policy.yamlPyAutoEyestest_witnessrow (merged 20:36:51Z,195033f)Merge proven per repo: both branch tips (Eyes
3153793, Brain3c443bc) are ancestors oforigin/main.Post-merge verification on PyAutoEyes
mainregistry.yaml,eyes/,bin/pyauto-eyes,dashboard.md/.html; noscripts/,dataset/orGALLERY.md.bin/pyauto-eyes check(live):linton the merge commit: success.Pages Dashboardon the merge commit (run 36480443757): failure, as expected.actions/configure-pagesgotGet Pages site failed: Not Foundand thenCreate Pages site failed: Resource not accessible by integration, because Pages is not enabled on the repo yet.Human steps left
pages_dashboard.yml(workflow_dispatch) so the board publishes.--exclude '^https://pyautolabs\.github\.io/PyAutoEyes'lychee exclusion in.github/workflows/lint.yml.autolens_visualization'srender.ymlsends theeyes-refreshdispatch withsecrets.PAT_PYAUTOLABS. That PAT must be granted toautolens_visualizationand must coverPyAutoLabs/PyAutoEyes. Without it the step warns and skips, anddashboard_refresh.ymlonly catches up on its schedule. Add both repos to the PAT's repository list.Pending release (carried into the record): PyAutoEyes#2, PyAutoBrain#428.
Next: phase 2 (
draft/feature/pyautoeyes/eyes_p2_board_and_conductor_registry.md).🤖 Generated with Claude Code
https://claude.ai/code/session_01CpGs8DxC5qA1MtHcmHeaBQ
prm: close eyes-organ-skeleton (#448) → complete; epic pyautoeyes-bir…
active: eyes-board-conductor-registry — drop parallel-claim (#448 clo…
likelihood-lifecycle-p0-profiling: PR 3 #448 + Pulse#74 shipped, awai…
likelihood-lifecycle-p0-profiling: #448 + Pulse#74 merged (lens @3); …