Repository navigation
refactor(b09): drop bound-cycle STRATEGY_RUNTIME module fallback - #361
Merged
Merged
Conversation
PR-3: while a RunContext is bound, resolve_strategy_runtime requires ctx.strategy_runtime and never consults module STRATEGY_RUNTIME. Activate during a bound cycle mounts on context only (no module leak); unbound activate still updates the module for compat. Tests poison the module during cycles to prove isolation. B04 submission/owner untouched.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
B09 PR-3 (after #360): while a
RunContextis bound, cycle code must not fall back to moduleSTRATEGY_RUNTIME. Tests poison the module to prove no leakage.Changes
resolve_strategy_runtime: bound → requirectx.strategy_runtime(fail-closed if missing); unbound → module/fallback still allowed for patches._activate_execution_strategy_runtime: when bound, mount on context only — does not rewrite moduleSTRATEGY_RUNTIME(pool knobs still refresh).build_live_runtime/ test compat.Explicitly unchanged (B04)
runtime_support.pychanges (submission / owner /runtime_call_clientuntouched).Verification
Local: 15 + 133 green.
Author: Pigbibi. No CloudAgent.