a97433655a
The orchestrator-agent ends its run with the worktree on iter/<iter_id>. Step 3 previously listed 'append INDEX line' as item 3 and 'switch+merge' as item 4 — natural reading order is top-to-bottom, so the INDEX append (and any other Boss edit) was landing on the iter branch by mistake. Observed three times on 2026-05-11 during the iter 23.4 family's prep iters. Fix: explicit warning at the top of Step 3, plus reorder so the 'git switch main && git merge --ff-only' happens before any Boss-side edit. Summary rewrites (step 2's decision) now defer to step 5, which runs after the switch, so they also land on main.