Build a library
Check each approved piece with--save, against the label version it was approved under:
<file>.check.json. It records the label version and the exact sentences every claim rests on.
Watch it
Pieces whose label has not changed are listed as current. Pieces whose label changed in ways they don’t rely on are listed as unaffected.
Running it on a schedule
watch exits 0 when nothing in the folder is affected and 1 when something is, so a nightly CI job can open an issue whenever a label update touches approved content.
How the diff works
Sentences are compared section by section with a longest-common-subsequence diff. An edited sentence is shown as one change rather than a removal and an addition when the two share at least half their words. Inserting a table renumbers every later table, so “Table 23” becoming “Table 24” is not reported as a change. Seeopenlabel diff to read a diff directly.