Hi there,
So great to meet you; thanks so much for having a go at this! =) code pointers are at:
Reconciliation feature · Issue #14290 · CollaboraOnline/online · GitHub
The calc guys are CC'd on this list too. Lets go deep and get something hacked up then we can polish; best to stat by clobbering another function that already works to avoid the UI setup like the attached.
All the best,
Michael.
(Attachment hack.diff is missing)