From b73167d6e279fbc2b75c52e611441ad068f6b0e6 Mon Sep 17 00:00:00 2001 From: James Nightingale Date: Sat, 3 Oct 2026 16:13:55 +0100 Subject: [PATCH] feat: register Ears in the organism integration --- config/repos.yaml | 2 ++ heart/_workspace.py | 1 + heart/_workspace.sh | 2 +- tests/test_repo_config.py | 6 +++--- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/config/repos.yaml b/config/repos.yaml index dca19dc6..f3f6ec6d 100644 --- a/config/repos.yaml +++ b/config/repos.yaml @@ -81,6 +81,8 @@ repos: owner: PyAutoLabs - name: PyAutoEyes owner: PyAutoLabs + - name: PyAutoEars + owner: PyAutoLabs - name: PyAutoHeart owner: PyAutoLabs - name: PyAutoPulse diff --git a/heart/_workspace.py b/heart/_workspace.py index 8275b423..ab7d606a 100644 --- a/heart/_workspace.py +++ b/heart/_workspace.py @@ -73,6 +73,7 @@ "PyAutoCortex", "PyAutoMemory", "PyAutoEyes", + "PyAutoEars", "PyAutoHeart", "PyAutoHands", "PyAutoPulse", diff --git a/heart/_workspace.sh b/heart/_workspace.sh index 5ea875fc..ae7beb0f 100644 --- a/heart/_workspace.sh +++ b/heart/_workspace.sh @@ -88,7 +88,7 @@ else if [ -z "$PYAUTO_ROOT" ]; then PYAUTO_ROOT="$(dirname "$_heart_workspace_home")" if [ -d "$PYAUTO_ROOT/PyAutoMind" ] || [ -d "$PYAUTO_ROOT/PyAutoCortex" ] \ - || [ -d "$PYAUTO_ROOT/PyAutoMemory" ] || [ -d "$PYAUTO_ROOT/PyAutoEyes" ] \ + || [ -d "$PYAUTO_ROOT/PyAutoMemory" ] || [ -d "$PYAUTO_ROOT/PyAutoEars" ] || [ -d "$PYAUTO_ROOT/PyAutoEyes" ] \ || [ -d "$PYAUTO_ROOT/PyAutoHeart" ] || [ -d "$PYAUTO_ROOT/PyAutoHands" ] \ || [ -d "$PYAUTO_ROOT/PyAutoPulse" ] || [ -d "$PYAUTO_ROOT/PyAutoNerves" ] \ || [ -d "$PYAUTO_ROOT/PyAutoGut" ]; then diff --git a/tests/test_repo_config.py b/tests/test_repo_config.py index 177beac0..0f864130 100644 --- a/tests/test_repo_config.py +++ b/tests/test_repo_config.py @@ -49,14 +49,14 @@ def test_thresholds_have_expected_fields(config): assert thresholds["script_timing"]["baseline_window"] >= 3 -def test_27_repos_polled(config): +def test_28_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; 26 since the Eyes organ joined the organism group, PyAutoMind#437; 27 since the Pulse organ - joined it, PyAutoMind#463.)""" + joined it, PyAutoMind#463; 28 since Ears, PyAutoBrain#455.)""" total = sum(len(v) for v in config["repos"].values()) - assert total == 27, f"expected 27 polled repos, got {total}" + assert total == 28, f"expected 28 polled repos, got {total}" def test_cti_polled_but_not_release_gating(config):