Skip to content

fix(wrapper): set ORRO_WRAPPER_DELEGATION so the shim suppresses the legacy deprecation warning (#42)#45

Merged
moonweave merged 1 commit into
mainfrom
fix/wrapper-delegation-env
Jul 14, 2026
Merged

fix(wrapper): set ORRO_WRAPPER_DELEGATION so the shim suppresses the legacy deprecation warning (#42)#45
moonweave merged 1 commit into
mainfrom
fix/wrapper-delegation-env

Conversation

@moonweave

Copy link
Copy Markdown
Contributor

Summary

  • Set ORRO_WRAPPER_DELEGATION=1 in the child environment for ORRO wrapper workflow delegation.
  • Keep engine execution delegated to the pinned witnessd-hosted python3 -m orro surface; direct legacy entrypoints retain their warning behavior.
  • Add a wrapper checker assertion covering the child environment contract paired with the witnessd shim suppression.

RED log

Before the fix, the focused delegation test failed with KeyError: 'env' because subprocess.run received no child environment.

Verification

  • uv run python3 scripts/check_orro_wrapper.py
  • uv run python3 scripts/check_orro_repo_contract.py
  • uv run python3 scripts/check_orro_assurance_contract_fixtures.py
  • uv run python3 scripts/check_no_bidi_controls.py
  • All available ORRO self-tests
  • git diff --check

@moonweave moonweave merged commit 136c07d into main Jul 14, 2026
5 checks passed
@moonweave moonweave deleted the fix/wrapper-delegation-env branch July 14, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant