feat: Eyes board chip + strip, eyes conductor --instance via the PyAutoEyes registry (PyAutoEyes 2) - #429
Merged
Conversation
…toEyes registry (PyAutoEyes 2) - config/policy.yaml boards gains eyes: PyAutoEyes, between memory and heart in the canonical organ order. - board/_theme.py gets ORGANS["eyes"] (a designed iris gold, clear of the Hands orange; contrast is 5.7:1 light and 11.6:1 dark) and MARKS["eyes"] (an eye in line art). - board/_board.py gets collect_eyes(). It reads the counts table at the head of the PyAutoEyes dashboard.md (instances, figures, behind, critiques) and renders an Eyes line beside the Cortex strip. The Cortex read is factored into _dashboard_counts(). - The eyes conductor gets --instance <name> (repeatable). It resolves through the PyAutoEyes registry.yaml, found at $PYAUTO_EYES, then the sibling checkout, then _repo_paths. Handing survey/review the organ root covers every registered instance, and --json emits an EyesInstanceSet that records the instances it skipped. A resolved survey also checks that the registry's tracked manifest is present. The registry is read stdlib-only, and the code still names no instance (pinned by a test). - Prose: agents/conductors/eyes/AGENTS.md and skills/eyes/eyes.md now document --instance and the dashboard critique route. PyAutoMind#451. Follows #428 (PyAutoMind#448). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CpGs8DxC5qA1MtHcmHeaBQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PyAutoEyes phase 2 (PyAutoMind#451, epic
pyautoeyes-birth), Brain half. The companion is PyAutoLabs/PyAutoEyes#3, which merges first. This follows #428 (PyAutoMind#448).config/policy.yamlboard.boardsgainseyes: PyAutoEyesin the canonical organ order (Brain, Mind, Cortex, Memory, Eyes, Heart, Hands, Nerves, Gut).board/_theme.pygainsORGANS["eyes"], an iris gold designed because there is no logo file yet. It sits clear of the Hands orange, at 5.7:1 on white and 11.6:1 on#0d1117. It also gainsMARKS["eyes"], an eye in line art. Every family footer (Heart, Hands, Gut, Cortex, Mind) picks up the chip through_theme.board_links.collect_eyes()reads the counts table at the head of the PyAutoEyesdashboard.md(instances, figures, behind, critiques) and composes it rather than recomputing. It renders beside the Cortex strip in both md and html, and is absent when no Eyes checkout exists. The Cortex read is factored into_dashboard_counts().--instance.pyauto-brain eyes survey|review --instance <name>(repeatable) resolves the checkout through the PyAutoEyesregistry.yaml, trying the groupedpathfirst and then the flatrepo.$PYAUTO_EYES, then beside this Brain, then via_repo_paths.--jsonemits anEyesInstanceSetfor multi-instance runs. A resolved survey also reports whether the registry's tracked manifest is present.agents/conductors/eyes/AGENTS.mdandskills/eyes/eyes.mdnow cover--instance, the organ-root fan-out, exit code 2, and the dashboard critique route (the/eyes reviewline and the pre-filledeyes-critiqueissue, which is raw input for intake).API Changes
Additive:
eyes survey|reviewtake--instance NAME, and the positional root is now optional.eyes.eyes.See full details below.
Test Plan
env -u PYAUTO_ROOT -u PYAUTO_MIND -u PYAUTO_BRAIN -u PYAUTO_HEART -u PYAUTO_HANDS OMP_NUM_THREADS=8 python -m pytest tests -q): 1085 passed (serial, 265 s)tests/test_board_theme.py(33),tests/test_board.py+test_board_degraded.py(hermetic Eyes strip test included),tests/test_eyes_conductor.py(13, including 6 new registry tests on a fabricated organ)pytest tests -k footeragainst this branch (PYAUTO_BRAIN+PYTHONPATH): 3 + 3 passed. The Heart footer rendersbrain, mind, cortex, memory, eyes, hands, nerves, gut, organismbin/pyauto-brain eyes survey --instance lensreportsimaging/visualization: 22 png,interferometer/visualization: 18 png, no gaps, andTracked manifest: gallery/viz_manifest.yaml — presentHeart at ship: YELLOW, and every reason is in the human-acknowledged set. The extra STALE marker "release validation incomplete: no rehearsal for current source" concerns release validation only.
Full API Changes (for automation & release notes)
Added
agents/conductors/eyes/_eyes.py:--instance NAME(repeatable) onsurveyandreview;eyes_root(),read_registry(),is_organ_root(),instance_checkout(),select_instances(),RegistryError; theEyesInstanceSetJSON kind;gallery.tracked_manifeston registry-resolved surveys;instanceon each registry-resolved decisionboard/_board.py:collect_eyes(),_dashboard_counts(), and the surface keyeyesboard/_theme.py:ORGANS["eyes"],MARKS["eyes"]config/policy.yaml:board.boards.eyes: PyAutoEyesChanged Behaviour
eyespositional root is optional. Given the PyAutoEyes root, the conductor fans out to every registered instance._theme.board_links()includeseyes, so every family footer gains the chip.Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CpGs8DxC5qA1MtHcmHeaBQ