Skip to main content
A label revision can change a dose, widen an indication or add a warning. Every approved piece that relied on the old wording is now out of date, and nothing tells you which ones. Watch does.

Build a library

Check each approved piece with --save, against the label version it was approved under:
Each report lands next to its piece as <file>.check.json. It records the label version and the exact sentences every claim rests on.

Watch it

For every piece whose label has moved on, Watch fetches both versions, diffs them, and reports three kinds of impact: 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. See openlabel diff to read a diff directly.