Measures: the SQLite change index, so desktop files split totals and keep balances (#595)
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
A desktop file keeps its measures' changes in a `changes` rational_index: one row per time, with moments' values and durations' at their starts or ends as each measure says. Saves build it, sparse saves count again the times their changes touched (moments' old and new times, durations' old and new starts and ends), a measure moved between start and end rebuilds it, and older files get one when opened (index layout 4). A `changes` query reads the changes up to many times at once, through the same filter as the overview. The editor measures its desktop overviews with `measuredFrame`, as the server does, so summaries' totals split the window and anchored measures report balances. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/circagraph/timeline-app/commit/8165453aa6be5d608d00974dc4bb275924c3fb63