From 5cc86662bf3d05f177b573d6c60ea828bf0d801b Mon Sep 17 00:00:00 2001 From: Tristan Simas Date: Mon, 12 Oct 2026 11:34:54 -0400 Subject: [PATCH] Guardrail tools run on metaclass-registry 0.4: move both pins, drop the version bound agent-comms aea99bf7 deletes the private-hook override that 0.4's register_once replaces; NominalRefactorAdvisor cb6942a7 stops registering a mixin whose key nineteen classes shared. Ratchet output and the R1 gate output on OpenHCS are equal to the old pins under <0.4. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/refactor-guardrails.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/refactor-guardrails.yml b/.github/workflows/refactor-guardrails.yml index 799814ff4..4942bb910 100644 --- a/.github/workflows/refactor-guardrails.yml +++ b/.github/workflows/refactor-guardrails.yml @@ -13,13 +13,6 @@ concurrency: cancel-in-progress: true jobs: - # Both tools are pinned by commit but resolve metaclass-registry unpinned. - # At these commits they were written against 0.3: under 0.4 agent-comms - # overrides the private `_register_class` without its new `replaces` - # argument (TypeError at import) and NominalRefactorAdvisor registers a - # mixin subclass under its mixin's key (DuplicateRegistryKeyError at import). - # The bound below is part of the pin; drop it when the pinned commits move - # to ones that run on 0.4. structural-ratchet: runs-on: ubuntu-latest timeout-minutes: 10 @@ -41,8 +34,7 @@ jobs: base="$BASE" if [ -z "$base" ]; then base=$(git rev-parse HEAD^); fi for root in openhcs scripts benchmark; do - uvx --python 3.14 --from git+https://github.com/OpenHCSDev/agent-comms@3b03785f45df2ef5dc62ba6aed99294192ecbb01 \ - --with 'metaclass-registry<0.4' \ + uvx --python 3.14 --from git+https://github.com/OpenHCSDev/agent-comms@aea99bf70aca6e9f9eaae0672e82c068e0b7eebb \ agent-comms-ratchet --root "$root" --base "$base" --head "$HEAD" done @@ -68,8 +60,7 @@ jobs: - name: Verify the policy consumer and actual workflow shells run: | uv run --no-project --python 3.12 --with pytest --with pyyaml \ - --with git+https://github.com/OpenHCSDev/NominalRefactorAdvisor@0844525ecaba93e090a064a4ae4914466b2dae60 \ - --with 'metaclass-registry<0.4' \ + --with git+https://github.com/OpenHCSDev/NominalRefactorAdvisor@cb6942a75cf7857162a244611b76bfc284af59b3 \ python -m pytest --noconftest -o addopts='' .github/tests/test_refactor_guardrails.py -q - name: Compare changed-file R1 evidence through NRA declarations env: @@ -80,7 +71,6 @@ jobs: base="$BASE" if [ -z "$base" ]; then base=$(git rev-parse HEAD^); fi uv run --no-project --python 3.12 \ - --with git+https://github.com/OpenHCSDev/NominalRefactorAdvisor@0844525ecaba93e090a064a4ae4914466b2dae60 \ - --with 'metaclass-registry<0.4' \ + --with git+https://github.com/OpenHCSDev/NominalRefactorAdvisor@cb6942a75cf7857162a244611b76bfc284af59b3 \ python -m scripts.check_refactor_r1 --base "$base" --head "$HEAD" \ --scratch-root "$RUNNER_TEMP/openhcs-r1" --budget-seconds 600