You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(campaign): rename the context manager, correct the reader count
`campaign_rules` -> `use_campaign_rules` (controller's ruling): it collided
with `EngineContext.campaign_rules()`, the getter, and
tests/test_campaign_active.py imports both into one module. Six call sites,
no behavioural change.
I4 -- `active_template` has EIGHT readers, not nine. Counted and named in
context.py so the next reader does not have to re-count: continuous,
nonpersistent, norangemodifier, persistent, disadvantage, combat_sense,
simulate_death, universal_translator. base.py:1814 mentions the slot in prose
and does not read it. Corrected in both context.py and test_campaign_active.py.
M1 -- dropped the redundant local `import os` / `import pytest` from the
`provider` fixture; both are already module-level.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xof4ZUS5n6A5ibX3PXNYbs
0 commit comments