Using a scroll puts the character in Peace. ScrollLearner remembers the mode from
before the first read of a run (Melee/Missile/Magic, Peace Mode When Idle off) and
requests it once, 3.5 s after the last read ends, through ChangeCombatModeFor (pacing,
busy wait, 3 tries). Dropped when the tick is not safe (fight/buff), or another
subsystem already changed the mode.
Review fixes:
- A restore more than 15 s after the settle time is dropped (death/vendor/buff holds, a stuck busy).
- The main-hand weapon is recorded at the first read; a different one cancels the restore (ACE reverts
a mode the weapon does not fit).
- Only a request that went out counts toward the 3-request cap; pacer holds are retried.
- Peace Mode When Idle is re-checked each tick; the macro-stop close logs only from Peace; logs name modes.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>