Files
budget2.0/src
Lucas Winther 17f9a44b65 fix(domain): export wouldAdvancePast so a caller can check before confirming
occurrencesOf's "did not advance" throw is correct and permanent once a bad
purchase is written, so a caller planning to record a confirmation on a date
other than its slot needs to ask, up front, whether that pairing survives the
walk. Extract the rebase-from-a-confirmation rule (previously inlined once)
into `rebasedFrom`, reuse it from the walk itself, and build `wouldAdvancePast`
on top of it and `stepFrom` rather than re-deriving the rule a third time.

No behavioural change to occurrencesOf itself.
2026-09-04 09:14:59 +02:00
..