The host layer of the changes check that reads Git (commons 0020-ifccmFR-005, FR-007, FR-012): the commits of a range with their parents, authors, days and messages, and the history of a declaration file, each read by running the real git by its argument vector (never through a shell), with no pager and no terminal prompt. Every failure is an Err naming what went wrong; nothing here throws.
The range is any range git log takes (A..B, a single revision for its whole history). Commits come oldest first. A declaration's history is every commit that changed its file, oldest first, each version read from Git as text and decoded without being run (declaration.ts); a version that does not decode is left out, since the rule judges declarations and not typing.
The versions of a declaration file in the history of rev (HEAD by default), oldest first: the revision that wrote each, the day of that commit and the declaration then. A commit that removed the file gives a version with no declaration; one whose text does not decode is left out.
The commits of a range, oldest first: each with its parents, its author, the day it was committed and its whole message. A range that starts with - is refused, not passed to git.
The commits of a range as the offline trace reads them (0020-ifccmFR-035): each with its subject, its whole message, the files it changed and the requirements (NNNN-slug FR-nnn) whose lines in a specs/<slug>/spec.md it added or edited. Three reads of the one range, each by an argument vector.
The versions of a declaration file in the history of rev (HEAD by default), oldest first: the revision that wrote each, the day of that commit and the declaration then. A commit that removed the file gives a version with no declaration; one whose text does not decode is left out.
The commits of a range, oldest first: each with its parents, its author, the day it was committed and its whole message. A range that starts with - is refused, not passed to git.
The commits of a range as the offline trace reads them (0020-ifccmFR-035): each with its subject, its whole message, the files it changed and the requirements (NNNN-slug FR-nnn) whose lines in a specs/<slug>/spec.md it added or edited. Three reads of the one range, each by an argument vector.