headwater reads only the dependencies a repository state declares,
and invents none. A declaration it cannot read is reported unread,
naming the declaration and the reason, and is never dropped from a
report. One whose identity cannot be read belongs to no tier: every
answer gives it, whatever tiers the answer covers, and it makes no
tier due.
A dependency’s identity is the name it has where its declaration says
it is published, whichever lookup answers for it. Two declarations of
one identity are one dependency, wherever in the repository state
they sit. The same software published in two places is two
dependencies, each with its own versions, and a lookup that calls one
by another name still answers for its identity.
A pin is exactly one version or unknown. A dependency whose pin is
unknown is reported as unknown and never as having nothing newer.
A dependency declared at more than one pin in one repository state
is reported with every declaration and its pin. A release is newer
for that dependency when it is newer than the dependency’s pin, the
oldest of its declarations’ pins.
Reading a repository state changes nothing in it. headwater never
writes a repository’s content, its history or its configuration.
A declaration may give its dependency a label. Every answer gives
each label beside the identity, and a label never replaces the
identity (2, 10).
A release is newer than a pin only by the dependency’s own version
order. headwater never orders two versions by their dates, by their
names’ spelling, or by the order a lookup lists them.
A release whose order against the pin cannot be decided is reported
as undecided, beside the newer ones, never as newer and never left
out.
A report holds every release newer than the pin that a lookup lists,
and none that is not newer. The one exception is a newer prerelease,
held only where the pin is a prerelease or the dependency’s tier asks
for prereleases. A withdrawn release counts as listed and carries its
lookup’s withdrawn mark, on a newer release and on the pin’s own
release alike.
The pin alone decides what is new. headwater reads no record of
what it reported before to decide it, so every scan reports a release
until the pin reaches or passes it, or an acknowledgement leaves it
out (21).
A release has one identity for ever: its dependency’s identity and
its version, in the normal spelling of the dependency’s own version
rules. Every scan, surface and host names the same release the same
way, so an asker can key on it. A tag that spells the version
otherwise stays the release’s link.
A release is reported with what its lookups gave of it: its
version, its date, its link and its notes, as upstream wrote them.
headwater never summarises, rewords, translates, ranks or judges a
release, and no model reads notes inside headwater.
Every report and every brief gives each release’s notes whole, or
the leading portion an asker asked for, cut at the end of a line.
A portion comes with the notes’ full size and a brief as the way to
read them whole (25). headwater keeps no notes it cannot give
whole.
Every scan of a tier reads again the notes of each release it
reports, so a change upstream makes to its notes reaches the next
report.
A release whose notes could not be read is reported all the same,
its notes marked unread with the reason. Its notes are read again at
its tier’s next scan or by a brief (25).
Every release a report holds is marked, for each declaration of its
dependency that gives a range, inside or outside that range. A
release inside one declaration’s range and outside another’s
carries both marks. The marks never leave a release out (8).
Every release a report holds has a level against its dependency’s
pin (4), read by the dependency’s own version rules (6). A
prerelease’s level is prerelease. Any other release’s is the first
of the major, minor and patch parts in which its version differs
from the pin’s, or patch where none does. A release whose order
against the pin is undecided (7), or whose version rules give its
version no such parts, has the level undecided, never a guessed one.
headwater reads a level from the two versions alone, never from
notes, a date or an advisory, so a level never judges what a release
changes (11; the update-ladder talk, 2026-11-12).
Every report and every brief gives each release it holds with its
facts, so a program can match a release without reading its words.
They are its dependency’s identity, label and tier; the pin and the
version; its level (70); its date; the advisories naming the
dependency’s pins, or that they are unread (18); and the lookups
that list it (39). A program reads a release’s age from its date.
headwater reads each fact from the repository state, a lookup’s
answer or the version order, and none from notes (11, 19).
A release lookup may give, beside a release’s notes, facts its
upstream states of the release. headwater gives each as upstream
stated it, under upstream’s name and apart from its own facts (71).
It never derives a fact of its own from one, and never lets one
stand for a fact of its own: a level upstream states never replaces
the level the version order gives (70).
Every dependency of a repository state belongs to exactly one tier,
unless two tiers name it alike (57).
A tier that names an identity outright places it ahead of one that
names it by a prefix. A dependency two tiers name alike, both
outright or both by a prefix, is reported unread, naming both tiers,
and both tiers stay due. headwater never chooses a tier for it, and
reports every other dependency as usual.
The tiers and their cadences are read from the repository state.
headwater never moves a dependency between tiers, and never changes
a cadence.
A scan of what is due reaches the release lookups of the due tiers’
dependencies and of no others. A scan of a named tier reaches its
release lookups whether or not it is due.
A scan that leaves a tier incomplete reports every dependency it
could read, reports the rest as unread with the reason, and leaves
the tier due.
A dependency no bound release lookup knows is reported as known to
no lookup, never as having nothing newer, and never makes its tier’s
scan incomplete.
Asking what headwater holds reaches no lookup and writes nothing.
The answer is for the asker’s own repository state, from what each
lookup last answered, and says of each tier when its newest scan was
made and whether it is due. A dependency no scan has looked for yet
is reported as not yet looked for.
A dependency is reported as affected when an advisory names any of
its declarations’ pins, naming the advisory and the pins it names,
in every report that holds the dependency. Where an advisory lookup
could not be reached, the dependency’s advisories are reported
unread, never as not affected.
An advisory is reported apart from notes. headwater never folds an
advisory into a release’s notes, and never infers one from them.
Every scan reads the advisories of every known pin of every
dependency the repository state declares, whichever tiers it covers.
An acknowledgement is given only by an explicit request, for one
release of one dependency, that names who gives it, the asker’s git
identity where the request names no one. headwater records that name
and never authenticates it. It never infers an acknowledgement, and
never gives one when a pin moves.
A dismissed release is left out of reports. A skipped release is
left out until a newer release that is not withdrawn is listed,
which is then reported with the skipped one beside it.
A later acknowledgement of a release may withdraw an earlier one.
The latest for each release decides, and every one stays readable
(24).
An acknowledgement never changes a pin, a version order or an
advisory. A dependency with an advisory naming one of its pins is
reported as affected whatever its acknowledgements say (18).
An asker may always ask for a report that disregards every
acknowledgement, and gets the report the pins alone decide (9).
Every acknowledgement names who gave it and when, and stays readable
after the release it acknowledges leaves every report.
An acknowledgement belongs to the repository. It holds for every
asker, whoever gave it, and reaches every checkout the store
reaches (50).
headwater gives a brief for any release a report holds when
acknowledgements are disregarded (23), and for no other release.
Asking for one reaches no lookup but the notes and advisory lookups,
and writes nothing but notes it keeps whole (12).
A brief names every declaration of the dependency in the repository
state, so a fixer can move every one. Each comes with the pin it
gives, the claims it names and the release’s mark against its range
(56). A brief gives every advisory that names the release it moves
to.
A brief prescribes nothing. It may name the move as the dependency’s
own ecosystem spells it (66), for the fixer to make, and names no
other tool and no step a fixer must take. headwater never makes the
move (36).
A brief gives what the published dependency changed between the pin
and the release only whole and as upstream published it (11), and
gives none of it where no notes lookup can say.
headwater keeps its held state outside the repository’s content.
Every checkout of one repository shares one held state.
Everything in the held state but acknowledgements can be discarded.
While every lookup answers as it did, the next scan of each tier
rebuilds it with no report changed but the times it gives.
Two scans of one repository at once leave the held state as if one
had run after the other. Each lookup’s answer is kept for what it
answers for, the later answer winning, and every acknowledgement
stands untouched. Neither leaves the held state half written.
Every report is made from one reading of the repository state, and
names its commit and whether it holds uncommitted changes. A report
never mixes the declarations of two repository states.
headwater keeps what it holds by identity, release and lookup, never
by repository state. A scan of any checkout, with uncommitted
changes or without, writes the held state as any other scan does.
An answer depends on the repository state, the held state, the
binding, the time it is asked and headwater’s version, and on
nothing else. The same question with all five the same gets the
same answer, whoever asks and through whichever surface.
Every surface answers from one core. No surface computes a report,
a brief, a due tier or an acknowledgement of its own.
Nothing headwater reports depends on which surface asked, which
recorder will keep it, or which fixer will act on it, and headwater
needs none of them to answer.
Every answer has one form a program reads, the same through every
surface, and that form only ever gains fields.
headwater never acts on a release. A surface may hand a brief to a
fixer, and the change the fixer makes is the fixer’s.
Nothing headwater or a lookup it asks sends beyond the asker’s host
carries anything of the repository but the identities and versions
asked about. A lookup may be asked about many at once. The asker’s
own credentials identify the asker, by the asker’s choice, and are
nothing of the repository. The conformance suite checks this on
recorded requests (52).
headwater reaches a lookup with the asker’s own credentials or with
none, and never keeps a credential in its held state.
A lookup’s answer is reported as that lookup gave it, and headwater
never chooses between answers it received. Releases that several
lookups list are one release where their identities are one, and
carry each lookup’s account of it. A release one lookup lists and
another does not list yet is no disagreement. Where two lookups’
accounts of one release differ, the report names both, and a release
two lookups’ orders place differently is undecided (7).
A lookup that fails never erases what it answered before. The held
state keeps the last answer and its time beside the failure, and
every report gives both.
A lookup may run on the asker’s host and read the repository state,
to learn where and how its dependencies are published. It changes
nothing in the repository state (5), and what it sends beyond the
host is held to 37.