Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions .github/workflows/refactor-guardrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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:
Expand All @@ -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
Loading