Part C
Part C. Profiles
Parts A and B do not change to admit a profile.
C.1 Identity: Package URL
An identity is a Package URL (ECMA-427) without its version:
pkg:npm/react, pkg:pypi/fastapi, pkg:github/jdx/mise. A release’s
identity is the same Package URL with its version (10):
pkg:github/jdx/mise@2026.10.10.
The version is in its ecosystem’s normal form: PEP 440 normalised for
PyPI, and Semantic Versioning without a leading v. A tag’s prefix
comes off by the tag scheme its declaration states, and the tag stays
the release’s link: under a tag scheme whose prefix is cli-v, the tag
cli-v1.2.3 is the version 1.2.3.
C.2 Dependency descriptions
| profile | declarations read | the pin | the range |
|---|---|---|---|
| npm | package.json’s dependencies, devDependencies and optionalDependencies, never peerDependencies | the version the lockfile resolves; unknown without a lockfile | the declaration’s version range |
| Python | pyproject.toml’s project dependencies and dependency groups, and requirements*.txt | the version uv.lock or poetry.lock resolves, or a == requirement; unknown otherwise | the requirement’s specifiers |
| Cargo | Cargo.toml’s normal, dev and build dependencies, in every workspace member | the version Cargo.lock resolves | the requirement, read as Cargo reads it |
| Go | go.mod requirements not marked // indirect | the version go.mod names | none |
| mise | mise.toml and .tool-versions tools | the version each names; unknown for latest or a prefix | the prefix it names |
| GitHub Actions | uses: in .github/workflows | the tag or version named; unknown for a branch | none |
| container images | FROM in a Dockerfile | the tag named; unknown for latest | none |
| watch list | a file of entries, each naming a dependency’s Package URL, its label (the entry’s name), its upstream repository, its tag scheme, its pin and its claims | as the entry gives it; swancloud’s is generated from lib/release-sources.nix | none |
| Nix flake | each input of the root of flake.lock, never one that follows another’s, labelled by the input’s name, its claim the input’s URL in flake.nix | the version the ref the lock records for the input spells as a tag (C.1); unknown where that ref spells no version, as a branch does, or the input names a revision or no ref | none |
A lockfile that does not parse makes every dependency it would pin unread (1), never of unknown pin. The Nix flake profile reads the lock alone and evaluates no Nix. What a flake pins is a dependency like any other. The release lookups answer for it, and a report holds each of its releases newer than its pin (8; the update-ladder talk, 2026-11-12).
Each declaration’s identity:
| declaration | identity |
|---|---|
| an npm, Python, Cargo or Go dependency | the Package URL of its registry: pkg:npm/<name>, pkg:pypi/<name>, pkg:cargo/<name>, pkg:golang/<module> |
| a mise tool on a GitHub backend, and every GitHub Action | pkg:github/<owner>/<repo> |
| a mise core tool | pkg:github/<owner>/<repo> of its upstream’s repository |
| a watch-list entry | the Package URL the entry names outright |
| a flake input the lock records on GitHub | pkg:github/<owner>/<repo>; an input of any other type is unread, naming its type (1) |
The move a brief names (66):
| profile | the move |
|---|---|
| npm | npm update <name> for a release inside the range, npm install <name>@<version> outside it |
| Python | uv lock --upgrade-package <name> |
| Cargo | cargo update -p <name> |
| Go | go get <module>@<version> |
| mise | mise use <tool>@<version> |
| GitHub Actions, container images, watch list, Nix flake | none; the brief names the declarations and their claims (26) |
C.3 Release lookups
| profile | identities | list-releases / order |
|---|---|---|
| each ecosystem’s package manager | npm, Go and mise, and Python and Cargo through their configured registry’s index | npm view and npm outdated, go list -m -versions, mise ls-remote, and the configured index for Python and Cargo, run in the repository’s own shell; order by the ecosystem’s own rules |
| deps.dev | npm, PyPI, Cargo, Go, Maven, NuGet and RubyGems, where no package manager runs for the identity | the versions and dates of a batched Package URL lookup, with no key; order by the ecosystem’s own rules |
| a registry’s own API | the registry’s packages | the registry’s version list, for a release deps.dev has not seen yet; order as above |
| GitHub releases | pkg:github/*, and any dependency whose upstream repository is on GitHub | the repository’s releases through GraphQL, fifty repositories a query, with the asker’s own gh sign-in (38); order by Semantic Versioning where the tags parse, by the declaration’s tag scheme otherwise |
| ecosyste.ms | GitHub Actions, container images, Homebrew, nixpkgs and the other registries it indexes | its packages API by Package URL |
| timber | the identities the binding names for it (C.7), each a component its upstream repository publishes through timber | the head of the channel the binding names for the identity, the one accepted version it names (timber 31, 40), as timber answers on the asker’s host with the asker’s own sign-in (38); dated by the promotion that moved the channel to it, and linked to the version’s tag; order and level as for GitHub tags |
| another drive’s publish | a component another Boomdrive drive publishes, by the Package URL a declaration of the watching repository names | the version the publishing drive publishes, with the facts its publisher states (72); what carries it from one drive to the other is open (section 10) |
The package manager runs in the repository’s own shell, so it sees the registries the repository is configured for, private ones among them. It runs only commands that read, and only where entering the shell and running them write nothing in the repository’s content, history or configuration (5, 65). Where they would, no package manager runs, and deps.dev, GitHub and ecosyste.ms answer. deps.dev declines an identity a package manager answers for, so the two never give answers to choose between (39).
Where the binding names the timber lookup for an identity, no other release lookup answers for it. A version its upstream publishes through timber reaches a report once a promotion puts it on the channel, and leaves the report once the channel moves away from it (timber 32, 34). The publishing repository’s tags and GitHub releases never put a version of it in a report (the update-ladder talk, 2026-11-12).
Order by ecosystem: Semantic Versioning 2.0.0 for npm, Cargo and
GitHub tags that parse; PEP 440 for PyPI; Go’s module rules; and a
calendar version compared field by field where the declaration’s tag
scheme says so. GitHub releases mark a prerelease with GitHub’s own
flag. Where a lookup gives no prerelease mark, the version’s grammar
gives it: Semantic Versioning’s pre-release identifiers, and PEP 440’s
a, b, rc and dev.
Level by ecosystem (70, 73): Semantic Versioning’s major, minor and patch numbers, for npm, Cargo, Go’s modules and GitHub tags that parse; and PEP 440’s first three release numbers, where a missing number reads as zero and a changed epoch as major. Any other version, a calendar version among them, gives every release the level undecided.
locate (68) answers with the upstream repository a declaration states, as a watch-list entry does, or else with the repository the package’s registry entry links, read through deps.dev or the package manager.
C.4 Notes lookups
| profile | operation | how |
|---|---|---|
| GitHub release | read-notes | the body of the GitHub release at the version’s tag in the repository locate gives (68) |
| changelog | read-notes | the section for the version in that repository’s CHANGELOG.md at that tag, where no release body exists; a repository that binds it to answer always gets both, each named (39) |
| npm | read-changes | npm diff between the published packages of the two versions, so a README or CHANGELOG change shows as upstream shipped it |
| timber | read-notes, read-changes | for an identity the timber lookup answers for, the notes the version carries as an artifact of its index (timber 134); read-changes gives the notes of every version between the two, each as its index carries it |
Every other notes lookup answers read-changes with “cannot say”.
C.5 Advisory lookup: OSV
| operation | how OSV satisfies it |
|---|---|
| read-advisories | OSV’s batched query by Package URL and version; severity as the advisory gives it |
C.6 Store: the git directory
| operation | how the git directory satisfies it |
|---|---|
| read | the files under <git common dir>/headwater/, which every worktree of the clone shares (28) |
| write | a new file written beside the old and renamed over it, under a lock held for the write (30, 49) |
A repository is one clone: its worktrees share one held state, and a clone on another host keeps its own. Acknowledgements stay in the clone (61). A fleet whose recorder keeps releases, as millpond keeps them in an inbox, dismisses a release with a curation drop there, which never writes headwater’s held state. Notes are kept whole under the same directory, never in the repository’s content.
C.7 Tiers declaration: .config/headwater.toml
A repository declares itself to headwater in .config/headwater.toml,
read from the repository state.
| operation | how the file satisfies it |
|---|---|
| read-tiers | each tier’s name, its cadence, the Package URLs it names outright or by a prefix, and whether it asks for prereleases; and the default tier’s cadence, seven days where the file sets none |
| read-binding | the profiles named for each seam, whether the changelog profile answers always, and the identities the timber lookup answers for, outright or by a prefix, each with the channel it reads |
A repository with no such file has the default tier alone, with a cadence of seven days, and binds every profile that recognises one of its declarations (51).
C.8 The three setups
Three setups read one held state per clone (C.6):
| setup | who weighs a release | a release goes to |
|---|---|---|
| on its own | the person, in their own session, which the Claude Code plugin tells of new releases at its start; the operator dismisses or skips one (20) | the asker, as a report and a brief; flume, when a plugin hands it a brief; and millpond’s inbox on a branch of the user’s own repository, as the adapter’s capture (section 9) |
| with crew | crew’s curator, and the operator on crew’s rail (millpond C.13) | millpond’s inbox on its branch in crew’s state repository, as the same capture |
| with Boomdrive | Boomdrive’s curation session, and the operator on each proposed intent (millpond C.13) | the inbox Boomdrive keeps, as the same capture |
In every setup the pins alone decide what is new (9), and a release an inbox keeps is dismissed there by a curation drop, which never writes the held state (C.6). Going from one setup to the next changes only the inbox’s settings, which say where the adapter’s captures land. headwater answers the same whoever records its answers (34), and Boomdrive imports nothing when it takes over (agentplot/strategy decision #46, accepted by the user on 2026-11-11).