* refactor: add PhaseResult/IterationContext/LoopState types to auto-loop No behavioral changes. Pure type additions for upcoming phase extraction. * refactor: extract runFinalize() from autoLoop body No behavioral changes. Pure structural extraction. * refactor: extract runUnitPhase() from autoLoop body No behavioral changes. Pure structural extraction. * refactor: extract runGuards() from autoLoop body No behavioral changes. Pure structural extraction. * refactor: extract runDispatch() from autoLoop body No behavioral changes. Pure structural extraction. * refactor: extract runPreDispatch() from autoLoop body No behavioral changes. Pure structural extraction. Completes autoLoop pipeline phase decomposition: runPreDispatch → runGuards → runDispatch → runUnitPhase → runFinalize * refactor: hoist loopState before autoLoop loop, drop sync-back hacks loopState was created inside the loop each iteration, requiring 3 manual sync-backs for stuckRecoveryAttempts (number copy-by-value). Hoist it before the loop so it's a true persistent mutable struct across iterations.
This commit is contained in:
parent
7356bd4ba9
commit
93e51b04ad
1 changed files with 1100 additions and 960 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue