diff --git a/.claude/hooks/session-start.sh b/.claude/hooks/session-start.sh index b85694d7..bd9dcd2c 100755 --- a/.claude/hooks/session-start.sh +++ b/.claude/hooks/session-start.sh @@ -132,12 +132,12 @@ marked_root() { holds_an_organ() { [ -d "$1/PyAutoMind" ] || [ -d "$1/PyAutoBrain" ] || [ -d "$1/PyAutoHeart" ] \ || [ -d "$1/PyAutoHands" ] || [ -d "$1/PyAutoMemory" ] || [ -d "$1/PyAutoGut" ] \ - || [ -d "$1/PyAutoNerves" ] || [ -d "$1/PyAutoCortex" ] \ + || [ -d "$1/PyAutoNerves" ] || [ -d "$1/PyAutoCortex" ] || [ -d "$1/PyAutoEyes" ] \ || [ -d "$1/organs/PyAutoMind" ] \ || [ -d "$1/organs/PyAutoBrain" ] || [ -d "$1/organs/PyAutoHeart" ] \ || [ -d "$1/organs/PyAutoHands" ] || [ -d "$1/organs/PyAutoMemory" ] \ || [ -d "$1/organs/PyAutoGut" ] || [ -d "$1/organs/PyAutoNerves" ] \ - || [ -d "$1/organs/PyAutoCortex" ] + || [ -d "$1/organs/PyAutoCortex" ] || [ -d "$1/organs/PyAutoEyes" ] } # Assigns WORKSPACE_ROOT and WORKSPACE_ROOT_REASON rather than printing: one diff --git a/config/repos.yaml b/config/repos.yaml index e945f14c..e1e4cac2 100644 --- a/config/repos.yaml +++ b/config/repos.yaml @@ -81,6 +81,8 @@ repos: owner: PyAutoLabs - name: PyAutoMemory owner: PyAutoLabs + - name: PyAutoEyes + owner: PyAutoLabs # Required gating workflows per group, keyed by the GitHub Actions workflow # *name* (the `name:` field, e.g. "Smoke Tests"), matched against diff --git a/heart/_workspace.py b/heart/_workspace.py index f4a53479..a207397b 100644 --- a/heart/_workspace.py +++ b/heart/_workspace.py @@ -76,6 +76,7 @@ "PyAutoHands", "PyAutoNerves", "PyAutoGut", + "PyAutoEyes", ) _DEGRADED = " (no PyAutoBrain in reach)" diff --git a/heart/_workspace.sh b/heart/_workspace.sh index 371e381e..09094c44 100644 --- a/heart/_workspace.sh +++ b/heart/_workspace.sh @@ -90,7 +90,7 @@ else if [ -d "$PYAUTO_ROOT/PyAutoMind" ] || [ -d "$PYAUTO_ROOT/PyAutoHeart" ] \ || [ -d "$PYAUTO_ROOT/PyAutoHands" ] || [ -d "$PYAUTO_ROOT/PyAutoMemory" ] \ || [ -d "$PYAUTO_ROOT/PyAutoGut" ] || [ -d "$PYAUTO_ROOT/PyAutoNerves" ] \ - || [ -d "$PYAUTO_ROOT/PyAutoCortex" ]; then + || [ -d "$PYAUTO_ROOT/PyAutoCortex" ] || [ -d "$PYAUTO_ROOT/PyAutoEyes" ]; then PYAUTO_ROOT_REASON="beside this checkout (no PyAutoBrain in reach)" else PYAUTO_ROOT_REASON="unverified (no sibling organ beside this checkout) (no PyAutoBrain in reach)" diff --git a/tests/test_repo_config.py b/tests/test_repo_config.py index 96aadcca..947ce023 100644 --- a/tests/test_repo_config.py +++ b/tests/test_repo_config.py @@ -49,12 +49,13 @@ def test_thresholds_have_expected_fields(config): assert thresholds["script_timing"]["baseline_window"] >= 3 -def test_25_repos_polled(config): +def test_26_repos_polled(config): """Sanity check the polled count — bumps need a deliberate update. (25 since the CTI resurrection added PyAutoCTI + autocti_workspace + - autocti_workspace_test to the polled registry.)""" + autocti_workspace_test to the polled registry; 26 since the Eyes organ + joined the organism group, PyAutoMind#437.)""" total = sum(len(v) for v in config["repos"].values()) - assert total == 25, f"expected 25 polled repos, got {total}" + assert total == 26, f"expected 26 polled repos, got {total}" def test_cti_polled_but_not_release_gating(config):