village-builder

VB-1412: One order for every due-queue (due, then id), and removal by key

Status: ready Priority: 3 Size: S Design ref: none (code structure). backlog/VB-1473.md; docs/cost.md (Rules for cost, 4) Goal: VB-1473 kept each queue’s order, so sim/due has two inserts (by due then id; by due, after those due at the same time) and st.offers, st.occasions, st.obligationsDue and st.asking still remove by scanning (indexOf, findIndex). With breaking changes allowed (Kim, 21 Nov 2026), every queue is ordered by due then a unique id, sim/due loses append and after, and every removal is a search by key. Acceptance criteria: