Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

profiledeclarations readthe pinthe range
npmpackage.json’s dependencies, devDependencies and optionalDependencies, never peerDependenciesthe version the lockfile resolves; unknown without a lockfilethe declaration’s version range
Pythonpyproject.toml’s project dependencies and dependency groups, and requirements*.txtthe version uv.lock or poetry.lock resolves, or a == requirement; unknown otherwisethe requirement’s specifiers
CargoCargo.toml’s normal, dev and build dependencies, in every workspace memberthe version Cargo.lock resolvesthe requirement, read as Cargo reads it
Gogo.mod requirements not marked // indirectthe version go.mod namesnone
misemise.toml and .tool-versions toolsthe version each names; unknown for latest or a prefixthe prefix it names
GitHub Actionsuses: in .github/workflowsthe tag or version named; unknown for a branchnone
container imagesFROM in a Dockerfilethe tag named; unknown for latestnone
watch lista 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 claimsas the entry gives it; swancloud’s is generated from lib/release-sources.nixnone
Nix flakeeach 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.nixthe 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 refnone

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:

declarationidentity
an npm, Python, Cargo or Go dependencythe 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 Actionpkg:github/<owner>/<repo>
a mise core toolpkg:github/<owner>/<repo> of its upstream’s repository
a watch-list entrythe Package URL the entry names outright
a flake input the lock records on GitHubpkg:github/<owner>/<repo>; an input of any other type is unread, naming its type (1)

The move a brief names (66):

profilethe move
npmnpm update <name> for a release inside the range, npm install <name>@<version> outside it
Pythonuv lock --upgrade-package <name>
Cargocargo update -p <name>
Gogo get <module>@<version>
misemise use <tool>@<version>
GitHub Actions, container images, watch list, Nix flakenone; the brief names the declarations and their claims (26)

C.3 Release lookups

profileidentitieslist-releases / order
each ecosystem’s package managernpm, Go and mise, and Python and Cargo through their configured registry’s indexnpm 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.devnpm, PyPI, Cargo, Go, Maven, NuGet and RubyGems, where no package manager runs for the identitythe versions and dates of a batched Package URL lookup, with no key; order by the ecosystem’s own rules
a registry’s own APIthe registry’s packagesthe registry’s version list, for a release deps.dev has not seen yet; order as above
GitHub releasespkg:github/*, and any dependency whose upstream repository is on GitHubthe 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.msGitHub Actions, container images, Homebrew, nixpkgs and the other registries it indexesits packages API by Package URL
timberthe identities the binding names for it (C.7), each a component its upstream repository publishes through timberthe 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 publisha component another Boomdrive drive publishes, by the Package URL a declaration of the watching repository namesthe 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

profileoperationhow
GitHub releaseread-notesthe body of the GitHub release at the version’s tag in the repository locate gives (68)
changelogread-notesthe 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)
npmread-changesnpm diff between the published packages of the two versions, so a README or CHANGELOG change shows as upstream shipped it
timberread-notes, read-changesfor 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

operationhow OSV satisfies it
read-advisoriesOSV’s batched query by Package URL and version; severity as the advisory gives it

C.6 Store: the git directory

operationhow the git directory satisfies it
readthe files under <git common dir>/headwater/, which every worktree of the clone shares (28)
writea 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.

operationhow the file satisfies it
read-tierseach 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-bindingthe 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):

setupwho weighs a releasea release goes to
on its ownthe 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 crewcrew’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 BoomdriveBoomdrive’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).