Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a969c6b99 | ||
|
|
da58998af4 | ||
|
|
41005dfc1e | ||
|
|
8fc4f09d8f | ||
|
|
654a08b5a0 | ||
|
|
9dcbc0fef1 | ||
|
|
9e99e9562b |
@@ -1,55 +0,0 @@
|
||||
---
|
||||
name: hand-pack-builder
|
||||
description: Builds one hand pack of the Novox mesh - a folder holding one module's bundle (or a few), built from a repository commit the way the Go build module builds it, with SHA256SUMS, the build script and NOTES.md naming the exact placement steps - for a hand placement the lead says to the operator first. Places it on a node only when the caller asks for that in a later message. Never builds in a developer's worktree, never commits or pushes in a code repository.
|
||||
tools: Read, Grep, Glob, Bash, Write, Edit, mcp__mesh__mesh_call, mcp__mesh__mesh_describe, mcp__mesh__mesh_search, SendMessage
|
||||
model: opus
|
||||
---
|
||||
|
||||
You build one hand pack for the lead who started you. A hand pack is a folder of built artifacts that a person puts on
|
||||
a node by hand, a hand act, when the delivery cannot bring them: most often a circle, where the fix is the very bundle
|
||||
the node-engine cannot fetch or the pipeline cannot pass without it. The handover names the module and its artifacts
|
||||
(`<module>:<artifact>`), the repository and the commit, the node, the pack's folder, the pack it is built like, and the
|
||||
read that confirms the cause.
|
||||
|
||||
**Confirm the cause first, read only.** Before you build, do the read the handover names: the seat's verb through the
|
||||
mesh MCP server (`mesh_search` finds it), the store or the journal it names. Say what it answered, what that means, and
|
||||
whether the pack answers that cause. When it does not, stop and report before building.
|
||||
|
||||
**Build like the earlier pack.** Read the earlier pack's NOTES.md and its build script or go.work files, and the pack it
|
||||
points to. Then:
|
||||
|
||||
- Make your own worktree of the repository, detached at the named commit, under hq's `.work/` with the name the
|
||||
handover gives; never build in a developer's worktree or a working copy's checkout. Siblings the build needs (the
|
||||
mesh packages of other repositories) come from their `origin/main`, in worktrees of your own or in checkouts the
|
||||
earlier pack used when they sit at `origin/main` and are clean; say each sibling's commit.
|
||||
- Build as the Go build module builds: `CGO_ENABLED=0`, `GOFLAGS="-trimpath -buildvcs=false"`,
|
||||
`-ldflags "-s -w -X main.builtFor=<system>"`, `GOTOOLCHAIN=local`, no version stamped, the mesh packages placed by a
|
||||
go.work file kept in the pack. Run the unit tests of the packages the commit changed.
|
||||
- Write the build as a script in the pack that refuses a worktree not at the commit and is loud on failure; run it
|
||||
twice and say whether the sha256 is the same.
|
||||
- Prove the artifact: a tools bundle answers `initialize` and `tools/list` over stdio (say the count and the tools the
|
||||
fix concerns); a program carries what the fix adds (a string, a flag). When the delivery released the same commit
|
||||
already, fetch the released artifact from the registry and compare: same source, and why the bytes differ if they do.
|
||||
- Write `SHA256SUMS` over every file of the pack.
|
||||
|
||||
**NOTES.md says the placement whole**, so the lead can say it to the operator and a person can run it without asking:
|
||||
|
||||
- What each file is, from which repository, commit and directory, its size; the siblings and the toolchain.
|
||||
- Why: the cause as read, with the digests or the lines read and the time read, and the circle the pack breaks.
|
||||
- Where each file goes on the node, read from the unit or the tool runner's module list there (never assumed), with the
|
||||
file's present sha256, owner and mode; the old file kept once beside it as `<file>.pre-h1`, the new one put with the
|
||||
same owner and mode through a temporary name and a rename.
|
||||
- Which units restart, in which order, and the check after each that must pass before the next step (a verb's answer,
|
||||
a unit's state).
|
||||
- How the node-engine's have of the module comes to the released fingerprint: read in the node-engine's code on main
|
||||
whether it asks again on its own, on its verb `compose`, or only after a restart, and name the function that decides.
|
||||
- The undo, and the notifications the steps may raise.
|
||||
|
||||
**Placing**, only when the caller asks for it in a later message, after the lead has said it to the operator: copy the
|
||||
pack to the node, check `SHA256SUMS` there, run the steps of NOTES.md one by one and read each check; stop at the first
|
||||
that fails and report it. Reading a node by a shell is allowed only on the days the operator allows it; otherwise
|
||||
through the mesh MCP server alone.
|
||||
|
||||
Report in under 500 words: the cause's read and what it means, the pack's folder, its sha256 lines, the placement steps
|
||||
in order, what you could not read or prove, and any finding (a fault the pack works around) for the lead to note on
|
||||
the issue that covers it. Separate fact from guess, in the glossary's words.
|
||||
@@ -1164,6 +1164,11 @@ it should not. **Recorded by** the controller. **Upstream of** Provisioning and
|
||||
- **packet filter** — what the mesh enforces on a node about which packets pass, the
|
||||
`node-packet-filter` seat and its verb `rules`. A **found firewall** is a program the mesh found on a
|
||||
machine and keeps retired or in force; *firewall* says that, and a wrapped program's firewall is its own.
|
||||
- **allowance** — a port of the packet filter opened by the operator, through the seat, beside the ports derived from
|
||||
the modules' `listens`: set with the `node-packet-filter` seat's verb `allow`, taken back with `disallow`, read with `allowed`, each with
|
||||
who set it, when, why and an optional `until`, at which it is removed, and rendered by the node-engine into a converged node's input chain
|
||||
(design 08 §4, design 33). It is not an `opening`, the resource the node-engine converges through a found firewall.
|
||||
*Not:* ~~pinhole~~ (hq), ~~hand rule~~ (hq)
|
||||
- **intrusion prevention** and **ban** — refusing a source that misbehaved, and the refusal itself; the node seat
|
||||
`node-intrusion-prevention` is of this domain.
|
||||
- **reach** — how far an assignment's endpoint may be reached from: the node, the private network, or
|
||||
@@ -1582,6 +1587,8 @@ renaming one sense, the old sense moves to a *Not:* line and becomes mechanical.
|
||||
| | a human | **operator** or **person** | words every domain uses |
|
||||
| firewall | what the mesh enforces | **packet filter** | Connectivity |
|
||||
| | what was found on a machine | **found firewall** | Connectivity |
|
||||
| allowance | a port of the packet filter opened by the operator, through the seat | **allowance** | Connectivity |
|
||||
| | the share of model use every session draws on in a week (playbook 07's report) | **weekly allowance** | — |
|
||||
| ticket | an answer's one-time token (ADR 0258) | **answer ticket** | Operator and conversation |
|
||||
| | a question someone must answer | **issue** | The record |
|
||||
| deploy | the per-node part of a delivery plan | **deploy plan** | Delivery |
|
||||
|
||||
@@ -22,7 +22,7 @@ code:
|
||||
- mesh-host internal/apply (the service that reflects a rule set; a whole file handed to its new owner)
|
||||
- mesh-controller cmd/mesh-controller/nodes.go (a token issued for a machine's tunnel key, ADR 0169)
|
||||
- mesh-host cmd/mesh-host/join_tunnel.go (a machine joins through the tunnel, ADR 0169)
|
||||
updated: 2026-10-14
|
||||
updated: 2026-11-21
|
||||
decisions:
|
||||
- "ADR 0241"
|
||||
- "ADR 0117"
|
||||
@@ -36,6 +36,7 @@ decisions:
|
||||
- "ADR 0194"
|
||||
- "ADR 0191"
|
||||
- "ADR 0180"
|
||||
- "ADR 0683"
|
||||
- "ADR 0170"
|
||||
- "ADR 0169"
|
||||
- "ADR 0168"
|
||||
@@ -696,10 +697,14 @@ program that reads it, and another proxy may implement the same file.
|
||||
|
||||
## 4 — Filtering
|
||||
|
||||
**Derived from what is assigned here, and from the private network's shape** — a node's open ports are a
|
||||
consequence of what runs on it and who must reach it, not an independent declaration to keep in
|
||||
step by hand. That is true of a converged node; an adopted one keeps the firewall it was found
|
||||
with until it converges (below).
|
||||
**Derived from what is assigned here and from the private network's shape, with allowances set by hand beside
|
||||
them.** The automatic part of a node's open ports is a consequence of what runs on it and who must reach it, not a
|
||||
declaration to keep in step by hand. Beside it, the holder of `node-packet-filter` keeps **allowances**: ports opened
|
||||
by the operator, through the seat's verbs, each with who set it, when, why and an optional expiry, rendered into the same input
|
||||
chain and surviving every render and restart; an allowance is removed at its `until` and said (ADR 0683,
|
||||
the firewall's control verbs, amending ADR 0170; the operator, 2026-11-21; design 47 H's lead
|
||||
answers H-A-304, H-A-305, H-A-307, H-A-308, H-A-310, H-A-312 and H-A-314 to H-A-316). That is true of a converged node; an adopted one keeps the firewall it was found
|
||||
with until it converges, and takes no allowance (design 08 adoption §2 to §6).
|
||||
|
||||
**A rule names its source** (ADR 0007).
|
||||
A rule with no source is open, and must say so rather than appear to restrict something. `scope:`
|
||||
@@ -790,57 +795,25 @@ undeclared one does not — then the module is removed and the port closes with
|
||||
rule. *A rule set that is written but never loaded passes every check that reads the file, which
|
||||
is why the check reads packets.*
|
||||
|
||||
### While a predecessor still serves the same thing
|
||||
### By hand, beside the derived ports
|
||||
|
||||
*2026-09-22, ADR 0104.*
|
||||
The mesh's proxy owns the two public ports and derives its routes from what modules contributed, so
|
||||
it cannot stand beside a predecessor's proxy and cannot serve the predecessor's names. During a
|
||||
migration a provision of this shape — one provider, a scarce machine-wide resource — may instead be
|
||||
answered by an **adapter**: a module that provides `route` and writes each contribution into the
|
||||
predecessor's own configuration, pointing at the machine port the contributing module publishes.
|
||||
The predecessor's proxy goes on serving every name and renewing every certificate; the mesh's proxy
|
||||
is taken last, when every route is one the mesh contributed. The adapter is refused on a converged
|
||||
node, and removed when the predecessor's proxy retires. *How it is checked:* the adoption bed takes
|
||||
a module behind the adapter and asserts the name answers and the predecessor's own names still do.
|
||||
*2026-11-21, ADR 0683.* Deriving every open port from the modules' `listens` left no way to open a port no manifest
|
||||
names (a program the operator runs by hand on the workstation, for a while). One renderer stays: the node-engine
|
||||
composes the filter file, and nothing else writes the input chain.
|
||||
|
||||
### On an adopted node
|
||||
```
|
||||
caller ── allow / disallow ──▶ node-packet-filter (holder) state allowances, one key per allowance
|
||||
│ event node-packet-filter.allowances-changed (node)
|
||||
▼
|
||||
node-engine ── allowed ──▶ holder composes the filter: derived ports + allowances, input chain only
|
||||
│ writes the filter file; the holder's unit loads it (reload)
|
||||
```
|
||||
|
||||
*2026-09-22, ADR 0100.* **The firewall found on the machine stays in force**, and the mesh
|
||||
loads no table there that drops by default or holds an accept — neither genesis's base ruleset nor
|
||||
the derived one. Every base chain at a hook runs and a drop in any is final, whatever the other
|
||||
firewall is written in, so a second, stricter table would close every port the machine serves, and
|
||||
an accept in one would open nothing the found firewall drops. What the mesh needs reachable it
|
||||
declares as **openings**: a port, from where, on the incoming path or the forwarded path — a
|
||||
published container port is forwarded, and a firewall that filters only incoming traffic never
|
||||
sees it. The controller derives them from what the filter would be derived from, each from where
|
||||
the filter would admit it: the assigned modules' `listens`, the hub's port, the bus and the registry
|
||||
from anywhere; the store's port and the broker's management port from the private network. The node-engine converges each opening through
|
||||
the found firewall in that firewall's own terms, marks it as the mesh's, removes only what it
|
||||
marked, and re-checks every opening on each reconcile so a reload or a reboot does not lose it for
|
||||
longer than one reconcile. An opening is state, not a command, so it travels over the link like any
|
||||
other resource. **The mesh guards its own ports in a table of its own that only refuses** —
|
||||
passing everything by default and holding nothing but refusals, and the found firewall's reload
|
||||
does not touch it. Its ports are derived (ADR 0103): every machine port a
|
||||
*taken* module publishes that the filter admits from the private network only, with the store's
|
||||
port and the broker's management port. A port of a module not yet taken may still be the
|
||||
predecessor's, so it is not guarded; and only packets addressed to this machine are matched, so
|
||||
traffic it routes for others passes. An opening a found rule already answers is not added, so
|
||||
removing it never removes the operator's rule. It refuses those ports except from
|
||||
the private network and the machine itself — loopback and the container runtime's networks, known by the interface a packet arrives on, never by
|
||||
its source address alone — at
|
||||
the prerouting hook, before the container runtime redirects the packet, so it matches the port the
|
||||
packet was sent to, for both address families; the
|
||||
bus, the registry and the hub's port stay reachable from anywhere, as a node enrols and pulls
|
||||
before it has a private-network address. One kind of found firewall is spoken; a machine with none
|
||||
needs no openings, and a machine with another kind is refused adoption. Converging the node refuses
|
||||
while a found container is still held; otherwise it previews what is reachable now — listening
|
||||
sockets and published ports — what will close and which modules it will take, then loads the
|
||||
derived filter in place of the refusal-only table and disables the found firewall without flushing
|
||||
it. *How it is checked:* the adoption bed asserts the found firewall's rules differ only by the
|
||||
mesh's marked rules, that the store is unreachable from off the private network before and after
|
||||
the found firewall reloads and reachable from a container on the node, that a machine not yet enrolled reaches the bus, that a second machine
|
||||
enrols through the openings before and after a reload and a reboot, and that after the flip the
|
||||
declared port is open and the undeclared one closed.
|
||||
The holder keeps each allowance in its own state on the bus and says every change as an event; the node-engine of
|
||||
that node hears it, asks `allowed` and composes the filter again. An unanswered `allowed` refuses the compose and
|
||||
keeps the loaded filter, said once, never read as "nothing opened" (the rule for a generator above). Allowances are
|
||||
rendered only into a converged node's own table. The seat's verbs and event are design 33's (*The firewall seat's
|
||||
verbs*); every line the milestone builds is in [design 08 control-verbs](08-milestones/control-verbs.md).
|
||||
|
||||
### It filters what arrives from outside, and not what the machine's own guests send
|
||||
|
||||
@@ -1245,27 +1218,15 @@ The list is worth having in one place, because it is most of the argument:
|
||||
|
||||
## Open
|
||||
|
||||
- **One resolver (ADR 0194).** *Correction of fact,
|
||||
2026-10-05:* no node holds `node-dns-resolver` any more, and
|
||||
ADR 0220 deletes the seat. What stood here before: *"Not built: every node still runs
|
||||
`node-dns-resolver`. The migration's four steps are in the record, in order."* Nor did it
|
||||
stay true that *"the workstation moves to the one resolver only once"* zones and the `hosts` file's
|
||||
holder (ADR 0199)
|
||||
exist: every node, the workstation included, asks the one resolver, and every node holds
|
||||
`node-hosts-file`.
|
||||
- **One resolver (ADR 0194), settled** (2026-10-05): ADR 0220 deletes the seat `node-dns-resolver`; every node, the
|
||||
workstation included, asks the one resolver and holds `node-hosts-file` (ADR 0199).
|
||||
|
||||
- **When the hub is down nothing takes over** (ADR 0006): non-co-located paths stop, co-located direct peers and
|
||||
every assigned workload keep running; recovery is restore, before certificate renewal.
|
||||
|
||||
- ~~**What happens when the hub is down.**~~ **Resolved** by
|
||||
ADR 0006, together with `06`'s
|
||||
matching question — they were one question. Nothing takes over. WireGuard has no failover, the
|
||||
hub is declared rather than elected, and non-co-located paths stop while co-located direct peers
|
||||
and every already-assigned workload keep running. The recovery path is restore, and its deadline
|
||||
is certificate renewal.
|
||||
- **Renumbering the private network.** Made *possible* by declaring the hub rather than inferring it from
|
||||
an address, but no procedure exists, and a graph delivered node by node has an ordering problem
|
||||
while it is half-applied.
|
||||
- ~~**Revoking a route** when a module is unassigned.~~ **Resolved** 2026-08-31 — see §3. The file
|
||||
a proxy is given is the whole truth about who has a route, so a route does not outlive the module
|
||||
that asked for it.
|
||||
- **IPv6.** ADR 0007 makes
|
||||
it expressible; nothing here says the private network or the resolver handle it.
|
||||
- **Reporting declared-versus-observed.** ADR 0007 makes the disagreement detectable and does not
|
||||
@@ -1276,28 +1237,6 @@ The list is worth having in one place, because it is most of the argument:
|
||||
the composition is a per-node override rather than the design. The interpolation that would let a
|
||||
module carry a label and a node carry the domain, and the mesh join them, does not yet exist.
|
||||
|
||||
## The hub adopts the predecessor's tunnel
|
||||
|
||||
*2026-09-23, ADR 0105.*
|
||||
|
||||
On an adopted node that is the hub, the private network is not raised beside the tunnel it finds;
|
||||
it **takes it over**: the found interface's private key, its port, its address and range, and every
|
||||
peer it had, carried as peers not yet enrolled. The found interface is stopped, its configuration
|
||||
kept on disk. A predecessor machine sees the same server key at the same endpoint and cannot tell
|
||||
the tunnel changed hands; when it enrols, it keeps the address the tunnel already held for its key.
|
||||
|
||||
The mesh's own addresses are the adopted range's — every binding, hosts entry and endpoint the
|
||||
controller composes follows it, as readers of a setting. ADR 0100's non-overlap rule applies only
|
||||
where a found tunnel is left running beside the mesh's; where it is adopted there is one tunnel.
|
||||
The guard admits the mesh's ports from that one interface, and the predecessor's peers arrive on
|
||||
it.
|
||||
|
||||
*2026-09-27, ADR 0119.* The
|
||||
found configuration is kept only until the take is proven — the found unit down, the mesh's
|
||||
interface up and handshaking with a peer. Then it is removed from where the found unit reads it
|
||||
(its original stays kept), the hold ends, and the predecessor's tunnel cannot be raised again by
|
||||
anything but a person restoring it by hand. Undeclaring the private network does not bring it back.
|
||||
|
||||
## The bus is NATS
|
||||
|
||||
*2026-09-23, ADR 0106. Architecture to be written
|
||||
@@ -1308,3 +1247,13 @@ NATS account with permissions derived from `emits`/`consumes`, declared as confi
|
||||
writes and the server reloads. The sdk's contract is unchanged. The adopted AMQP broker stays as
|
||||
the predecessor's compatibility broker until its last client is gone. Built in the lab beside the
|
||||
migration; cut over in one switch-over after the core; the person's client is designed on it.
|
||||
|
||||
## Milestones
|
||||
|
||||
Each milestone's lines are in its part, cited as "design 08 <milestone> §n"; the rest of this file records what was
|
||||
built before milestone parts existed.
|
||||
|
||||
| Milestone | Part | State |
|
||||
|---|---|---|
|
||||
| adoption: a node the mesh adopted, before it converges (ADR 0100, 0103, 0104, 0105, 0119) | [adoption](08-milestones/adoption.md) | delivered |
|
||||
| control-verbs: allowances set by hand beside the derived ports, built in design 47's milestone H (ADR 0683) | [control-verbs](08-milestones/control-verbs.md) | to build |
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
---
|
||||
layer: to-be
|
||||
design: 08
|
||||
milestone: adoption (delivered)
|
||||
updated: 2026-11-21
|
||||
decisions:
|
||||
- "ADR 0100"
|
||||
- "ADR 0103"
|
||||
- "ADR 0104"
|
||||
- "ADR 0105"
|
||||
- "ADR 0119"
|
||||
---
|
||||
|
||||
# Design 08, milestone adoption — a node the mesh adopted, before it converges
|
||||
|
||||
**What it built.** How the mesh stands beside what it found on an adopted node: a predecessor's proxy, the found
|
||||
firewall and the predecessor's tunnel, each until the node converges. This part is delivered: it records what was
|
||||
intended, moved whole from the main file when design 08 was put in the shape of playbook 02 (2026-11-21), and no
|
||||
builder reads it again. Cited as "design 08 adoption §n".
|
||||
|
||||
## Lines
|
||||
|
||||
1. **While a predecessor still serves the same thing, an adapter answers the provision** (2026-09-22, ADR 0104).
|
||||
The mesh's proxy owns the two public ports and derives its routes from what modules contributed, so it cannot
|
||||
stand beside a predecessor's proxy and cannot serve the predecessor's names. During a migration a provision of
|
||||
this shape (one provider, a scarce machine-wide resource) may instead be answered by an **adapter**: a module
|
||||
that provides `route` and writes each contribution into the predecessor's own configuration, pointing at the
|
||||
machine port the contributing module publishes. The predecessor's proxy goes on serving every name and renewing
|
||||
every certificate; the mesh's proxy is taken last, when every route is one the mesh contributed. The adapter is
|
||||
refused on a converged node, and removed when the predecessor's proxy retires. *How it is checked:* the adoption
|
||||
bed takes a module behind the adapter and asserts the name answers and the predecessor's own names still do.
|
||||
2. **On an adopted node the found firewall stays in force** (2026-09-22, ADR 0100), and the mesh loads no table
|
||||
there that drops by default or holds an accept: neither genesis's base ruleset nor the derived one. Every base
|
||||
chain at a hook runs and a drop in any is final, whatever the other firewall is written in, so a second, stricter
|
||||
table would close every port the machine serves, and an accept in one would open nothing the found firewall
|
||||
drops.
|
||||
3. **What the mesh needs reachable it declares as openings**: a port, from where, on the incoming path or the
|
||||
forwarded path (a published container port is forwarded, and a firewall that filters only incoming traffic never
|
||||
sees it). The controller derives them from what the filter would be derived from, each from where the filter
|
||||
would admit it: the assigned modules' `listens`, the hub's port, the bus and the registry from anywhere; the
|
||||
store's port and the broker's management port from the private network. The node-engine converges each opening
|
||||
through the found firewall in that firewall's own terms, marks it as the mesh's, removes only what it marked, and
|
||||
re-checks every opening on each reconcile so a reload or a reboot does not lose it for longer than one
|
||||
reconcile. An opening is state, not a command, so it travels over the link like any other resource. An opening a
|
||||
found rule already answers is not added, so removing it never removes the operator's rule.
|
||||
4. **The mesh guards its own ports in a table of its own that only refuses**: passing everything by default and
|
||||
holding nothing but refusals, and the found firewall's reload does not touch it. Its ports are derived (ADR
|
||||
0103): every machine port a *taken* module publishes that the filter admits from the private network only, with
|
||||
the store's port and the broker's management port. A port of a module not yet taken may still be the
|
||||
predecessor's, so it is not guarded; and only packets addressed to this machine are matched, so traffic it routes
|
||||
for others passes. It refuses those ports except from the private network and the machine itself (loopback and
|
||||
the container runtime's networks, known by the interface a packet arrives on, never by its source address alone)
|
||||
at the prerouting hook, before the container runtime redirects the packet, so it matches the port the packet was
|
||||
sent to, for both address families; the bus, the registry and the hub's port stay reachable from anywhere, as a
|
||||
node enrols and pulls before it has a private-network address.
|
||||
5. **One kind of found firewall is spoken**; a machine with none needs no openings, and a machine with another kind
|
||||
is refused adoption.
|
||||
6. **Converging the node refuses while a found container is still held**; otherwise it previews what is reachable
|
||||
now (listening sockets and published ports), what will close and which modules it will take, then loads the
|
||||
derived filter in place of the refusal-only table and disables the found firewall without flushing it. *How
|
||||
lines 2 to 6 are checked:* the adoption bed asserts the found firewall's rules differ only by the mesh's marked
|
||||
rules, that the store is unreachable from off the private network before and after the found firewall reloads
|
||||
and reachable from a container on the node, that a machine not yet enrolled reaches the bus, that a second
|
||||
machine enrols through the openings before and after a reload and a reboot, and that after the flip the declared
|
||||
port is open and the undeclared one closed.
|
||||
7. **The hub adopts the predecessor's tunnel** (2026-09-23, ADR 0105). On an adopted node that is the hub, the
|
||||
private network is not raised beside the tunnel it finds; it **takes it over**: the found interface's private
|
||||
key, its port, its address and range, and every peer it had, carried as peers not yet enrolled. The found
|
||||
interface is stopped, its configuration kept on disk. A predecessor machine sees the same server key at the same
|
||||
endpoint and cannot tell the tunnel changed hands; when it enrols, it keeps the address the tunnel already held
|
||||
for its key.
|
||||
8. **The mesh's own addresses are the adopted range's**: every binding, hosts entry and endpoint the controller
|
||||
composes follows it, as readers of a setting. ADR 0100's non-overlap rule applies only where a found tunnel is
|
||||
left running beside the mesh's; where it is adopted there is one tunnel. The guard admits the mesh's ports from
|
||||
that one interface, and the predecessor's peers arrive on it.
|
||||
9. **The found tunnel's configuration is kept only until the take is proven** (2026-09-27, ADR 0119): the found
|
||||
unit down, the mesh's interface up and handshaking with a peer. Then it is removed from where the found unit
|
||||
reads it (its original stays kept), the hold ends, and the predecessor's tunnel cannot be raised again by
|
||||
anything but a person restoring it by hand. Undeclaring the private network does not bring it back.
|
||||
@@ -0,0 +1,107 @@
|
||||
---
|
||||
layer: to-be
|
||||
design: 08
|
||||
milestone: control-verbs
|
||||
updated: 2026-11-21
|
||||
code: [mesh-host internal/compose (the filter's compose), mesh-catalog modules/nftables, mesh-networking modules/mesh-connectivity-contracts]
|
||||
decisions:
|
||||
- "ADR 0683"
|
||||
- "ADR 0170"
|
||||
- "ADR 0168"
|
||||
- "ADR 0595"
|
||||
- "ADR 0100"
|
||||
---
|
||||
|
||||
# Design 08, milestone control-verbs — allowances set by hand, rendered beside the derived ports
|
||||
|
||||
**What it builds.** The packet filter of a converged node opens, beside the ports derived from the modules' `listens`,
|
||||
every **allowance** the holder of `node-packet-filter` keeps: a port opened by the operator, through the seat, with
|
||||
who set it, when, why and an optional `until`. The node-engine renders both into the mesh's own table, in the same
|
||||
input chain, at every compose of the filter; an allowance survives every render and restart, and one with an `until`
|
||||
is removed at its `until`, by the kernel in the loaded filter and by the holder in its state. This follows ADR 0683
|
||||
(the firewall's control verbs, amending ADR 0170) and the operator's word of 2026-11-21 20:35 CET (the packet filter's
|
||||
module has tools to control it beside the automatic provisioning from declarations), written from design 47 H's lead
|
||||
answers H-A-304, H-A-305, H-A-307, H-A-308, H-A-312, H-A-314 to H-A-316, H-A-321, H-A-324 and H-A-325. The seat's verbs, its event and
|
||||
its state are design 33 control-verbs; this part holds the render. Cited as "design 08 control-verbs §n".
|
||||
|
||||
**Where.** Built in design 47's milestone H, in one delivery group with design 33 control-verbs, three repositories:
|
||||
the networking repository (the seat's contracts module), the catalog repository (the nftables module, the holder)
|
||||
and the node-engine's repository (the compose of the filter, the verb `converged`). The ordering edge is the served
|
||||
verb: the node-engine asks `allowed`, so the holder serving it comes first in the delivery plan. First use: tcp 8000
|
||||
on the workstation's home-network interfaces.
|
||||
|
||||
## Lines
|
||||
|
||||
1. **The node-engine is the one renderer of the filter file** (H-A-305; P7). At every compose of the packet filter
|
||||
(each compose it makes today, and each one line 3 starts) it asks `<node>/node-packet-filter.allowed` of its own
|
||||
node, within its compose-ask bound, the node-engine's setting `compose-ask-bound`, default 10 s (H-A-314 (5)), and
|
||||
renders the answer's allowances beside the derived ports. The node-engine's manifest invokes
|
||||
`seat:node-packet-filter.allowed` and consumes `node-packet-filter.allowances-changed` (H-A-314 (3), H-A-315 (2)).
|
||||
Nothing else writes the input chain: the holder writes no rule and loads the file as today (`reload`, ADR 0170
|
||||
§3). The derived part is unchanged: the modules' `listens`, the hub's port, the foundation's ports and their
|
||||
sources stay as §4 *What was built* says.
|
||||
2. **Where an allowance is rendered.** In the mesh's own table (family `inet`, name `mesh`), its input chain, after
|
||||
the derived ports' rules and before the chain's drop policy: one accept rule per allowance, matching its protocol
|
||||
and destination port; its interface by name, or for the default set (resolved here at compose, H-A-308 (1)) every
|
||||
input interface that is neither the private network's tunnel nor an outward link (a hub's internet-facing link
|
||||
included; H-A-324), rendered as a negated match on the tunnel and on each outward link the node reports (§4, *It
|
||||
filters what arrives from outside*), so an interface that comes up later is covered and neither the tunnel nor an
|
||||
outward link ever is; the node-engine serves the same classification, the tunnel and the outward links, in its
|
||||
verb `converged` (design 33 control-verbs §10; H-A-325), so one classifier of links serves the render and the holder; an outward link is opened only by an allowance that names it; its source when it has one, for the family of its CIDR, and no
|
||||
source match when it has none (both families). An allowance with an `until` matches its port as the one element of
|
||||
a set of the mesh's table with the `timeout` flag, the element's timeout the time left to its `until` at the
|
||||
compose, at least 1 s, so the kernel closes the port at its `until` even while the holder is away (H-A-315 (4)); a re-render reloads the
|
||||
filter and re-arms the time left, which is the right time (H-A-324).
|
||||
Each rule carries the comment `allowance <key> <at>`, the allowance's key as its answers give it (without the node) and
|
||||
the time it was set (design 33 control-verbs §7, §9). An allowance opens the input path only: a container's published port is
|
||||
forwarded traffic and stays its module's `listens`' (§4, *It filters what arrives from outside*). An allowance and
|
||||
a derived rule on the same port are both rendered; neither removes or narrows the other.
|
||||
3. **The node-engine composes the filter again on every change of the allowances.** It hears the event
|
||||
`node-packet-filter.allowances-changed` on the subject of its own node (design 33 control-verbs §8), asks `allowed`
|
||||
and composes the filter; no timer and no poll. The event's body is not rendered: `allowed`'s answer is the one
|
||||
input, so an event missed is made good at the next compose. The node-engine drops nothing past an `until` on its
|
||||
own clock: the holder's answer is the truth (H-A-314 (6)).
|
||||
4. **An unanswered `allowed` refuses the compose and keeps the loaded filter** (H-A-307 (1), H-A-314 (7), H-A-315
|
||||
(6); the rule for a generator that cannot say what it opens, §4). When `allowed` does not answer within the
|
||||
compose-ask bound or answers an error (the holder not running yet, its tool runner away, no holder on the node, a
|
||||
rolled-back holder that does not serve the verb, a laptop asleep), the node-engine composes no filter file and
|
||||
keeps the one loaded. The refusal is a withheld part in H-A-306's form: the node-engine seat's composition answer
|
||||
gains the field `withheld-parts`, a list of `{part, why}`, set when a compose kept a part because its read did not
|
||||
answer, here `part` `node-packet-filter.allowed`; it is added in the same contracts commit as the verb `converged`
|
||||
(H-A-321). It is said once in the journal and in `<node>/node-engine.composition`, never "nothing opened". The
|
||||
holder's module is not held for it, since an old holder that does not serve `allowed` must still be replaceable;
|
||||
only the filter file resource is kept as it runs. The next `allowances-changed` (the holder says `started` when it starts serving, design 33 control-verbs
|
||||
§8) or the next compose tries again; by hand it is recovered with the node-engine's compose verb, and the composed
|
||||
file is loaded with `reload`.
|
||||
5. **Allowances are rendered only into a converged node's own table** (H-A-307 (2), H-A-312 (1)). On an adopted node
|
||||
the mesh loads no table that holds an accept (design 08 adoption §2) and speaks the found firewall's terms through
|
||||
openings derived from what the filter would be derived from (adoption §3); an allowance is none of them. The holder
|
||||
refuses `allow` and `disallow` there and `allowed` answers none (design 33 control-verbs §3, §6), so the
|
||||
node-engine renders none. After the node converges, allowances are set with `allow` as on any converged node.
|
||||
6. **An allowance is removed at its `until`** (H-A-308 (2), H-A-312 (2), H-A-315 (4)). In the loaded filter the
|
||||
kernel removes its set's element at its `until` (line 2). In the holder's state the holder removes its key at its
|
||||
`until`, says `allowances-changed` with change `expired` and writes a journal line (design 33 control-verbs §11);
|
||||
the event composes the filter again (line 3), which leaves its rule out. A holder away at the `until` removes the
|
||||
key at its next start, before it answers `allowed`; meanwhile the loaded filter is kept (line 4) and the port is
|
||||
already closed by the kernel.
|
||||
7. **An allowance survives every render and restart because it lives in one place.** The holder's state on the bus is
|
||||
the only copy; the rendered file is output, rewritten whole at each compose and never read back. A restart of the
|
||||
node-engine, of the holder or of the machine renders the allowances again from `allowed`; a delivery of either
|
||||
module removes none. A running holder keeps the seat while the seat's definition grows (design 33 control-verbs
|
||||
§13).
|
||||
8. **How it is checked.** The node-engine's compose tests assert on the input chain's text: with no allowance the file
|
||||
is byte for byte today's derived file; with one allowance of the default set, a rule with negated matches on the
|
||||
private network's interface and on each outward link and no positive match on either; with three (one interface named, one with an IPv4 source,
|
||||
one udp), three rules in that form after the derived ones, each with its comment `allowance <key> <at>`; one with an
|
||||
`until` renders a timeout set whose element's timeout is the time left. A fake `allowed` that never answers within
|
||||
the bound leaves the loaded file untouched and one entry in `withheld-parts` of the composition answer, `node-packet-filter.allowed` with its why, and the
|
||||
holder's module still replaceable; an
|
||||
`allowances-changed` for the node composes again and one for another node does not; an allowance the fake answers
|
||||
with an `until` already past is rendered as answered, the node-engine dropping none on its own clock; an adopted
|
||||
node renders none. Live, read in packets as §4 reads them: before `allow`, a machine on the home network is refused
|
||||
on tcp 8000 at the workstation (this holds where the home-network links are outward in the node's render, as the
|
||||
workstation reports them; H-A-314 (8), H-A-324); after `allow` of tcp 8000 with no interface the home-network
|
||||
machine is still refused, since an outward link is not in the default set; after `allow` of tcp 8000 on the workstation's home-network interfaces it
|
||||
reaches the port and a machine reaching the workstation over the private network does not; a node-engine restart
|
||||
keeps it open; after `disallow` neither reaches it; an `allow` with an `until` a minute ahead closes at its `until`
|
||||
with the holder stopped.
|
||||
@@ -0,0 +1,147 @@
|
||||
---
|
||||
layer: to-be
|
||||
design: 33
|
||||
milestone: control-verbs
|
||||
updated: 2026-11-21
|
||||
code: [mesh-networking modules/mesh-connectivity-contracts, mesh-catalog modules/nftables, mesh-host (the node-engine seat's verb converged)]
|
||||
decisions:
|
||||
- "ADR 0683"
|
||||
- "ADR 0170"
|
||||
- "ADR 0168"
|
||||
- "ADR 0565"
|
||||
- "ADR 0595"
|
||||
- "ADR 0625"
|
||||
- "ADR 0636"
|
||||
- "ADR 0246"
|
||||
---
|
||||
|
||||
# Design 33, milestone control-verbs — the packet filter seat's allow, disallow and allowed
|
||||
|
||||
**What it builds.** The node seat `node-packet-filter` serves, beside `rules`, `reload` and `remove` (ADR 0170), three
|
||||
verbs that control the packet filter by hand: `allow`, `disallow` and `allowed`; `rules` lists the allowances beside
|
||||
the ruleset; and the seat says every change of its allowances as the event `node-packet-filter.allowances-changed`.
|
||||
The node seat `node-engine` gains the read verb `converged`. An **allowance** is a port opened by the operator, through
|
||||
the seat, beside the ports derived from the modules' `listens`. This follows ADR 0683 (the firewall's control verbs,
|
||||
amending ADR 0170) and the operator's word of 2026-11-21 20:35 CET, written from design 47 H's lead answers H-A-304,
|
||||
H-A-305, H-A-307, H-A-308, H-A-310, H-A-312, H-A-314 to H-A-321, H-A-324 and H-A-325; P7, P11 and the instruction that tools are
|
||||
how a module is spoken to (every act by hand has its verb, every kept thing its read). How the node-engine renders
|
||||
allowances is design 08 control-verbs. Cited as "design 33 control-verbs §n".
|
||||
|
||||
**Where.** Built in design 47's milestone H, one delivery group with design 08 control-verbs, three repositories: the
|
||||
networking repository (the seat's whole definition in its contracts module), the catalog repository (the nftables
|
||||
module, the holder) and the node-engine's repository (the verb `converged`, and the render of design 08
|
||||
control-verbs). mesh-sdk is not in the group: its TypeScript `state()` asks the runtime's state methods as a Go bundle
|
||||
does (H-A-314 (4)).
|
||||
|
||||
## Lines
|
||||
|
||||
1. **The seat serves six verbs, and every holder serves all six** (§3). `rules`, `reload` and `remove` as ADR 0170
|
||||
§1 to §7 say, with `rules`' answer widened by line 5; `allow`, `disallow` and `allowed` as lines 2 to 4 say. The
|
||||
three are required from the start, in the one delivery group that adds them: §7's three steps (ADR 0246) end for a
|
||||
seat defined in a contracts module (ADR 0683; H-A-310), since the group's check builds the definition and its
|
||||
holder together. Each is a node verb, called `<node>/node-packet-filter.<verb>`. Their classes: `allow` and
|
||||
`disallow` are class `act`, by-caller; `allowed` is class `read` (H-A-315 (2)).
|
||||
2. **`allow` opens a port by hand.** Arguments: `port`, an integer 1 to 65535, required; `protocol`, `tcp` or `udp`,
|
||||
default `tcp`; `interfaces`, a list of interface names, each 1 to 15 characters of letters, digits, `_`, `.` and
|
||||
`-`, default none, which means the default set: every input interface that is neither the private network's tunnel nor an outward link (a hub's internet-facing link
|
||||
included), so an outward link is opened only when named here (H-A-324; design 08 control-verbs §2);
|
||||
`source`, one IPv4 or IPv6 CIDR, default none, which means any; `until`, an RFC 3339 time in the future, optional;
|
||||
`why`, 1 to 500 characters, required. Any other argument is refused. Who set it is the caller as the bus names it on
|
||||
the request, never an argument; for a session's call that is the tool runner's account (H-A-315 (3)). When is the
|
||||
holder's clock at the write. It keeps one allowance per protocol, port and interface (H-A-308 (1)): one key per
|
||||
named interface, each with the same source, who, when, why and `until`, or for none the one key of the default set
|
||||
(line 7), resolved by the node-engine at compose. An `allow` for a key that exists replaces it whole and answers
|
||||
what it replaced.
|
||||
3. **What `allow` refuses**, naming the argument and writing nothing: a caller whose proof is `unproven` (H-A-315
|
||||
(3)); a node that `converged` (line 10) says is adopted, naming the adoption, or a `converged` that does not answer
|
||||
(line 10); a port out of range or not an integer, another protocol, a bad interface name, a source that is not a
|
||||
CIDR, an `until` not in the future, an empty or longer `why`; unless a `source` is given, a port that the loaded
|
||||
input chain accepts only with a source match (`ip saddr` or `ip6 saddr`) and never from any source, read from the
|
||||
chain as `rules` shows it, which covers the store's port, the broker's management port and a port opened to the
|
||||
local network only (H-A-315 (7), H-A-319, ADR 0683 §3; a comment naming each derived rule's scope, so the
|
||||
holder reads scope and not shape, is owed to milestone H2 and not built here); and a write that would make more than `allowances-max` allowances on the node, the
|
||||
holder's setting, default 100 (H-A-314 (5); the bound keeps the rendered chain readable and `allowed` in one
|
||||
answer).
|
||||
4. **`allow` and `disallow` answer what they did, and are written in the hand-act log.** When a named interface is
|
||||
an outward link, as the `outward` list of the `converged` answer it asked for this call names them (line 10),
|
||||
`allow`'s answer sets on that kept allowance the optional field `outward`, the outward link it opens (H-A-324,
|
||||
H-A-325). The holder reads no shape of the loaded table to tell an outward link from the tunnel. `allow` answers each
|
||||
allowance as kept, with its key and what it replaced, and that `allowances-changed` (line 6) was said; `disallow`
|
||||
answers each allowance as removed and that the event was said (H-A-308 (3)). Whether the loaded chain carries an
|
||||
allowance is read with `rules` (line 5). Each call of either is written in the hand-act log (ADR 0565 §10; H-A-315).
|
||||
5. **`disallow` takes back an allowance.** Arguments: `port`, `protocol` and `interfaces` with `allow`'s forms and
|
||||
defaults, which name the same keys (no `interfaces`: the default set's key), and `why`, required as for `allow`;
|
||||
any other argument is refused, the source among them, since it is a property and not part of an allowance's
|
||||
identity. It refuses as `allow` does an `unproven` caller, an adopted node and an unanswered `converged`. It deletes
|
||||
every key named, or, when one does not exist, refuses naming it and deletes none, and says `allowances-changed` with
|
||||
change `disallowed`, its who and its why.
|
||||
6. **`allowed` reads every allowance.** No arguments. It answers every allowance kept for its own node only (line 7),
|
||||
each with its key, `port`, `protocol`, `interface` (absent for the default set), `source` (absent for any), `until`
|
||||
(absent for none), `why`, `by` (who) and `at` (when). The node-engine is its caller at every compose of the filter,
|
||||
within its compose-ask bound (design 08 control-verbs §1). On an adopted node it answers none (H-A-312 (1)), so no
|
||||
answer says a port is open that is not.
|
||||
7. **`rules` lists the allowances beside the ruleset.** Its answer keeps the filter as the machine enforces it (ADR
|
||||
0170 §2) and adds `allowances`: `allowed`'s answer, each marked `loaded` only when a rule of the mesh's table carries
|
||||
its comment `allowance <key> <at>` with an equal `at` (design 08 control-verbs §2), and not loaded otherwise; and
|
||||
every loaded allowance comment whose key is not kept, listed as "loaded, not kept" (H-A-315 (5)). So a kept
|
||||
allowance the loaded filter does not carry, and a loaded one nobody keeps, are both visible in one call.
|
||||
8. **The event `node-packet-filter.allowances-changed`.** The holder says it after every write or delete of its
|
||||
state, in the seat's family `node-packet-filter.events` on the shared events stream, `max-age-days` 7, its subject
|
||||
`allowances-changed.<node>` (as the node-engine seat's `composed.<node>`; H-A-314 (2)). Its body: `node`; `change`,
|
||||
one of `allowed`, `disallowed`, `expired` and `started`; `allowances`, the ones concerned (all of them for
|
||||
`started`); `by` and `why` for `allowed` and `disallowed`; `at`. The holder says `started` once each time it starts
|
||||
serving the seat, so a node-engine that refused a compose for want of an answer composes again. The node-engine
|
||||
of that node hears it (design 08 control-verbs §3); nothing else needs to.
|
||||
9. **The holder keeps the allowances in its own state on the bus, one bucket per machine.** A state `allowances`
|
||||
asked for in the holder's manifest's `requires` by the template `state` (ADR 0595 §1, §2) with the template's
|
||||
option of one bucket per machine, `history` 1, reached only by its owner; a node's holder answers its own node's
|
||||
allowances only (H-A-315 (1)). The per-machine option is one bucket whose keys carry the node, `<node>` and
|
||||
`<node>.>` reached only by that machine's holder, so each holder reads and writes its own node's prefix only
|
||||
(H-A-317). One key per allowance: `<node>.allow.<protocol>.<port>` for the default set (line 2), `<node>.allow.<protocol>.<port>.<interface>` for a named one (the interface is every token
|
||||
after the fourth, since a name may hold a dot). The allowance's key in every answer, in the event and in the rule's
|
||||
comment is the same key without the node, `allow.<protocol>.<port>[.<interface>]`. Its value: `port`, `protocol`, `interface`, `source`, `until`,
|
||||
`why`, `by`, `at`; the source is a property of the value, never part of the key. Only `disallow` and the removal at
|
||||
its `until` (line 11) delete a key; no render, restart or delivery does. The bus module's own tools read the state's
|
||||
fill against its cap. The holder's manifest serves the six verbs and requires the state; it does not list the event in
|
||||
`emits`, which the manifest check refuses for a claimed seat's event: the claim of `node-packet-filter` says the
|
||||
event, and the holder says it with the seat's publish (H-A-314 (3), H-A-317).
|
||||
10. **The node seat `node-engine` gains the read verb `converged`** (H-A-316). It answers the node's convergence
|
||||
state, which the node-engine keeps (ADR 0168): `state`, `adopted` or `converged`; `since`, when it became so, optional and absent for a record written before this change (H-A-324); for an adopted node `found`, the found firewall's kind (H-A-321); and the node's links as the node-engine
|
||||
classifies them for its render: `tunnel`, the private network's interface name, and `outward`, the list of the
|
||||
node's outward links (H-A-325; design 08 control-verbs §2). Class `read`, built in the group's node-engine part, added
|
||||
to the node-engine seat's whole definition. The holder asks it at its start and at every `allow` and `disallow`,
|
||||
bound 10 s (the default of the node-engine's compose-ask bound), and refuses when it does not answer. When it
|
||||
holds no answer (its start's ask did not answer and no `allow` or `disallow` asked since), `allowed` asks
|
||||
`converged` again, bounded by the same 10 s, and refuses when that does not answer, so the node-engine keeps the
|
||||
loaded filter (H-A-318). It never assumes either state and recovers without a restart.
|
||||
11. **An allowance is removed at its `until`, by the holder.** The holder keeps an in-process timer per allowance with
|
||||
an `until`, armed from the watch of its own state at every start (H-A-314 (6)). At an allowance's `until` it
|
||||
deletes the key, says `allowances-changed` with change `expired` and writes a journal line naming the
|
||||
allowance (H-A-308 (2)); no removed entry is kept, so `allowed` never answers one. At its start it first deletes
|
||||
every key whose `until` has passed, with the same event and journal line, then says `started`, then answers
|
||||
`allowed` (H-A-312 (2)). The kernel closes the port at its `until` even while the holder is away (design 08
|
||||
control-verbs §2).
|
||||
12. **The seat's definition becomes whole** (H-A-307 (3), H-A-314 (2); ADR 0625 §1, ADR 0636 §5, §6). It lives in the
|
||||
Connectivity domain's contracts module, `mesh-connectivity-contracts`, in the networking repository: every one of
|
||||
the six verbs with its class, its arguments and its answer form as lines 1 to 7 say, the family and event of line
|
||||
8, the state's value of line 9 as a layout, and the generated Go and TypeScript packages. Its model is the
|
||||
`node-engine` and `git` seats' whole definitions. The node-engine calls `allowed` and hears the event
|
||||
through the Go package; the holder serves the verbs and says the event through the TypeScript one.
|
||||
13. **A running holder keeps the seat while its definition grows** (H-A-315 (6)). A holder running before this group
|
||||
is not withdrawn when the seat's definition gains the three verbs; it holds the seat until it is replaced. While a
|
||||
node's holder does not serve `allowed` (a rollback, a laptop asleep), the node-engine refuses the filter's
|
||||
composes and keeps the loaded filter (design 08 control-verbs §4).
|
||||
14. **How it is checked.** The holder's tests, against a state in memory: `allow` then `disallow` writes the key, then
|
||||
deletes it, with an `allowed` and a `disallowed` event, both answers saying the event was said, and two hand-act
|
||||
log lines; port 0, 65536 and `80a` are refused, as are protocol `icmp`, an `until` in the past, an empty `why`, an
|
||||
unknown argument, an `unproven` caller, the 101st allowance at the default `allowances-max`, and the store's port
|
||||
with no source when the fixture chain accepts it only with a source match (accepted with one); `allow` with no `interfaces` stores no interface, so neither the private network's
|
||||
interface nor an outward link is ever in the defaults; with a fake `converged` whose `outward` lists `eth1`, `allow` naming `eth1` answers that kept allowance with
|
||||
`outward` `eth1`, and one naming another interface answers it without the field; `allow` with two interfaces keeps two keys; a second `allow` of one key answers
|
||||
what it replaced; an allowance is removed at its `until`, says `expired`, writes its journal line, and
|
||||
`allowed` then answers without it; a start with a key past its `until` deletes it and says so before `started` and
|
||||
before its first `allowed`; with a fake `converged` saying adopted, `allow` and `disallow` are refused naming the
|
||||
adoption and `allowed` answers none; with one that never answers, both are refused and `allowed`, holding no answer, asks again and refuses; an allowance kept on one node
|
||||
is absent from another node's `allowed`, and its key in the bucket carries its node while its answer's key does not; `rules` over a fixture ruleset marks an allowance loaded only on an equal
|
||||
`at` and lists a comment with no kept key as "loaded, not kept". The node-engine's test of `converged` answers both
|
||||
states. The seat's contract test holds every holder to the six verbs, and the generated packages to the definition.
|
||||
@@ -1,9 +1,10 @@
|
||||
---
|
||||
layer: to-be
|
||||
status: implemented
|
||||
status: in-progress
|
||||
code: [mesh-controller, mesh-tools]
|
||||
updated: 2026-10-07
|
||||
updated: 2026-11-21
|
||||
decisions:
|
||||
- "ADR 0683"
|
||||
- "ADR 0246"
|
||||
- "ADR 0170"
|
||||
- "ADR 0179"
|
||||
@@ -214,6 +215,20 @@ container to declare a capability. Removing a predecessor's rule set is an opera
|
||||
through the seat, recorded on the bus, instead of a shell on the machine. *How it is checked:* ADR
|
||||
0169's table.
|
||||
|
||||
*2026-11-21, ADR 0683 (the firewall's control verbs, amending ADR 0170); the operator,
|
||||
2026-11-21: the packet filter's module has tools to control it beside the automatic provisioning from declarations.*
|
||||
The seat serves three more verbs: `allow` (a port 1 to 65535, protocol `tcp` by default or `udp`, interfaces by
|
||||
default every input interface but the private network's tunnel and the outward links, a source CIDR by default any, an optional `until`, a
|
||||
required `why`), `disallow` (the same keys) and `allowed` (every **allowance** with who set it, when, why and its
|
||||
`until`, at which it is removed); `rules` lists the allowances beside the ruleset. The node seat `node-engine` gains
|
||||
the read verb `converged` (adopted or converged, since when, the found firewall's kind), which the holder asks before
|
||||
it keeps an allowance. The holder keeps them in its own state on the bus and says
|
||||
every change as the event `node-packet-filter.allowances-changed`, which the node-engine hears to compose the filter
|
||||
again; the node-engine stays the one renderer (design 08 §4, *By hand, beside the derived ports*). The seat's
|
||||
definition becomes whole in its domain's contracts module. Every holder serves the six verbs. Every line is in
|
||||
[design 33 control-verbs](33-milestones/control-verbs.md), from design 47 H's lead answers
|
||||
H-A-304, H-A-305, H-A-307, H-A-308, H-A-310, H-A-312 and H-A-314 to H-A-316; *how it is checked* is its line 14.
|
||||
|
||||
## The intrusion seat's verbs, 2026-10-02
|
||||
|
||||
ADR 0179.
|
||||
@@ -226,6 +241,15 @@ per-module container ADR 0175
|
||||
retires; the verbs and the client are the same code once the node's own runtime loads them as a bundle.
|
||||
The module's own tool beside them reads one jail's effective settings. *How it is checked:* ADR 0179's table.
|
||||
|
||||
## Milestones
|
||||
|
||||
Each milestone not yet delivered has its part, cited as "design 33 <milestone> §n"; what is above was built before
|
||||
milestone parts existed.
|
||||
|
||||
| Milestone | Part | State |
|
||||
|---|---|---|
|
||||
| control-verbs: the packet filter seat's `allow`, `disallow` and `allowed`, built in design 47's milestone H (ADR 0683) | [control-verbs](33-milestones/control-verbs.md) | to build |
|
||||
|
||||
## What this does not settle
|
||||
|
||||
- Which verbs each seat should serve. That is a decision per seat, and the reason to do it slowly: a
|
||||
|
||||
@@ -2,14 +2,8 @@
|
||||
layer: to-be
|
||||
status: in-progress
|
||||
code: [mesh-controller, mesh-catalog modules/mesh-delivery-gate, mesh-catalog modules/gitea, mesh-delivery, mesh-host, mesh-sdk, mesh-vault, mesh-contracts, mesh-tools, mesh-networking, hq 00-META/checks]
|
||||
updated: 2026-11-23
|
||||
updated: 2026-11-20
|
||||
decisions:
|
||||
- "ADR 0685"
|
||||
- "ADR 0684"
|
||||
- "ADR 0640"
|
||||
- "ADR 0370"
|
||||
- "ADR 0349"
|
||||
- "ADR 0266"
|
||||
- "ADR 0682"
|
||||
- "ADR 0681"
|
||||
- "ADR 0673"
|
||||
|
||||
@@ -3,22 +3,8 @@ layer: to-be
|
||||
status: in-progress
|
||||
design: 47
|
||||
milestone: H
|
||||
updated: 2026-11-23
|
||||
updated: 2026-11-20
|
||||
decisions:
|
||||
- "ADR 0685"
|
||||
- "ADR 0684"
|
||||
- "ADR 0668"
|
||||
- "ADR 0664"
|
||||
- "ADR 0640"
|
||||
- "ADR 0632"
|
||||
- "ADR 0618"
|
||||
- "ADR 0614"
|
||||
- "ADR 0593"
|
||||
- "ADR 0563"
|
||||
- "ADR 0550"
|
||||
- "ADR 0370"
|
||||
- "ADR 0349"
|
||||
- "ADR 0266"
|
||||
- "ADR 0682"
|
||||
- "ADR 0681"
|
||||
- "ADR 0667"
|
||||
@@ -75,14 +61,14 @@ per cent of the 527 rows judged (the rest belong to another part's code) (per pa
|
||||
| symptom (live) | count | cause (from the gap tables) |
|
||||
|---|---|---|
|
||||
| wants held or failed on the four machines | 205 held, 66 failed | the catalog half holds no entry for their fingerprints; the node-engines compose nothing new |
|
||||
| compositions fail on the operator's desktop | entries `asked` since 2026-11-18 03:09, unready answers seen from 2026-11-19 11:56 | an entry ask that failed in transport is never asked again; the node-engine's shadow waits on it without bound (the surveyor's reading); other compositions failed on the removed revision trunk.510 and on a call-token refusal |
|
||||
| compositions fail on shanks | entries `asked` since 2026-11-18 03:09, unready answers seen from 2026-11-19 11:56 | an entry ask that failed in transport is never asked again; the node-engine's shadow waits on it without bound (the surveyor's reading); other compositions failed on the removed revision trunk.510 and on a call-token refusal |
|
||||
| delivery records open, none ended | 833 open, 0 ended since 2026-11-14 | the gate hears only `take-in.taken`; nothing writes a record's trace, so its difference is never known |
|
||||
| pipelines about to start at the next take-in | about 60 (reasoned from the sweep's rule; no tool reads the runner's waiting starts) | the runner's sweep starts a pipeline for every module whose fingerprint has none (b9c50ef0, 2026-11-16); no design line allows it |
|
||||
| source revision moved twice | both paths on main | A-464 (per merged message) wins live over A-34 (on the take-in): a group's members become separate revisions; a pushed commit reaches the source only through the take-in or the gate's comparison at its next start |
|
||||
| catalog revision removed while pipelines name it | trunk.510 at 22:51 | pins are judged at restart against a key written once; only the take-in pins pipelines |
|
||||
| stale bus state | 753 merges, 6,951 owed, 898 asks, 1,256 pulls keys; 5 pipelines running since midday; 31 stale pin records | buckets of the pre-G model never dropped; no tool reads their contents |
|
||||
| bus load | 98 slow consumers, 117 consumers behind; the watchman 39,037 events behind | mesh-config passes every 5 minutes and polls every minute on main (fixed on the held pull requests); the forge module polls every minute |
|
||||
| hand-placed programs | every delivery module but the indexer, the image registry and the tool runner (on the home server and the laptop) | G's live start of 2026-11-16 and after; 16 drop-in files under `/run/systemd/system` on the four machines (4 of them `.pre-g` copies), lost at a reboot |
|
||||
| hand-placed programs | every delivery module but the indexer, the image registry and the tool runner (on ace and g14) | G's live start of 2026-11-16 and after; 16 drop-in files under `/run/systemd/system` on the four machines (4 of them `.pre-g` copies), lost at a reboot |
|
||||
|
||||
**Every node, every module** (the assigner's assignments at revision 339, unchanged since 2026-11-18 02:08 UTC; the
|
||||
node-engines' haves; read 00:47 to 00:54 CET):
|
||||
@@ -261,8 +247,8 @@ Built 56, built otherwise 8, contradicts 9, missing 3, not judged 7 (of 83). Ass
|
||||
A-478b's order waits on one machine stay (the order waits reshaped to order one machine's apply, not hold wants).
|
||||
- **The assigner reads every have** whole and with history (§520 says it goes); wants are not written from the kept assignment graph revision. Medium each, H1. (The node-engine's read of
|
||||
every node's record stays: it feeds the composer; H-A-60 corrects the earlier reading of §459.)
|
||||
- **The shadow fault on the operator's desktop**: the entries client leaves an entry `asked` after a transport failure and never asks
|
||||
again; about 110 entries on the operator's desktop have stood `asked` since 2026-11-18 03:09. Ask again on failure, with a bound
|
||||
- **The shanks shadow fault**: the entries client leaves an entry `asked` after a transport failure and never asks
|
||||
again; about 110 entries on shanks have stood `asked` since 2026-11-18 03:09. Ask again on failure, with a bound
|
||||
(small). The surveyor's reading, to be confirmed by `entry-again` on one entry during the clean state.
|
||||
- **The tool runner:** A-490m is ready on mesh-tools #77 (merge); it lacks a test that starts it whole.
|
||||
- **Tests:** the node-engine has 1,719 unit tests against a budget of 500; every change to it shrinks that.
|
||||
@@ -283,7 +269,7 @@ Built 56, built otherwise 11, contradicts 5, missing 11, not judged 9 (of 92).
|
||||
retries twelve watches every 5 seconds; the forge module polls every minute; the build modules re-pull every 5
|
||||
seconds when idle; mesh-sdk's view catch-up asks again on a timer. The gap table's section 5 has the table of
|
||||
modules, functions and intervals. The fix belongs in mesh-sdk, for every module at once (fix-a-bug-met-twice).
|
||||
- **`builder_stuck` times out** for a fixed cost, measured in the tool runner's journal on the operator's desktop: 1,010 values took
|
||||
- **`builder_stuck` times out** for a fixed cost, measured in the tool runner's journal on shanks: 1,010 values took
|
||||
52.5 seconds and 53 values took 44.5 seconds. Each call starts a tool process that lists every key of `builds` and of
|
||||
every build seat's `steps`, then reads one value per request. The builder keeps its own index of what is building
|
||||
and answers from it. Medium.
|
||||
@@ -387,14 +373,14 @@ like any milestone, but its delivery is by hand, because the running system cann
|
||||
the operator runs each pack one command at a time and says "done"; the lead checks each with the tools before the
|
||||
next:
|
||||
|
||||
1. **Freeze.** No merge to any delivery repository but H1's own. The runner on the control-node is stopped through the service
|
||||
1. **Freeze.** No merge to any delivery repository but H1's own. The runner on novox is stopped through the service
|
||||
seat so no take-in starts a pipeline during the freeze; the assigner stays, so nothing moves.
|
||||
2. **Merge H1's set to main**, in this order, each reviewed: mesh-contracts #16 and mesh-sdk #200 (held), then
|
||||
mesh-catalog #708 and mesh-delivery #261 (held, mesh-config), mesh-tools #77 (held), and H1's own pull requests
|
||||
(indexer take-in, runner, gate, bridge, assigner, node-engine). mesh-delivery #262 is closed as superseded. The
|
||||
stopped runner starts nothing; the indexer takes the commits in and the gate follows, as the old programs still
|
||||
running during the freeze do. The new programs take every head in once, at the seed (step 5.9).
|
||||
3. **Build H1's programs from main** with the packs (the g-start phases, one per program), on the operator's desktop and the control-node as
|
||||
3. **Build H1's programs from main** with the packs (the g-start phases, one per program), on shanks and novox as
|
||||
before, from main's head after step 2 so that main is what runs.
|
||||
4. **Take the stream snapshot that is the drop's rollback** (design 47 H §765) and test its restore; nothing is
|
||||
dropped yet. The drop-ins are removed and the units the node-engine writes take their place as the wants compose.
|
||||
@@ -428,7 +414,7 @@ next:
|
||||
to main through a merge call (`merge-pull`, design 47 H §734), followed from `take-in.taken` through `pipeline-ended` to the node-engine's `running` and the gate's
|
||||
ended record, with no hand act; then one two-module change along a dependency edge (mesh-sdk and a module that
|
||||
requires it published), merged in one merge call, the same way. Each proof read with the tools and quoted with its times.
|
||||
8. **Lift the freeze.** From here every merge is delivered by its pipeline; a hand pack is a breach the lead names. Done at 19:31 on 2026-11-21 (section 10, row 173).
|
||||
8. **Lift the freeze.** From here every merge is delivered by its pipeline; a hand pack is a breach the lead names.
|
||||
|
||||
## 6. The milestones after the clean state
|
||||
|
||||
@@ -469,7 +455,7 @@ at the prepare, one developer per repository on the larger model for the indexer
|
||||
- It does not merge the six held pull requests now; they merge in H1's step 2, and one (#262) is closed.
|
||||
- It does not touch the controller, the vault or the recovery module beyond what the chain needs; the recovery
|
||||
module is not placed and is a later milestone's.
|
||||
- It does not change the catalog's module set or the build nodes (the control-node's build agent stays paused).
|
||||
- It does not change the catalog's module set or the build nodes (novox's build agent stays paused).
|
||||
- It leaves what the surveyors could not read as named guesses, each with how to check it, in the gap tables'
|
||||
last sections; the prepare of each milestone checks them.
|
||||
|
||||
@@ -491,248 +477,3 @@ the one review (`mesh-code-reviewer`, at most three rounds).
|
||||
The order between branches is the prepare's dependency table: contracts and copies first (published as the next
|
||||
mesh-sdk and mesh-contracts versions at the clean state's step 5.2), then the modules; the runner-and-assigner branch
|
||||
rebases onto the contracts commits before the review.
|
||||
|
||||
## 10. Findings of H1's live run, for H2 and H4 (the lead, 2026-11-20 14:22 CET)
|
||||
|
||||
Met while the clean state was placed and the first pipelines ran; none changes H1's scope. Each is a line for the
|
||||
milestone named, written into its part before that milestone's prepare.
|
||||
|
||||
| finding | milestone |
|
||||
|---|---|
|
||||
| The indexer starts its take-in on a two-minute timer; the first branch take-in after a start waits that long. An event, not a timer (P1). | H2 |
|
||||
| The readers' first views loop on "asked once more" when the verb's holder is slow; the loop is silent. | H2 |
|
||||
| The composition step's validate reads "the branch's previous catalog revision" and could not run for the first revision after the seed (main.2 does not exist): a first revision validates against nothing, said so. | H2 |
|
||||
| The node build module asks a `package-lock.json` of the artifact's path; mesh-contracts's TypeScript artifacts name `.`, where none is: either the artifact path or the module's check is wrong, read against ADR 0499. | H2 |
|
||||
| The indexer's whole integration test took 32 s to set up on the build node, over the level's 30 s setup bound, so the step failed on time, not on behaviour. | H2 |
|
||||
| The grants part composes no per-branch consumers. | H4b |
|
||||
| The runner's publish is malformed on the earlier model's records (one journal line each). | H2 |
|
||||
| `TakeInSource` has no check for a revision below the newest kept. | H2 |
|
||||
| `mesh_wait` refuses the operator channel's events. | H2 |
|
||||
| No bus snapshot on request (a tool of the bus module). | H2 |
|
||||
| The keeper's orphan rule ignores state buckets. | H2 |
|
||||
| An artifact's key against the workspace directories H-A-136 adds (ADR 0499 clause 4). | H2 |
|
||||
| hq has no registration, so its pull requests are refused by the gate (H-A-131). | H2 |
|
||||
| mesh-delivery-sdk and mesh-delivery-contracts publish as packages of their own. | H2 |
|
||||
| The hand pack's `build-seats` phase carries the label of the build node only; every machine with a build runtime needs it. | H1, the runbook |
|
||||
| The claude-code node side wrote a lease over a login the manager had not adopted (H-A-138); its fix is a small fix beside H1. | fixed in H1 |
|
||||
|
||||
Added by the lead at 18:40 CET, from the run of 16:40 to 18:40: the first delivery by pipeline landed (a module on the
|
||||
desktop, with hand restarts), and these were met on the way. A row a lead answer settled says so; the rest are open.
|
||||
|
||||
| finding | milestone |
|
||||
|---|---|
|
||||
| Validate's base was read as the source number minus one, which names nothing where a take-in moved nothing (the seed, a merge with no mover); the indexer (`mesh-delivery-indexer`) and the assigner's validate. Settled by H-A-151 and H-A-154 (the catalog revision's field `base`), which settle the first-revision row above too. | settled in H1 |
|
||||
| Compositions on the control-node failed on stale assignments (modules assigned that no watched branch lists); the assigner (`mesh-delivery-assigner`). Settled by H-A-152 and H-A-153 (the run value's field `unlisted`, in the seat mesh-wants), proven at main.24. | settled in H1 |
|
||||
| A build ask reached the builder before its picture held the pipeline's revision, so it built with no version reserved (main.8, main.21, the first proof); the builder. Settled by H-A-155, H-A-156 (`revision-wait-minutes`) and H-A-162 (a run's ask names no source). | settled in H1 |
|
||||
| 64 of 82 Go modules carried no package edge, because the indexer read mesh packages from go.sum, which names none at the zero version; the indexer. Settled by H-A-157 (edges from go.mod). | settled in H1 |
|
||||
| The tool runner (`node-tools`) stopped every subscription on each membership and repair and dropped calls in the gap; the tool runner. Settled by H-A-158 and H-A-160 (make before break). | settled in H1 |
|
||||
| The builder still numbered every trunk build in a `versions` state of its own and folded a reserved version into an older entry, so builds pinned an old package; the builder. Settled by H-A-159 (the reservation is the one numbering), which also makes a tool to drop or rewrite a versions entry moot. | settled in H1 |
|
||||
| Packages were pinned by a commit (a pseudo-version of an old tree), so builds ran against pre-H1 packages (main.15, main.20, main.22, main.24); the indexer and the builder. Settled by H-A-161, H-A-165 (`package-wait-minutes`, a re-pin on version-released), H-A-167 and H-A-172 (pins in every form's fingerprint). | settled in H1 |
|
||||
| A pipeline whose mover had no registration never ended (main.20, main.22), and no tool ended a pipeline by hand; the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-163, H-A-171 and H-A-164 (the seat verb `end-again` on mesh-pipeline-runner, the tool `runner_end_again`). | settled in H1 |
|
||||
| The SDK's view reader heard an event only on `<subject>.>`, so the seat mesh-catalog's registration-changed on its bare subject reached no handler; mesh-sdk. Settled by H-A-166 and H-A-169 (the finding `event-unhandled`). | settled in H1 |
|
||||
| The SDK's finding write for an unhandled event waits up to 3 s on the bus inside the event loop, per event, so a missing stream or a slow bus stalls the module: write it outside the loop, or once per change of the count; mesh-sdk. | H2 |
|
||||
| The indexer dropped a passed pipeline's revision once the pipeline ended, so the want named an entry no longer kept and was held "entry-missing" (main.23, main.25); the indexer. Settled by H-A-168, H-A-170, H-A-173 and H-A-174 (release pins). | settled in H1 |
|
||||
| A tier-late pipeline's release records are freed only by that module's next pipeline that ends running, so a module with no later pipeline keeps its revisions pinned; the indexer. | H2 |
|
||||
| The indexer's `publishedAsBuilt` may read a package's imports at the wrong commit when the pin is not the newest of its series; the indexer. | H2 |
|
||||
| A failed re-pin leaves a pending key behind; the indexer. | H2 |
|
||||
| A build module's toolchain edge into the movers it is built from made a cycle the runner never broke, so pipelines held their turn with no step for an hour (main.26, main.28, main.30); the pipeline runner. Settled by H-A-175 and H-A-176 (the pipeline ends failed with why `cycle`). | settled in H1 |
|
||||
| Integration tests pass alone and fail on the build node under load (the bridge, the grants part, the indexer, the assigner's setup at 38 s against 30 s, the tool runner's level at 72 s against 60 s), because a build node runs levels side by side; fixed per test for the indexer and the tool runner only; the Go build module (`mesh-build-go`) and each module's tests. | H2 |
|
||||
| The Go build module runs builds at idle CPU priority, so a fixed bound in a test or a step can be outlasted by load alone; the Go build module. | H2 |
|
||||
| The build node counts untagged tests into a module's integration count (156 against the budget of 50 for the pipeline runner); the Go build module. | H2 |
|
||||
| Modules over the test budget: the node-engine (`mesh-host`) with 1716 unit tests against 500, the indexer with 538 integration tests and the assigner with 64, against 50; each shrinks with every change to its tests. | H2 |
|
||||
| The Go build module reads failed on the control-node and on the laptop, and a third build node is paused, so one build node (the desktop) builds for the whole mesh. | H2 |
|
||||
| The builder still starts delivery builds from the take-in path, flooding the one build node, where H §756 says a build is entered only by the runner's build step; the builder. | H2 |
|
||||
| A newer pipeline withdraws an older pipeline's build of the same module, and the older pipeline then fails instead of that mover leaving it (main.27, withdrawn by main.30); the pipeline runner and the builder. | H2 |
|
||||
| The step outputs store keeps 0 bytes, so the words of a failed test are lost and only the verdict remains; the pipeline runner. | H2 |
|
||||
| The pipeline runner's `show` answers 150 KB with no filter, too large for a session to read; it needs a filter (a mover, a step, a state); the pipeline runner. | H2 |
|
||||
| A run on request cannot place steps for a module that is not a mover; the pipeline runner. | H2 |
|
||||
| `runner_start` refuses a head whose pipeline exists (H-A-52), so a package module is built again only by a new merge; the pipeline runner. | H2 |
|
||||
| A required step that could not run has no hand twin: accepting it and running it again are both refused; the pipeline runner. | H2 |
|
||||
| No tool places a pipeline's waiting movers again; only the runner's start does; the pipeline runner. | H2 |
|
||||
| No tool shows the pins a build ask carried; the builder. | H2 |
|
||||
| `builder_build_again` refuses a key that is done; the builder. | H2 |
|
||||
| The seed registered not every package module (mesh-delivery-contracts, mesh-delivery-sdk) and made no mover of them, so they were registered by hand and nothing was published at H1's heads (H §758); the seed of the seat mesh-catalog. | H2 |
|
||||
| A want is written only from a pipeline that passed whole (H §750, §751), so a dependent folded in (H §745) that fails blocks a fix of the module it depends on; the assigner. A design question: all or nothing, or per mover. | H2 |
|
||||
| Packages in one repository carry no kind-1 edge between them (the sibling rule, H-A-136); a design question whether they should; the indexer. | H2 |
|
||||
| A module (`feh:tools`) carries a required integration step with no integration test to run ("a step with nothing to run"); the seed's steps in the seat mesh-catalog. | H2 |
|
||||
| The gate (`mesh-delivery-gate`) says old sources again on a restart. | H2 |
|
||||
| A held take-in does not try again after a passing failure of the forge; the indexer. | H2 |
|
||||
| The node-engine's early-pass words "reaches no artifact store" read as a fault while placements are not read yet; the node-engine. | H2 |
|
||||
| The node-engine's resolve-again period is fixed in code, not a setting (P11); the node-engine. | H2 |
|
||||
| A fetch made inside the node-engine's turn tells the composer nothing; the node-engine. | H2 |
|
||||
| The node-engine's node-agent wiring has no test; the node-engine. | H2 |
|
||||
| A bundle reload of the tool runner still unloads before it serves, so calls in the gap meet no responders (said, not silent), and the mesh MCP server's package takes 28 s to load; the tool runner. | H2 |
|
||||
| The seat node-files has no verb that reads a file's sha256, and its `copy` refuses another node (issue 903), so hand packs were copied by the lead's shell; node-files. | H2 |
|
||||
| The builder's unit written by hand on the desktop carries none of the manifest's setting variables, so its settings are the defaults; the builder's hand pack. | H1, the runbook |
|
||||
| The clean proofs of the runbook's step 7 are still owed: the first proof failed on the version race (settled by H-A-155), the second ran for the publish of the SDK packages; the freeze is not lifted (step 8) (lifted at 19:31 on 2026-11-21, row 173). | H1 |
|
||||
|
||||
Added by the lead at 19:50 CET, from the run of 18:40 to 19:50; a row met again names the row of 18:40 it adds to.
|
||||
|
||||
| finding | milestone |
|
||||
|---|---|
|
||||
| The node-engine (`mesh-host`) asks the seat mesh-recovery for a restore point before it moves a data-holding module, and the recovery module is placed nowhere (H §456), so every such take-in was held for good; the node-engine. Settled by H-A-177 and H-A-178 (it moves without a point where no holder is placed and raises the finding `restore-point-missing`). | settled in H1 |
|
||||
| A package module no machine holds (mesh-delivery-sdk) had a required composition step that could not run, so its pipeline could never pass (main.35, the second proof); the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-179 (the step ends `nothing to run`, ADR 0682 §8). | settled in H1 |
|
||||
| A module held for a failed restore point kept the hold across the node-engine's start, and no operator's ask was raised for it, so the hold was for good; the node-engine. Settled by H-A-180 (the hold's cause is judged again at the start and on every change of placements). | settled in H1 |
|
||||
| The forge bridge kept each owed event whole in its state `performed`, filling its kept data to 51 MB of the template's 64 MiB (19,530 keys, the condition "kept data is filling up"); the forge bridge. Settled by H-A-181 and H-A-182 (the outcome, when, and the act's pull request; the act stays in the gate's stream `owed`). | settled in H1 |
|
||||
| The finding `restore-point-missing` did not reach the conditions after the first move without a point: the finding's wiring to the condition keeper; the node-engine. | H2 |
|
||||
| The recovery module is placed nowhere, and the assigner derives no placement from the holder of the seat mesh-broker (G §554); the assigner (`mesh-delivery-assigner`). | H2 |
|
||||
| A pipeline record with 112 or 129 movers exceeds the bus's 1 MiB message limit once its steps are placed, so two pipelines were cancelled; the record's shape (steps per mover key) and the limit as a setting; the pipeline runner. | H2 |
|
||||
| A change to the SDK package folds in about 112 importers and a change in the catalog repository about 60, so the first re-pin of those repositories cannot run until the pipeline record is reshaped (the row above); the pipeline runner. | H2 |
|
||||
| Met again on the tool runner's pipeline: a superseded build makes the older pipeline fail instead of its mover leaving it (the row of 18:40 on a withdrawn build); the pipeline runner and the builder. | H2 |
|
||||
| The gate's owed acts run at about ten times the design's estimate (about 80 note acts per delivery record per pull request), and the gate's own stream `owed` takes the same rate; the gate (`mesh-delivery-gate`). | H2 |
|
||||
| The forge bridge's `bridge_owed` by pull request still reads every key of its state in the tool runner's process; the forge bridge. | H2 |
|
||||
| A refused consumer creation is tried again for longer than the tools' wait for an answer, so a person sees a timeout instead of the refusal; the bus module's tools. | H2 |
|
||||
| Met again: the SDK's finding write for an unhandled event waits up to 3 s on the bus inside the event loop, seen as a 90 s test (the row of 18:40); mesh-sdk. | H2 |
|
||||
| Met again: the build node counts untagged tests into a module's integration count (the row of 18:40); the Go build module (`mesh-build-go`). | H2 |
|
||||
| Met again: the step outputs store keeps 0 bytes, so a failed test's words are lost (the row of 18:40); the pipeline runner. | H2 |
|
||||
| The proof of the runbook's step 7 is still owed: proof 1 failed on the version race, proof 2 twice, on stale pins and on the composition step of a module no machine holds (settled by H-A-179), both settled; the freeze is not lifted (step 8) (lifted at 19:31 on 2026-11-21, row 173). | H1 |
|
||||
| Four hand placements more (the distribution tools bundle, the assigner, the builder's program, the node-engine twice) and five hand restarts were needed to break circles, each said to the operator; the runbook. | H1, the runbook |
|
||||
|
||||
Added by the lead at 21:30 CET, from the run of 19:50 to 21:30; a row met again names the row it adds to.
|
||||
|
||||
| finding | milestone |
|
||||
|---|---|
|
||||
| A pin named the newest release of the module holding a package (its release number), while a Go package's version is its tag, so every importer of a nested package failed on "unknown revision" (main.39), and pipelines kept failing on old pins; the indexer (`mesh-delivery-indexer`). Settled by H-A-183, H-A-184 and H-A-185 (the pin is the newest version the registry published for the package path, within the series the module's manifest accepts), built in the indexer and placed by hand, because its own pipeline could not deliver it. | settled in H1 |
|
||||
| Nine Go packages other modules import were never declared artifacts of their modules (among them the builder's `builds`, the bus module's `busgrants`, disk-load's `diskreadings`), so no release published them and their importers' builds wait past the bound; the owning modules' manifests in the catalog. Settled by H-A-186 (an imported mesh package is a declared artifact of its module); still owed: the catalog's check that refuses a manifest whose Go module imports a mesh package path no module of the catalog declares. | H2 |
|
||||
| A package artifact's declared series (0.1) differed from its module's version series (0.3 for the assigner), so its publishes would pin nothing; the manifests in the catalog. Settled by H-A-188 (a package artifact's series is its module's version series, or left out); still owed: the catalog's check that refuses a mismatch, and the gate's manifest (`mesh-delivery-gate`) naming the series 0.3 in its `packages` so it accepts the assigner's asks, in the catalog's next change. | H2 |
|
||||
| A pipeline record of 112 or 129 movers exceeded the bus's 1 MiB message limit (the row of 19:50 on the record's shape); the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-187 (steps one key per mover), H-A-189 (a mover's unlogged step-log entries under its mover key), H-A-190 (a step-log entry names its mover) and H-A-191 (`list` answers counts, `mover-count` and `step-count`). Still owed: a tool that reconciles a record whose mover-key writes failed; and a bound on every kept value (64 KiB) and on every tool answer, in mesh-sdk, the lead's proposal, whose scope waits on the operator. | H2 |
|
||||
| The builder's step path pinned a package of the same pipeline at the module's release number, and the Go build module (`mesh-build-go`), given no pin, took another package's version of the same repository (its "askedFor" fallback), so both built against versions never published; the builder and the Go build module. Settled by H-A-192 (the builder takes a pin from the catalog entry or the registry's package-published event alone; a build module given no pin refuses the build, loud); still owed: the Go build module's half, in the catalog. | H2 |
|
||||
| The builder's lane narrowed a module's single fetch to the paths of its package artifacts, so a program build found no main module; the builder. Fixed in the builder, by ADR 0499 clause 1. | settled in H1 |
|
||||
| The indexer's tools bundle missed a catalog-revision event in silence, so the pipeline runner waited 12 minutes for the next revision; the tool runner (`node-tools`). The cause, not the SDK's reader: the tool runner on the control-node was built before the one consumer loop (H-A-132, H-A-133), so two pull loops read the bundle's one durable consumer and each event reached one loop only; the events alternated (the bundle read 42 and 44, the runner's own view heard 41 and 43), and the seat mesh-catalog's revision verb answered a stale revision while the same process had heard the newer one. The fix of the cause is the tool runner's own release reaching that node (pipeline main.43); the kind is closed by H-A-196 (the SDK refuses, loud at bind time, a second pull loop on a durable the same process already pulls), in build. A note: a log line per event handed to a bundle. | settled in H1 |
|
||||
| The seat mesh-grants's verb `grants-for` was cut after 5 s in two pipelines' composition steps (a widening entry on the vault); the grants part. The cause: the verb answers in 3.4 to 5.0 s, because on every call it reads two whole catalog revisions (about 1.4 MB each) page by page through the seat mesh-catalog's revision verb and composes every account twice, with no cache, while the pipeline runner's read bound is 5 s. A revision read whole over the bus is the same habit as the row of 21:30 on the pipeline record over 1 MiB. The fix chosen (thorough): the grants holder keeps each revision it read, a revision never changing; in build now. Not chosen: raising the runner's bound. | H2 |
|
||||
| The node-engine (`mesh-host`) on one machine said it cannot create a new version's folder ("operation not permitted"), met twice, two days apart; the node-engine. The cause: an immutable attribute a person set by hand on the engine's versions folder during the recovery of the mixed state of 2026-11-13, since removed; the engine keeps repeating the stale words of its last applied record. No fix in code or unit: the words clear at the next applied composition. Owed: a tool of the seat node-files that shows a file's attributes (none exists), and the engine's record says when its words date from. | H2 |
|
||||
| Two hand placements more (the assigner's compositions fix and the indexer with pins by package path), each on its machine, because their own pipelines could not deliver them; the runbook. | H1, the runbook |
|
||||
| The "unknown revision" kind, its cause read at 22:12: the Go build module (`mesh-build-go`), given no pin for a requirement at the zero version (a transitive one, or one a sibling names), borrowed the version of the first package of the same repository in the ask, wrong since pins became per-package versions; the registry, the indexer's pins and the publishes were right for the paths they name; the Go build module and the indexer (`mesh-delivery-indexer`). Settled by H-A-192 (a build module given no pin refuses the build; the catalog's change, in build) and H-A-201 (the entry pins every requirement of the module graph, transitively; in build in the indexer). | settled in H1 once delivered |
|
||||
| The builder writes a git tag `go/v<version>` for every Go package, while the Go toolchain's direct fallback for a nested module looks for `<directory>/v<version>`, so the tags serve nothing; secondary, as the registry seat holds every real version; the builder. Owed: the tag takes the package's directory, or no tag is written at all. | H2 |
|
||||
| A build that fails this way is asked again every 30 to 40 s, and the builder reserves a new version number each time (`mesh-build-go` 0.1.65 to 0.1.70 in five minutes): the builder never gives up a failing build of an unchanged fingerprint; the builder. Owed: a failed build of a fingerprint is not asked again until its inputs change, and no version is reserved for a build that failed before. | H2 |
|
||||
| With H-A-196 and H-A-197 built (the SDK's one guard against a second pull loop on a durable; the tool runner claims through it), two durable pull loops in the delivery repository still call the bus client directly: the watchman's dead-letter loop and the grants holder's main loop; each binds one durable once today, so there is no fault, but the kind is open there; the watchman and the grants part. Owed: both route through the SDK's consume function, in a change after this group's SDK is published (a module builds against the latest published SDK); the review that finds a direct durable pull is the check. | H2, or the next change of the delivery repository |
|
||||
| The seat mesh-grants's verb `grants-for` (row 69): the grants holder keeps the catalog revisions it read, at most `grants-for-revisions-per-branch` per branch and only for the branches it follows, and learns the branch's newest revision from the catalog-revision event; the grants part. Settled by H-A-193 and H-A-195; merged as pull request #294, whose pipeline failed on other faults, so it is delivered with the next passing pipeline. | settled in H1 once delivered |
|
||||
| The publishes the builder heard lived only in its memory and were lost at a restart, so a build waiting for a package published before it waited the whole bound; the builder. Settled by H-A-194 (before it waits, the builder asks the package registry seat's `versions` verb once), in pull request #291. | settled in H1 once delivered |
|
||||
| A package artifact's steps lacked its same-repository requirements (H-A-198), and writing the derived "../" paths into the entry (H-A-199) would have changed the form of the seat mesh-catalog's `modules` value, which every module decodes, so every reader would have had to run the new client before the writer: the mesh cannot derive that ordering edge yet; the Go build module (`mesh-build-go`) and the indexer (`mesh-delivery-indexer`). Settled for H1 by H-A-202 (the Go build module derives the same-repository tree transitively; the indexer takes those directories into the fingerprint for every form without writing them into the entry). Owed: a change of a kept value's form is an ordering edge the delivery plan derives (a contract version on the value, or the readers' release before the writer's). | H2 |
|
||||
| The indexer pins every other-repository requirement across the module graph, never one of its own repository (H-A-201, pull request #296), and the Go build module refuses a build with no pin (H-A-192, the catalog's change); together they end the "unknown revision" kind (row 72); the indexer and the Go build module. | settled in H1 once delivered |
|
||||
| The seat mesh-catalog's hand-written digest helpers lived under the contract's generated root, so the generator's check failed every unit step; the contracts module. Settled by H-A-200 (they live in the seat's hand-written client), in pull request #295. Owed: the generator's check runs in the contracts module's own unit step on the mesh (it does today), and the hand-written clients' import of the delivery SDK (ADR 0625 §3) is still on trunk. | H2 |
|
||||
| The pipeline runner's lint, unit and integration asks carried no pins (only the build ask does, and the builder adds them), so once the Go build module refused a requirement with no pin (H-A-192) twelve test steps of the contracts mover could not run; the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-203 (every step ask carries the entry's pins), in build in the runner. | settled in H1 once delivered |
|
||||
| The entries of modules not changed since kept their old `packages`: a direct requirement with no pin although the registry held its version, a declared package never published left out, a same-repository chain missed; six build asks were refused; the indexer (`mesh-delivery-indexer`). Settled by H-A-204 (an entry names every requirement, with an empty version where none is published so the builder waits; a publish re-pins every kept entry of any repository; a tool answers one entry's pins), in build in the indexer. Owed: the kept-entry rule "unchanged unless it imports a package the commit moved" is replaced by the publish re-pin everywhere. | H2 |
|
||||
| A second build node still ran the Go build module (`mesh-build-go`) from before the pin refusal, so one pipeline's build borrowed a pin there and failed "unknown revision" while the first build node refused loud; the fixed build module could not be placed on that node tonight, so its Go steps were paused by its tool; the Go build module and the runbook. Owed: a hand placement reaches every node that runs the module, or the module is delivered by its pipeline (H1's purpose). | H1, the runbook |
|
||||
| Two pipelines of consecutive revisions ran at once, and the older one's builds failed "revision 45 of main not in the builder's picture within 2m0s" while the seat mesh-catalog's revision verb answered 46; the builder. Settled by H-A-205 (for a revision below the newest it heard, the builder asks the revision verb by number), in build. | settled in H1 once delivered |
|
||||
| A test step of an entry whose package has no version yet went out without that pin and was refused; the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-206 (a Go artifact's test steps wait for their pins as the build does, "waits on the publish of <path>"), in build in the runner. | settled in H1 once delivered |
|
||||
| The Node and the Go build modules' tools that list their running steps do not list delivery asks (the builder's own asks), so the check "no running step" before a hand restart cannot see them; the Go build module's was seen at 01:17 to 01:19, its step list showing none while the seat's `current` verb showed asks running; the Node build module and the Go build module (`mesh-build-go`). Owed: each list names every ask the module runs, whoever asked. | H2 |
|
||||
| A test step held for a pin not yet published had nothing to end it once its build passed (the builder had read the registry and pinned it), so with one pipeline at a time the queue would stop; the pipeline runner (`mesh-delivery-pipeline`) and the builder. Settled by H-A-207 (the build's end reports the pins it built with, the seat mesh-builds' end carrying `packages`, and the runner asks the held steps with them), in build. | settled in H1 once delivered |
|
||||
| The reading of the module graph (H-A-201) runs at a take-in, which applies a repository whole, so repositories with no merge since the rule changed kept their modules' direct requirements only, and no tool took a repository in again; the indexer (`mesh-delivery-indexer`). Settled by H-A-208 (the tool `indexer_take_in_again`), H-A-209 and H-A-210: the take-in again keeps no catalog revision and asks no gate; it re-reads the repository's kept requirements at its merge commit and recomputes the modules state as a publish re-pin does; in build. Owed: a change of the indexer's rules recomputes every repository by itself at the indexer's start; the tool is the hand form of that. | H2 |
|
||||
| The pin kind (rows 62, 66, 72, 79, 81 to 85, 87, 88) was fixed one instance per round for five hours, against the rule "at the second failure of a kind, fix the kind"; the rule was then written whole as a specification with a gap table against the code ([H-pins-spec-and-gaps.md](H-pins-spec-and-gaps.md)): 35 lines, 24 built, 6 built otherwise, 1 contradicted, 2 missing, and 7 changes still missing (its section 8), the largest that a re-pin on a publish never became a revision or a mover (the "entry-missing" holds on wants), settled by H-A-211 (a re-pin is taken in as the next catalog revision of the same source); the indexer (`mesh-delivery-indexer`), the pipeline runner, the builder and the Go build module. The lesson for playbook 07: a kind met twice gets its specification before its third fix, and one owner across every part it touches. | H1 (the way of working); H2 for the owed items of the specification's section 8 |
|
||||
| A catalog revision's number equalled the gate's source revision by habit, so a re-pin had no number to keep its entries under, and the pipeline runner started a pipeline per published artifact (several per release) from its own hearing; the indexer (`mesh-delivery-indexer`), the seat mesh-catalog's definition and the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-212 and H-A-213: a revision's number is the indexer's own counter, with the gate's source as a field; a revision carries its call (`call`: take-in, release of a module version, or take-in again of a repository); one pipeline per release revision; the runner keys pipelines and reads revisions by number. The call's kind is a field of its own, `call-kind`, an enumeration the seat's schema validates (take-in, release, take-in-again), with `module` and `version` or `repository` beside `call`, the words for a person, so no reader parses words (H-A-215). The seat mesh-builds' package-published names the revision it was built from (`revision`, set by the builder), so the runner finds the publishing pipeline among several revisions of one source (H-A-218). Every ask of the runner (build, step, wants) names the catalog revision number in its `revision` field, with the gate's source beside it in `source`, so a build module and the builder read one meaning of the word (H-A-219). A build the builder starts from its own picture takes its revision number from the picture's half into its reservation, so its publish names the same revision its source comes from (H-A-220). The runner's pipeline subjects (pipeline-started, pipeline-ended, wait-held, wait-ended) name their last token `<revision>` and carry the pipeline's revision number, the same number as its key, so name and value agree (H-A-221). In build by the one owner of the pin kind (row 89). | settled in H1 once delivered |
|
||||
| With revision numbers no longer the gate's source (row 90), two readers still looked a revision up by its source: the seat mesh-catalog's revision verb's source input, and the indexer's freeing of a pipeline's pins on the seat mesh-wants' pipeline-wanted, which named only the source; and the take-in again could re-read only the trunk, since only its merge commit is kept; the indexer (`mesh-delivery-indexer`). Settled by H-A-214 (pipeline-wanted names the revision number; the verb's source input answers the take-in's revision; the take-in again covers the trunk, and another watched branch is re-read at its next merge). In build by the pin kind's second owner: the first ran out of context after the indexer's part, and the hand-over cost one review round. Owed: a take-in again of another watched branch, once branches live longer. | settled in H1 once delivered; H2 for the owed item |
|
||||
| Beyond the publish re-pin, three more whole recomputes of the indexer (on a build module's assignments change, on a toolchain report, and by the recompute tool) moved fingerprints with no kept revision, and the assigner (`mesh-delivery-assigner`) derived a pipeline's source from its key, which now carries the revision number; the indexer (`mesh-delivery-indexer`), the pipeline runner and the assigner. Settled by H-A-217 (any recompute that moves a fingerprint keeps a revision of `call-kind` recompute naming its reason; the runner treats every revision whose kind is not take-in alike, one pipeline for its movers) and H-A-216 (the assigner keeps the source the pipeline's end names and sends it in pipeline-wanted beside the revision). In build by the pin kind's second owner (row 91). | settled in H1 once delivered |
|
||||
| The joined pipeline runner (`mesh-delivery-pipeline`) crashed at every start on the control-node ("concurrent map writes" in its per-mover step store: the store's shared maps were written under each pipeline's lock only, while the start placed several branches' waiting pipelines at once) and was rolled back within a minute. Before dying it had split two kept pipelines into per-mover keys, and the old runner then placed one running pipeline's steps again from the emptied record, losing that record's history; no hand repair, as the new runner composes from the keys; the pipeline runner. Settled in H1 by a mutex over the store's maps and a run of the race detector over the runner's start path with kept pipelines. Owed: every module's unit and integration suites run under the race detector in the check, and a tool that lists the runner's state keys (a whole list exceeds the bus; no key listing exists). | H1 (the fix); H2 (the check and the tool) |
|
||||
| The indexer (`mesh-delivery-indexer`) refused its own take-in-again tool's ask ("a takeins value naming no hand act the indexer serves"): the decoder of a take-in ask kept a hand-written list of hand-act fields that the new field was not added to, and no test sent a tool's value through the decoder; the indexer. Settled in H1 by deriving the check from the ask's fields, and by a table test that decodes every tool's value. Owed: the same table test for every module whose tools write asks its daemon decodes. | H1 (the fix); H2 (the kind across modules) |
|
||||
| The seat mesh-catalog's revision verb answered from the tools bundle's view of the trunk in memory, which ran one or more revisions behind the kept revisions once releases kept several in a row, so the pipeline runner waited minutes for a revision the indexer had kept (four minutes for revision 52) and the builder's picture failed a pipeline's first builds past its bound (rows 68 and 84); the indexer (`mesh-delivery-indexer`) and the builder. Settled by H-A-222 (the verb answers the newest kept revision read from the store at the ask; the builder's picture holds an ask that names a kept revision number, read by number), in build. | settled in H1 once delivered |
|
||||
| A release re-pinned a mover of a running pipeline of 120 movers (the tool runner, pinned to the SDK's new version) while that pipeline still built it at the old fingerprint; the build failed and, as a pipeline passes or fails whole, took every other mover with it, because the runner moved only movers of waiting pipelines; the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-223 (a moved mover leaves a running pipeline too: its steps end superseded, its asks are cancelled, the end judgement counts it as left; a pipeline whose every mover left ends superseded), in build in the runner. Also seen in the same pipeline: two builds done "but no version is reserved", because the builder's picture lagged the revision that named their fingerprints (row 95's cause). | settled in H1 once delivered |
|
||||
| On the build node the SDK's own integration test of the views reader ("the views reader and two handlers share the module's one durable") failed under the new guard against a second pull loop on one durable (H-A-196), while the same test passed locally at review. The cause, not the guard: the test read the durable's pending-ack count the moment the handlers had spoken, while the reader acknowledges afterwards and the bus takes acknowledgements on its own, so one was still pending on the loaded build node; the test now publishes a mark event and waits for the consumer's acknowledged floor to reach it, fixed in mesh-sdk, in review. The kind: a test reading the bus's acknowledgement count right after a handler speaks; mesh-sdk. Also seen: four release-revision pipelines waited with no steps for over ten minutes behind one running pipeline that could no longer pass, because the pipeline runner (`mesh-delivery-pipeline`) runs one pipeline at a time and ends a pipeline only when its last step ends. Owed: a pipeline that cannot pass ends at once (H-A-163 as written), and the queue's setting is raised once the build nodes allow. | H1 (the SDK's fix); H2 (the queue) |
|
||||
| With the SDK's new guard against a second pull loop (H-A-196), which reads a consumer's cached information at bind, a test fake of a consumer in the indexer (`mesh-delivery-indexer`) that answered no such information panicked, so the indexer's unit step would fail against the new SDK although no indexer code changed; mesh-sdk and the delivery repository's modules. Fixed in H1 by completing the fakes across the delivery repository's modules. Owed: a change of the SDK that adds a call on an interface every module fakes is tried against the modules' suites before its merge (the group's check builds every importer, but runs no importer's suite). | H1 (the fakes); H2 (the check) |
|
||||
| The builder was restarted by hand while Go asks ran in the Go build module's runtime (`mesh-build-go`), whose step list showed none because it does not list the builder's own delivery asks (row 86); the asks survived the restart because the build module runs them, but the "no running step" check before a hand restart is blind to them; the build modules and the runbook. Owed: one tool across the build seats that lists every running ask, whoever asked it. | H2 |
|
||||
| The watchman's entry still pinned no client that its same-repository `buildrun` module requires, because the watchman's go.mod names `buildrun` in a replace directive without a require line, and the reading of the module graph (H-A-201) followed require lines only; six test steps were refused "no pin" (rows 79 and 82); the indexer (`mesh-delivery-indexer`). Settled by H-A-224 (a same-repository module named only by a replace counts as required; its requirements are pinned transitively), in build in the indexer. | settled in H1 once delivered |
|
||||
| The builder keeps one reservation per module and series and bumped its number on any new run of a build (a restart's re-run included), while the run already building carried the old number, so its publish was refused "has no version reserved or released"; and a take-over of the series by another fingerprint dropped the older reservation without stopping the older build, which then published a dropped number; the builder. Settled by H-A-225 (a reservation is kept for the same fingerprint until it is released; a taken-over build is withdrawn; a number never published is freed), in build in the builder. Its last clause is withdrawn by H-A-226: the builder's Built and the reserved answer match by version alone, and the registry refuses a republish with other bytes, so a reused dropped number would let a withdrawn build's late publish land in the new reservation; a dropped number stays a gap, which harms nothing, and the series key keeps only the withdrawn numbers above the catalog's highest released patch. Also seen: after the builder's start it logged "no seat builds an artifact of language go and kind package" dozens of times a second (the journal suppressed over a thousand lines); not a spin but a burst at the start: every catalog entry taken in and every seat definition heard plans every known module again, and a failed plan is not kept, so the same line is logged once per definition and module. Owed: a failed plan is kept and said once until the seat list changes. | settled in H1 once delivered; H2 for the owed items |
|
||||
| A restart of a node's tool runner (`node-tools`), to load one module's new tools bundle, silences the seat verbs of every module whose tools run inside it: the artifact registry seat answered "no responders" for about two minutes while the control-node's tool runner restarted, and the builder's publishes failed meanwhile; the tool runner and the builder. Owed: a tool runner serves one module's bundle again without restarting (H-A-158's make before break, for a bundle), and a publisher retries a seat that answers no responders, within a bound. Also seen there: the registry seat's list answer exceeds the bus (1.5 MB; pages are owed, the same habit as row 65), and a finding of kind read-side-down raised by one writer cannot be cleared by the tools' writer (owed: one owner per finding kind). | H2 |
|
||||
| The thirteen issues the lead held were judged against what the milestone delivered: five closed as superseded by H's merge call and the checker's retirement (the forge's status writes, the merge Approve path, a second check overwriting the first, a gate merge without a manifest, a refused merge asked again); three resolved with their fixes named (the controller's check bound, the checker's tests on the desktop, the build node's resolver); one released back to open (the verbs of the seat node-package-manager, which H does not touch); two kept with a note (the bus flood, whose kind now sits on the connection of the control-node's tool runner; the session not told of an answer); and two wait for the proofs (a held module's chain; one release for a change across repositories, proof 2); the issue tracker. A missing tool was met: no forge tool lists merged pull requests by number. | H1 (done); H2 for the two waiting and the tool |
|
||||
| The artifact registry's receiver read its incoming object store's fill on every chunk it took, and the tool runner (`node-tools`) answered the fill by listing every kept description of the store, the leftovers of about twenty thousand deleted chunks included, so the control-node's tool runner read fourteen megabytes a second and the bus ran at full CPU; every take-in and publish slowed (proof 1's take-in took six minutes), and discovery answered incompletely (rows 65 and 102); the artifact registry, the tool runner and the delivery SDK. The recovery (drop one dead upload, purge the store's leftovers) removes data and was put to the operator. Settled by H-A-227 (a fill is read from the stream's own figures, never by listing; a receiver reads it once per transfer; the owner compacts a store of leftovers), in build in the tool runner and the delivery SDK. Also seen: three findings streams stood full (the pipeline runner's, the builder's and the node-engine's); owed: a findings stream bounded by age, and a reader of its fill. | H1 (the fix); H2 (the compaction and the bounded streams) |
|
||||
| The validate step's run ask (the manifest validator's program, built and run from the delivery repository's tree) still carried no pins after H-A-203 was built for the test asks, so with the build module refusing a requirement without a pin every validate step ended "could not run" (proof 1's feh at 01:56, the SDK's at 01:30) and no composition followed (rows 81 and 85); the pipeline runner (`mesh-delivery-pipeline`). Settled in H1 by giving the validate ask the pins of the manifest validator's own entry at the pipeline's revision, in build in the runner. The kind: every ask the runner makes carries pins, and a review that reads "every step ask" lists the asks. | settled in H1 once delivered |
|
||||
| The bus module's keeper reads only a manifest's new-form asks, so the eleven entries the two foundation parts (the artifact registry and the forge) declare in their old sections, all with live data, stand as orphans to it: the registry's incoming store could not be rebuilt empty ("an orphan: drop it, or ask for it in a manifest again"), and the only way to empty it was a drop on the operator's warrant followed by the grants part's assert that makes it again; a careless drop of any of the other ten would lose live data (rows 65 and 104); the bus module. Settled by H-A-229, H-A-230 and H-A-231: every manifest's old-section entries are asked for, never orphans; the keeper keeps, grows and rebuilds only those it made, and creates none (the grants part makes the rest); in build in the bus module. Ten of the eleven clear; the lower-case events stream, which the keeper made under a name the grants part does not derive, stays an orphan, to be dropped on the operator's warrant. | H1 |
|
||||
| Three fixes were merged between 02:09 and 02:13 and each taken in within a minute (the flood halved after the dead upload was dropped): the validate and composition run asks' pins (the holder of the seat mesh-wants), the tool runner's fill from the stream's figures, and the receiver's one read per transfer. The first lands in the holder that runs on a node of its own and through which every validate step runs, so no pipeline can deliver it to itself: a hand pack for that node, copied by the operator at their terminal (the session's permission check refused the lead's copy) and restarted there before the running pipelines' validate steps can pass. The last of the three re-pins twenty-nine modules into one pipeline; the runbook. | H1 |
|
||||
| The bus module's drop of an orphan asks the operator's warrant with a window of ten minutes, and then ends with nothing removed ("ask again with a new request") while the operator is away, whereas the session's own asks carry an expiry the asker sets (up to a day); the drop's warrant should carry the asker's expiry too, or at least the operator's answer to the session's ask should count (row 106); the bus module. Owed: the bus module's warranted acts take an expiry from their caller. | H2 |
|
||||
| The bus module's orphan judgement (row 106) was fixed, reviewed in two rounds (the first found the keeper taking into its care a state's object store the grants part made, and its cap sum dropping kept state buckets) and merged at 02:33; its take-in took close to three minutes while the indexer waited on a package's versions, where the night's others took under a minute; its pipeline waits with five others on the validate fix reaching the node that runs the holder of the seat mesh-wants (row 107); the bus module and the runbook. | H1 |
|
||||
| Every take-in of the catalog repository since a Go module was removed from it on 2026-11-17 said "its packages are not published": the indexer (`mesh-delivery-indexer`) lists a repository's packages from its kept packages state too, which still holds the removed module, so the forge's listing of the whole set fails, and the indexer's one-directory fallback runs only on its own error, not on the forge's. Nothing of that repository was published since, so the digests of its three same-repository packages froze on their last commit, and a change to one would not move its seven importers, unsaid; met twice tonight before it was read (row 81 on the pins kind; issue 1585, one release for a change across repositories); the indexer and the forge module. Settled by H-A-232 (a repository's packages are those in the merge's tree, and a gone key is dropped and said; the forge answers not-found and the fallback runs on it; any other failure stays loud), in build in the indexer and the forge module. | H1 |
|
||||
| The operator restated at about 03:33 the bound ADR 0282 decides: a fix to a leaf module runs healthy on every node within five minutes of its merge, a core module within ten. Tonight's measured parts: merge to take-in 25 to 45 s for the delivery repository and 2 min 40 s to 5 minutes for the catalog repository (cause not yet known; the indexer waited on a package's versions); take-in to placement about two minutes under the queue of pipelines at once; a leaf's build step running past six minutes; and no pipeline reaching its composition since 01:56 (the validate asks). No pipeline completed merge to running tonight, so the whole is unmeasured (rows 105 and 107); the pipeline runner (`mesh-delivery-pipeline`) and the condition keeper. Owed: the pipeline's phases timed and said per pipeline (the pipeline-ended event carries each step's start and end), and the delivery time held against ADR 0282 by a condition. | H2 (the measure); H1 records it |
|
||||
| A release pipeline held the pipeline runner's one slot for nine hours (02:06 to 11:08): its validate ask was lost when the holder of the seat mesh-wants was restarted for a hand pack, and the runner waits on an ask without a bound, so eight pipelines queued behind a step nobody would answer, until the lead cancelled it on the operator's word (rows 107 and 111); the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-235 (every ask the runner makes is bounded, asked again once, then ends could-not-run with a finding, and the slot frees), in build in the runner. | H1 |
|
||||
| The runner's rerun of a validate step was always refused ("placed no ask now"): the verb looks for the ask by the mover's id, while the validate ask is one per pipeline and names no mover (H-A-51), so a failed pipeline's validate could not be asked again after the pins fix, and proof 1 had to be run a second time from a new merge (row 105); the pipeline runner. Settled by H-A-236 (the rerun of validate asks the pipeline's one validate ask again; the rerun of composition builds the composition ask for the named mover), in build in the runner with the row above. | H1 |
|
||||
| The bus module's drop and rebuild warrants ask at the destroy level, which needs a code no channel carries yet, so the router held all four of the night's asks unshown ("no channel can carry it now") while the tool answered "the operator is asked", and each expired after ten minutes; the operator saw nothing on Telegram (rows 106 and 108); the bus module and the operator channel's router. Settled by H-A-237 as a weighed bend the operator asked for: the keeper asks at the approve level until a channel carries destroy, with the caller's expiry; the tool reads the router's record and says offered, held or refused; the router's hold reason names the level. Owed: the destroy proof stays designed (ADR 0259), and a channel that carries a destroy answer. | H1 (the bend); H2 (the destroy channel) |
|
||||
| Once the slot was freed, the first pipeline through the fixed holder of the seat mesh-wants passed at 11:07 (a release of a contracts package, six movers): validate three minutes after placement, compositions on the build node, the pipeline ended passed, and the next took the slot within a minute; the pipeline runner (`mesh-delivery-pipeline`). Still seen: the seat mesh-grants's verb `grants-for`, cut after 5 s, marks every mover's widens could-not-run (rows 69 and 76, the grants cache); and two movers are over the test budget (an NFS server module at 51 integration tests, a package manager module at 121, against 50). | H1 (the pass); H2 (the cut, the budget) |
|
||||
| Proof 1 runs a second time: one line in the wallpaper module, merged at 11:07:56, taken in 2 min 51 s later as its own pipeline with the one mover, and placed last in a queue of six; the catalog repository's take-in still says "its packages are not published", because the forge's not-found fix is merged but not running yet (rows 110 and 113): the hand packs of the forge module and the indexer go onto the control-node now, on the operator's word, with the tool runner's; the runbook. | H1 |
|
||||
| On the operator's word ("if you would run all the changes on our local machine, it wouldn't take that long"), the night's merged fixes to the delivery system itself went onto the control-node as hand packs between 11:10 and 11:19 (the indexer, the forge module's code, the tool runner for seventeen units), each by its notes, with the kept copies beside; all units are active and the forge's listing verb is served; the two proofs alone go by their pipeline (rows 107 and 110); the runbook. Seen in the indexer's journal: its findings writer owns four kinds while its code raises others (a missing pin, generated types out of step, a merge not taken in), so the writer refused them once a minute for hours and no finding of the indexer was written; the kind of H-A-233 would have met the same; the indexer (`mesh-delivery-indexer`). Settled by H-A-240 as H-A-242 corrects it (row 119). | H1 |
|
||||
| The root of row 112: the holders of the seats mesh-builds and mesh-wants take their asks on a plain subscription, not from a work queue, so an ask put while the holder is down (a hand pack's restart) is lost, and neither seat says a word about an ask before the step's end (rows 107 and 112); the pipeline runner (`mesh-delivery-pipeline`), the builder and the holder of the seat mesh-wants. Settled by H-A-241 and H-A-243: the runner puts every open ask of a seat again when the seat's holder starts, on the node-engine's running event; for a seat that says no first word, one silent bound (`ask-silent-bound`, default forty-five minutes) ends the step could-not-run instead of two short ones, so no build of ordinary length is cut; the second ask's id is derived in the accepted form; in build in the runner with rows 112 and 113. Owed: the seats' asks as a work queue, and an ask-taken from both holders. | H1 (the runner); H2 (the queue) |
|
||||
| Row 117's cause corrected: the refusals come from the SDK's held writer, which at its start seeds every key of the module's shared findings state, the daemon writer's kinds included, and refuses them once a minute, against the design's rule that no bundle reads the whole state to state another's findings (G §580); mesh-sdk and the indexer (`mesh-delivery-indexer`). Settled by H-A-242, which corrects H-A-240: the held writer seeds only the kinds it owns; each writer's kinds stay in code, with a unit test holding the code to them; an unowned kind is said once; no manifest field; in build in the SDK and the indexer (row 117). | H1 |
|
||||
| A pipeline placed from the queue nine hours after its take-in still carried a mover whose fingerprint a newer revision had moved at 03:33 (the series taken over by the newer build), so its build step found the old build done but holding no number, and the pipeline failed: the rule that a moved mover leaves a pipeline (H-A-223) was applied to running pipelines only (rows 90 and 112); the pipeline runner (`mesh-delivery-pipeline`) and the builder. Settled by H-A-244 (the rule holds for every pipeline not ended; the builder's answer for such a build says "stale: its series moved", never "no version is reserved"), in build in the runner and the builder. | H1 |
|
||||
| A package's version tag (`go/v0.1.59`) stood at another commit on the forge, so the version-released event could not write it and was given up after five deliveries while the publish went on (row 101); the builder. Settled by H-A-245 (the builder reads the tag through the seat git before reserving a number, and takes the next free one, with the finding version-tagged-elsewhere; a tag is never moved). Owed: its build in the builder. | H2 |
|
||||
| The bus module's warrant fix (row 114) was reviewed in two rounds and merged at 11:28, and taken in three minutes later as a pipeline of two movers (the bus module and the router). The same take-in proved the hand-placed indexer and forge module (row 117): the forge's listing answered not-found for the gone directory, and the take-in went through where every one since 2026-11-17 had said "not published" (row 110). The bus module's hand pack is built from that merge and placed on the control-node next; then the registry's incoming store is dropped on the operator's warrant at the approve level and made again empty; the bus module and the runbook. | H1 |
|
||||
| With the bus module's hand pack placed (11:35), the drop of the registry's incoming store was refused by design (the store is asked for again, row 106), and the rebuild was asked at the approve level: the router offered it on Telegram at once, the operator chose Rebuild, and the keeper took a snapshot and rebuilt the store empty at 11:39:46, so row 104's recovery is done (rows 104, 114 and 122); the bus module. Seen beside it: the keeper does not withdraw the ask of a request it refused at once, so a dead "remove it?" stayed on the operator's channel until it expired. Owed: the keeper withdraws the ask of a request it refuses. | H1 (the recovery); H2 (the withdrawal) |
|
||||
| The rebuild did not end the flood: the bus still delivers about six thousand messages a second (five to seven megabytes) to the control-node's tool runner, so the listing of that store was one source and not the only one (rows 102 and 104). No tool of the bus module reads consumers by delivery rate or creation time, nor a connection's busiest subscriptions, so the source could not be named from the tools (a missing tool, by the instruction one-question-one-tool). Under reading now: the artifact store's bundle asking the registry's list verb in a loop, while the registry answers by listing a store whole and the answer exceeds the bus's 1 MiB; the bus module, the tool runner (`node-tools`) and the artifact registry. | H1 (the source); H2 (the tools) |
|
||||
| The flood's second source, read at 11:47: the artifact store's bundle starts a sweep on every finished build and an observation on every want change, each reading the builder's builds state key by key (ten thousand keys, two bus answers each, because the tool runner binds the bucket before every read), the starts queued behind one lock and draining back to back, and it asks the registry's list at every pass though its answer exceeds the bus's 1 MiB: about a third of the six thousand messages a second (rows 102, 104 and 124); the artifact store's bundle, the tool runner (`node-tools`) and the artifact registry. Beside it, the registry refuses that bundle's removals as not the sweep's, so the store never shrinks. Settled by H-A-250 (one pending pass, one paged read, a loud stop with the finding artifact-list-unread) in the artifact store's bundle and H-A-251 (the tool runner binds a state once) in the tool runner, both in build. H-A-257, H-A-258 and H-A-260 amend the followed view: its first view is the watch's handover, a build's end comes from the builder's log, and an unread end holds the pass and raises the finding artifact-builds-unread. Owed: the registry's list paged (with row 102), and the sweep's removals taken by the registry. | H1 (the two fixes); H2 (the list, the sweep's refusal) |
|
||||
| A pipeline's validate passed at 11:40 and the pipeline runner dropped its end: the one validate ask names no mover, the holder's end names the mover whose body it took, and the runner compared it with the first step carrying the ask ("a step's end the runner does not take"), so every mover's validate stayed running and the pipeline held the slot until the lead cancelled it, proof 1's behind it; seen at 01:11 too; the second of row 113's kind, a shared ask read as one mover's (rows 113 and 118); the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-252 (a validate end matched by its ask alone ends every mover's validate step; the same for the composition's shared runs), in build in the runner with rows 112, 113, 118 and 120. | H1 |
|
||||
| Proof 1's second run passed its pipeline: merged at 11:07:56, taken in at 11:10:47, placed at 11:48:00 after thirty-seven minutes in the queue behind five older pipelines (one held nine hours by a lost ask, one by a dropped end), and built, tested, validated and composed by 11:49:06, sixty-six seconds from placement; the queue, not the pipeline, took the time (row 111); the pipeline runner (`mesh-delivery-pipeline`). | H1 |
|
||||
| The pipeline's wants were written only at 11:54:21: the holder of the seat mesh-wants runs its pass (the assignment graph, the tiers' judgement, the wants) only when a catalog revision arrives, so a passed pipeline waits for an unrelated merge's take-in (five minutes here, twelve for an earlier one) (rows 111 and 127); the holder of the seat mesh-wants (`mesh-delivery-assigner`). Settled by H-A-256 as H-A-259 corrects it (row 131). The node-engines on the desktop and the build node took the new want within a minute and updated the module's tools bundle, the files bundle following the composer. | H1 |
|
||||
| The SDK's paged read of a state takes a key as its cursor while the bus reads no key range, so a page read replays the bucket once per page, and a large state read in pages costs more than key by key (rows 102 and 125); mesh-sdk, the tool runner (`node-tools`) and the artifact store's bundle. Settled by H-A-255 in H1 (the artifact store's bundle reads the builder's builds from a followed view, no bus read per pass), amending H-A-250 and H-A-254. H-A-257, H-A-258 and H-A-260 amend the followed view: its first view is the watch's handover, a build's end comes from the builder's log, and an unread end holds the pass and raises the finding artifact-builds-unread. Owed: H-A-254 (pages in sequence order with an opaque cursor, a contract change). | H1 (the view); H2 (the cursor) |
|
||||
| The pipeline runner's change for rows 112, 113, 118, 120 and 126 was built as eight commits and approved in three rounds (the rounds found a validate rerun covering one mover only, bounds that expired while the runner was down never heard, and a restart asking an answered step again), and is merging now; the pipeline runner (`mesh-delivery-pipeline`). The reviewer's notes stay owed: a holder restarted at the same build with its health unchanged says no new running, so its lost asks are not put again until the seats' asks travel through a work queue; and the builder's build log does say a build started, a first word H-A-241 could use (rows 112, 118 and 126). | H1 (the change); H2 (the notes) |
|
||||
| Row 128's cause corrected: the holder of the seat mesh-wants does wake its pass on the pipeline-ended and running events, but each pass that keeps a fresh assignment graph revision sits six to eight minutes keeping and removing revisions (every unlisted entry object read one at a time, the kind of row 125), so a wake waits for the blocked pass: feh's wants at 11:54 were the end of a pass begun at 11:46 (rows 125 and 128); the holder of the seat mesh-wants (`mesh-delivery-assigner`). Settled by H-A-259, which corrects H-A-256 on the cause (the keeping runs off the pass loop, one at a time; its judgement reads the entries in one read; each pass and keeping logs its duration), in build in the holder. | H1 |
|
||||
| Between 11:50 and 12:03 four changes merged and were each taken in within a minute or two: the SDK's held findings writer (rows 117 and 119; its release re-pins 126 modules into one pipeline), the indexer's finding kinds (row 119; its merge was held seven minutes until the SDK's Go package was published, so it builds against the new version), the tool runner's bind once (row 125) and the pipeline runner's bounded asks (row 130). Their hand packs go onto the control-node now; the queue of pipelines behind them runs for hours, the one of 126 movers above all (row 111); the runbook. | H1 |
|
||||
| Proof 1's one line never reached the file: the wallpaper module is a moved module, so its template file is the provisioner's to fill (ADR 0349 §4); the node-engine deletes the file's content and hands a plan line to the provisioner, and the provisioner's client renders the files archive on the machine. The provisioner on the control-node runs a build from before the indexer's view rename, asks every minute for a first view the indexer no longer serves (503, no responders), and has made no plan since 2026-11-20 09:41; its own pipeline was the one cancelled in row 126, so no current build of it exists. The node-engines did take feh's new want and its tools bundle within a minute, and the builder did publish the new files archive (its digest moved twice since 2026-11-20) (rows 126, 127 and 128); the provisioner and the runbook. The provisioner goes onto the control-node as a hand pack from main on the operator's word (row 117), and its plan then names the new archive. Owed: a cancelled pipeline's movers get a pipeline again by themselves. | H1 (the pack); H2 (the cancel's movers) |
|
||||
| The four hand packs went onto the control-node between 12:14 and 12:23 (the pipeline runner with its bounded asks, the indexer with its finding kinds, the provisioner from main, the tool runner for seventeen units), every unit active: the provisioner composed every machine from 12:17 without the stale first view; the tool runner's "finding kind not declared" line stopped; the mesh MCP server dropped for a minute at 12:16 and came back by itself; and the big pipeline's validate (row 126's kind) was asked again with the fixed verb at 12:23 and runs under its bound (rows 117, 130 and 133); the runbook. | H1 |
|
||||
| Proof 1 (its second run) is shown: the wallpaper file on the desktop and the build node carries the merged line, read at 12:26. The chain: merged at 11:07:56, taken in at 11:10:47, placed at 11:48:00, passed at 11:49:06, the want written at 11:54:21, the node-engines applied it within a minute, the provisioner's plan named the new files archive at about 12:23 once a current provisioner ran, and the file was written by 12:26. No hand act touched the module's own path; the hand acts were on the delivery system's parts (the assigner on the build node, the cancel of the held pipeline, the provisioner). The time from merge to running was 78 minutes, 37 of them in the queue and 30 waiting on a stale provisioner, so ADR 0282's five minutes is not met (rows 111, 127, 128 and 133); the runbook. | H1 (the proof); H2 (the bound) |
|
||||
| Proof 2 began: the SDK's one-line change and the tool runner's were merged in one call at 12:26:59 (the seat git's merge verb with two members), the gate moved main's source to one revision for both repositories, and the indexer took both in together at 12:27:18 as one pipeline of 126 movers, the SDK and the tool runner among them (the SDK's release re-pins every importer); the pipeline waits fifth in the queue (rows 127 and 135). The acceptance: the tool runner runs on every machine at the new SDK version with no hand act; the gate, the indexer (`mesh-delivery-indexer`) and the pipeline runner (`mesh-delivery-pipeline`). Owed: a tool that reads one pipeline's movers, with the lighter read per step (row 124's kind). | H1 |
|
||||
| The change of the holder of the seat mesh-wants for row 131 was built, reviewed in two rounds and merged at 12:41 as its own pipeline; the first round found wants written at the start before any revision is kept, and the full-store verdict moved out of the pass, both settled by H-A-261 (no want before a revision is kept; the full-store verdict is the pass's own); the holder of the seat mesh-wants (`mesh-delivery-assigner`). The reviewer's notes stay owed: the bus wrappers' race on one handle, met twice (a handle per goroutine, or a guard in the SDK), and a failed first keeping holding the wants until the next event. Also seen: with the pipeline runner's change live, the waiting pipelines collapsed as designed at 12:38 (three left the queue, their movers moved by the newest), so proof 2's pipeline stands next after the one running (rows 130, 131 and 136). | H1 (the change); H2 (the notes) |
|
||||
| The pipeline ahead of proof 2 (774 steps) made no step the pipeline runner said from 12:42: four contracts modules added to their repository after the registrations' seed of 2026-11-14 were never registered (the seed writes only when no registration is held, and nothing registers a module that enters the module graph later), so their steps waited on a registration nobody had asked, with no bound and no finding (rows 112 and 136); the indexer (`mesh-delivery-indexer`) and the pipeline runner (`mesh-delivery-pipeline`). The build seats were in fact working the other movers while the usage view said none, because it judges a build module by the node-engine's held phase rather than its running asks. The recovery: the four were registered by the register verb, each an Approve on the operator's channel. Settled by H-A-262 (the indexer registers a module the moment it enters a watched trunk's module graph, with no ask, saying registration-changed; the runner raises the finding registration-missing while a mover waits on one), in build in the indexer and the runner. Owed: the usage view judges a build module by its running asks. | H1 (the fix); H2 (the view) |
|
||||
| The pipeline ahead of proof 2 ended at 13:13:18, its contracts movers still unregistered, and proof 2's pipeline took the slot the same second, placing 182 steps within fifteen seconds; its three contracts movers wait on the same registrations (four Approves open on the operator's channel since 12:59, asked by the indexer at the lead's register calls); a newer merge took 28 movers of the delivery repository out of it at 13:22, while the SDK and the tool runner stay in it (rows 136 and 138); the pipeline runner (`mesh-delivery-pipeline`). | H1 |
|
||||
| Row 138's fix was built in the indexer and the pipeline runner, reviewed in three rounds and merged at 13:22 as its own pipeline; the rounds found a finding that never cleared, three design points (a pending proposal is skipped; a module the seed left out is not registered by the graph; the branch is the one the siblings hold alike, else the repository's default) and an untested rule, settled by H-A-263, H-A-264, H-A-265 and H-A-266 (row 138); the indexer (`mesh-delivery-indexer`) and the pipeline runner. Its hand packs go onto the control-node next, so the indexer's start pass registers the four modules itself. Owed: a read of the registrations store in one call. | H1 |
|
||||
| The hand packs of row 140 went onto the control-node at 13:27 and 13:28: the indexer's start pass registered a fifth unregistered module at once (a networking contracts module nobody had noticed) and skipped the four whose proposals were pending, as H-A-265 asks; the lead had those four proposals dropped with the indexer's own tool (the operator's four asks cancelled with them), and the next start registered the four at 13:28:29, each at version 1 with the warrant "module graph". The pipeline runner (`mesh-delivery-pipeline`) at its start said 115 movers of proof 2's pipeline "have no registration yet" before its view of the registrations had loaded, then placed 1048 of their steps at 13:30:55: a fault of the start order of the runner's new check, loud and passing (rows 138, 139 and 140); the indexer (`mesh-delivery-indexer`) and the pipeline runner. Owed: the check waits for the view's first read. | H1 (the registrations); H2 (the start order) |
|
||||
| Proof 2's pipeline ran from 13:13 with over a thousand steps: the SDK's new version 0.1.29 was published, and the build node built modules against it from 13:58; the tool runner's six steps passed in it. Then the revision of the register-at-take-in merge (13:22) and the indexer's recomputes moved the tool runner and about a hundred other movers to the newer pipelines, as the rule says, so the proof's acceptance follows the tool runner's want on each machine rather than one pipeline's end; the superseded pipeline keeps running its remaining movers (rows 136, 139 and 141); the pipeline runner (`mesh-delivery-pipeline`). Owed: a read of a pipeline's record for one mover's steps (62 KB) still exceeds a reader without a shell, the lighter read of row 124's kind. | H1 |
|
||||
| The pipeline that carried the tool runner after the move of row 142 ended failed at 15:03:55 on the required steps of three modules of the catalog repository, none of them the tool runner's (its build, tests, validate and composition all passed, its release 0.1.37 reserved): the forge module's TypeScript build cannot find the contracts package it imports and uses fields its contracts type lacks, and its integration test of the whole seat fails; the bus module's integration test of the whole module fails on the subtest "the fill pass runs while the first view is asked", the one every developer tonight reported as failing at trunk and skipped (by the rule of the second failure, the kind is fixed now, not skipped again); and the registry's integration test of the whole module fails; so no pipeline wrote a passed end for the tool runner, and its want stays. Seen beside it: the earlier pipeline passed at 14:26, but the holder of the seat mesh-wants wrote no want for its eleven remaining movers (its record of the pipeline's end names none of them; the SDK's want still names the morning's pipeline); and the builder has asked the registry to publish the tool runner's release again every few minutes since 14:50, with no "published" answered. Under reading (rows 104, 137 and 142); the forge module, the bus module, the artifact registry, the holder of the seat mesh-wants and the builder. | H1 |
|
||||
| Row 143's causes, read by 15:30: (a) the Node build module places only the SDK into a trunk build and leaves out every other mesh package a package file names, so the forge module's TypeScript build has failed at every build since 2026-11-19 (H-A-267: every named mesh package at its latest published release, as the Go build module does through the pins); (b) the bus module's subtest waits for a first view's "answered", which the keeper never marks for an empty view, so it could never pass (H-A-268: the test waits for the first fill pass); (c) the builder reads every reservation per published event, fifteen seconds apiece, its consumer thousands behind, while its loop asks the same release to be published again every few minutes (H-A-269: one read by digest; no publish asked again while a published is unheard); (d) the holder of the seat mesh-wants skips in silence a passed pipeline's mover whose version the pipeline runner has not yet written, and the version waits on (c) (H-A-270: the skip is said; the runner says pipeline-ended again when a version is written after the end). All four fixes are in build, one owner each; the Node build module, the bus module, the builder, the holder of the seat mesh-wants (`mesh-delivery-assigner`) and the pipeline runner. The failure words of the registry's whole-module test and the forge's whole-seat test could not be read, because the runner's step outputs store holds no bytes for them (the rows of 18:40 and 19:50 on step outputs). The assigner's keeping fix (row 137) went onto the build node by hand at 15:25, and its passes now take 3 to 25 seconds (rows 124, 137 and 143). Owed: step outputs kept and readable. | H1 (the four); H2 (the outputs) |
|
||||
| The builder's loop asking the publish of the tool runner's release 0.1.37 again (row 143) had a second cause under the first: the artifact registry holds that version at another digest than the build's, so even a heard "published" would not have marked it, and the asks would have gone on until the version ended unreleased; the kind of row 121, met on a registry instead of a tag (rows 121, 143 and 144); the builder. Settled by H-A-275 (a number a registry holds is never reserved; a done build so caught moves to the next free number, with the finding version-held-elsewhere) and H-A-274 (a registry record holding the built digest ends the publish as published), in build in the builder. The builder's fixes of the reading of events and the publish asked again (row 144 (c)) were approved at 15:45. | H1 |
|
||||
| Row 144's four fixes were built and reviewed by 16:00: the Node build module's and the bus module's test (merged at 15:49 as a pipeline of 36 movers; the Node build module's pack goes onto the build node by hand, so the forge module's build can pass in it); the builder's (approved in two rounds; the second found that every artifact carries its version at build time, so a build whose number a registry holds at another digest is built again at the next free number rather than moved: H-A-279); and the pipeline runner's and the assigner's (approved in two rounds; the first found that a passed mover with no version yet must hold its tier, else a later tier is wanted before it: H-A-277). The merge of the runner's and the assigner's waits on the operator's word, because the session's permission check refused the lead's dispatch of it (row 144); the Node build module, the bus module, the builder, the pipeline runner (`mesh-delivery-pipeline`) and the assigner (`mesh-delivery-assigner`). | H1 |
|
||||
| The tool runner (`node-tools`) sits in no live pipeline: its last one failed on other movers (row 143) and its fingerprint has not moved since, so nothing builds it again until a merge re-pins it; a module stranded by a failed pipeline gets no pipeline by itself, the kind of row 133's cancelled movers (rows 133, 142 and 143); the pipeline runner. Proof 2 therefore runs a second time, with a new one-line merge of the SDK and the tool runner once the fixes are live. Owed, as one rule: the movers of an ended pipeline that have no passed end are put in a pipeline again at the next kept revision. | H1 (the second run); H2 (the rule) |
|
||||
| The builder's fix (rows 144 (c) and 145) merged at 15:59 and went onto the build node as a hand pack at 16:09 (its program only, the tools bundle left, so the mesh MCP server stays up; a publish in flight was cut by the restart and is asked again). Within three minutes the builder dropped the tool runner's held release 0.1.37 for a new fingerprint of the tool runner that a fresh pipeline carries, and reserved 0.1.38 for it; its loop that asks a publish again now waits, saying so every thirty seconds, while its events consumer's backlog of about 3,800 messages drains under the bound of a hundred at about one and a half a second (some forty minutes). The Node build module's pack went onto the build node at 15:59 too, and the forge module's build moved into the newest pipeline behind the Node build module's files (rows 144, 145 and 146); the builder, the Node build module and the runbook. | H1 |
|
||||
| The builder's events backlog (row 148) drained at only fifty a minute under the new builder, holding up every publish and so every pipeline waiting on one: a published at a version many reservations share still cost three seconds (the fallback by version read every reservation at the version, and the journal line read them all again), and the SDK's event hub pulls five hundred messages per pull and handles them one by one, so buffered messages outlive the thirty-second ack wait and are given again (almost every outstanding message redelivered) and handled twice. Every recovery loses something (a purge of the consumer would drop take-ins, source moves and conditions among the publisheds), so the backlog drains while the fixes build (rows 144 and 148); the builder and mesh-sdk. Settled by H-A-280 (each reservation read once, the fallback only over the unbuilt ones, in-progress sent before long work) in the builder and H-A-281 (the hub pulls at most twenty per pull and keeps a slow handler alive with in-progress) in the SDK for every module, both in build. | H1 |
|
||||
| Row 149's two fixes: the builder's (each reservation read once, the fallback over the unbuilt only, in-progress before the slow pass) was approved and merged at 16:47 as a pipeline of eight movers, its pack for the build node following; the SDK's (the event hub pulls at most twenty messages per pull and sends in-progress every third of the ack wait for a handler still running) is built and in review, and reaches every module at its next build against the new SDK release (row 149); the builder and mesh-sdk. | H1 |
|
||||
| The SDK's event hub fix (row 150) merged at 16:51, and its release re-pins 126 modules into one pipeline, the tool runner among them. Every merge of the afternoon moved the tool runner to a newer pipeline before the older one could pass (rows 142 and 147), so the lead holds further merges from 16:52 until the queue runs through to the tool runner's pass; the one approved change still unmerged (row 146) waits on the operator's word. The builder's read-once pack goes onto the build node meanwhile, so the events backlog drains faster (rows 142, 146 and 150); the pipeline runner (`mesh-delivery-pipeline`), the builder and the runbook. | H1 |
|
||||
| The builder was built again against the SDK's hub fix (row 151) and placed on the build node at 16:58 (its read-once pack at 16:52 before it, with no change in the drain rate): the redelivery stopped (two redelivered, against 175 before; nineteen unacknowledged, against the batch of twenty), and the drain rose to about 1.2 messages a second, so the backlog of 2,167 at 17:05 falls under the bound in about half an hour. What remains is about one second of work per event. Each restart of the builder cut one publish in flight, which the loop asking a publish again asked again; the tool runner's release 0.1.40 waits in main.117 on thirteen publishes (rows 149, 150 and 151); the builder. Owed: the cost per event of the builder's published handling, measured and cut. | H1 (the fixes live); H2 (the cost per event) |
|
||||
| Once the builder's backlog had drained (17:19), the tool runner's release could not publish for another reason: the tool runner imports about twenty packages its own pipeline releases, each package's publish re-pins it (H-A-204), each re-pin keeps a revision of the same source, each such revision's pipeline takes it out of the running one (H-A-223), and each newer build withdraws the older before it publishes; its release ran from 0.1.41 to 0.1.48 in nine minutes with none published: a livelock for any module that imports many packages of one pipeline (rows 142, 147 and 152); the pipeline runner (`mesh-delivery-pipeline`) and the indexer (`mesh-delivery-indexer`). Settled by H-A-283 (a re-pin revision of the same source keeps a mover in its pipeline and asks its build again there; only a new source moves movers), in build in the runner. Owed: pins taken from the reservation and confirmed at publish, so a release re-pins once. | H1 (the runner); H2 (the pins) |
|
||||
| The pipeline runner's fix for the re-pin livelock (row 153) took two review rounds: the first found the placed-again steps' ask ids equal to the ids the runner had just dropped (the build node refuses a dropped id; the work queue dedupes the composition's; a restart found none of them), and a kept mover placed later reading the branch's held view instead of its kept revision. H-A-286 settled both (every ask id of a kept mover carries its kept revision; its entry and pins are read at that revision wherever it is placed or pin-checked), and H-A-287 aligned the rule of one validate: a pipeline has one validate run, which a kept mover's own validate ask joins. Approved at the second round and merged at 18:01 into a pipeline of its own, with its hand pack for the control-node built beside it; merges are held again from then (rows 112 and 153); the pipeline runner (`mesh-delivery-pipeline`). Owed: the runner's unplaced line for a kept mover whose revision is not yet readable. | H1 (the fix); H2 (the line) |
|
||||
| While the re-pin fix (row 154) was built, the pipeline carrying the tool runner (row 151) ended at 17:45 could-not-run: its build ask on the build seat had no word from its holder within the silent bound of forty-five minutes (row 118), because the tool runner's build at that pipeline's fingerprint had been withdrawn by the re-pins' newer builds before it could answer; the tool runner then rode the newest re-pin revision's pipeline, nine of them waiting in the queue; the fixed runner, placed on the control-node by hand at about 18:05, keeps it there from now on. The builder meanwhile says the tool runner's release 0.1.55 is queued at the distribution already, while the registry holds nothing of it; the distribution's word is being read (rows 111, 151 and 153); the pipeline runner (`mesh-delivery-pipeline`), the builder and the artifact registry. | H1 |
|
||||
| The re-pin fix (row 154) was placed on the control-node by hand at 18:05, and the pipeline runner started clean; but the pipeline of row 155 still held the slot: every one of its movers had left to newer pipelines and its last open step had ended could-not-run at 17:45, yet it counted as running, with nine pipelines waiting behind it. The lead cancelled it at 18:08, the second pipeline of this kind to hold the slot with nothing left to do (row 112 was the first) (rows 112, 154 and 155); the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-288 (a pipeline ends, and the next is placed, the moment nothing of it is open: at the last mover's leave, at the last open step's end in any outcome, and at the runner's start pass), in build in the runner. | H1 |
|
||||
| The cause of row 156's held slot, read from the pipeline runner's code and the control-node's journal: the pipeline did judge its end at 17:45, but never wrote it; the runner computed every mover's widens inside the end's compare-and-set loop (126 movers, each asking the seat mesh-grants and cut after five seconds, about eleven minutes per try) while the pipeline's key kept changing under it, so every write was refused and the reads were made again (212 cuts between 17:45 and 18:05) until the restart, and the start pass judged no ends (rows 112 and 156); the pipeline runner (`mesh-delivery-pipeline`). Settled by H-A-289 (the reads an end needs are made once before the compare-and-set and shared by every mover and every retry; a retry reads only the key again), beside H-A-288's end pass at the start; in build in the runner. Owed: the five-second cut of the seat mesh-grants's answer itself (rows 69 and 115). | H1 |
|
||||
| The tool runner's release 0.1.55 (queued at 17:47) waited more than forty minutes to publish, not lost but at the back of the builder's publish queue: a state bucket with one key per holder and version, worked one version at a time, oldest first, the whole bucket listed and read again before every send (about 1,900 subjects; the read tool timed out on it), and every start of the builder asks a publish again for every done build without a release, so old versions of many modules ride ahead of the ones a pipeline waits on; the second slow drain in the builder today (row 149 was the first) (rows 149, 152 and 155); the builder. Settled in H1 by H-A-290 (a publish a pipeline's step waits on goes before any asked again at a start; a withdrawn or taken-over build never publishes; one listing per pass and four sends at a time; a send that does not send says why; the read tool answers at any size), in build in the builder. Owed: the publish queue as a work-queue stream per holder, with tools to drop one item or put it first. | H1 (the five parts); H2 (the stream) |
|
||||
| The fix of rows 156 and 157 (a pipeline with nothing open ends at once; an end's reads are made once; a journal line at every end) was approved at its first review round without findings and merged at 18:22 into a pipeline of its own; its hand pack goes onto the control-node at about 18:30, the pipeline runner's second hand pack of the evening, after the re-pin fix at 18:05. After the cancel of 18:08 the queue runs again: the next pipeline took the slot at 18:08 with 853 steps; the tool runner rides the eighth pipeline behind it, and its release of 17:47 still waits in the builder's publish queue (rows 156, 157 and 158); the pipeline runner (`mesh-delivery-pipeline`) and the runbook. | H1 |
|
||||
| The fix that ends an empty pipeline (row 159) runs on the control-node since 18:26; its start pass found nothing to end, the cancelled pipeline having ended at 18:08; the evening's second pipeline runs since 18:08, with the tool runner's seven pipelines behind it. The builder's publish-queue change (row 158) was built with two gaps its developer named: at a start every old unreleased version still rode ahead of the live ones, and a live build waited for a whole start list. H-A-291 settles both (a start asks a publish again only for each module's newest reservation and retires the ones a newer reservation or release supersedes; a live enqueue makes the pass list again after its sends in flight), added before the review, together with a lock on two test fakes that failed the race detector on main (rows 158 and 159); the pipeline runner (`mesh-delivery-pipeline`) and the builder. | H1 |
|
||||
| With the two fixes of the pipeline runner live, the queue ran through: three re-pin pipelines passed between 18:39 and 18:45 (each with few movers), and the tool runner's pipeline was fourth in line at 18:47. Its release's publish had reached the front of the builder's publish queue at 18:27, in the very minute the control-node's tool runner restarted for a hand pack's bundle, and failed with no responders; the builder did not retry it in eighteen minutes, so the lead asked the publish again through the builder's own tool at 18:46, and it was published at 18:46:46 (the publish-queue fix of rows 158 and 160, in review, makes the retry the builder's own). The passed pipelines reached the control-node as the evening's first asks for a person's approval: the store and the identity provider, each recorded as a module a person moves, asked on the operator's channel at 18:45 and 18:46 before their containers are made again (rows 158, 159 and 160); the pipeline runner (`mesh-delivery-pipeline`), the builder and the node-engine. | H1 |
|
||||
| The large pipeline of the SDK's release (853 steps, row 159) ended failed at 18:37: the private network module's unit and integration tests failed, and every other mover passed; its movers get no pipeline by themselves (row 147's rule) and will ride the next merge that touches them. The review of the publish-queue change (rows 158 and 160) found one thing: its read tool reads the builder's own states in pages, which H-A-255 forbade for H1 because each page replays the bucket; H-A-292 allows it for a module's own tool when one page of about 768 KB holds the whole state (one replay instead of a request per key), and the review judges the same head again (rows 158, 159 and 160); the pipeline runner (`mesh-delivery-pipeline`) and the builder. Owed: a failed pipeline's movers put in a pipeline again. | H1 (the review); H2 (the re-pipelining) |
|
||||
| The builder's publish-queue change (rows 158, 160 and 162) was approved at its third and last review round: the second round had found the read tool paging on past one page, and the retire rule crossing version series (a standing 0.2 would have retired a done 0.1.x build); H-A-293 settled both (a one-page read past its page answers the first page and says it is capped, with the state's size; the newest reservation and release are found per module and series), and the fix was judged in one commit. Merged at 19:00 (19:00:35, rebased first onto the fix that ends an empty pipeline, the builder's code unchanged) into a pipeline of its own, with its hand pack for the build node (the program and the tools bundle) built beside it, the first of the evening's packs to restart the build node's tool runner (rows 158, 160 and 162); the builder and the runbook. | H1 |
|
||||
| A second re-pin pipeline ended failed at 18:58 on one module's tests, the teller's program and tools integration tests, every other mover passing, after row 162's private network module at 18:37. The movers of these pipelines carry only the re-pin to the SDK release with the event hub fix (row 150: pulls of twenty instead of five hundred, in-progress acks), so the kind is read before another pipeline fails on it: whether the tests depend on the old pull size or timing (a regression every module meets), or fail for their own reasons. The tool runner's pipeline is second in line from 18:58 (rows 150 and 162); mesh-sdk, the teller and the private network module. | H1 |
|
||||
| A third re-pin pipeline ended failed at 19:01 on the zfs module's tools unit test; the read of all three failures (rows 162 and 164) found none of them the SDK's: the teller's test (an ask refused for want of room is asked again) is sensitive to timing and failed five of seven pipeline runs today, four of them before the SDK's change, so its fix starts now under this milestone (the teller is a module of the delivery system); the private network module's three tests read files outside their own module and failed in every pipeline today (a fix for its repository, after the proof); and the zfs module's test has a data race on the peer's id (a fix for the catalog repository, after the proof). The read also met a missing tool: no tool shows a failed step's test output, only its counts and the names of the failing tests, which belongs with the owed keeping of step outputs (row 144). The tool runner's pipeline was placed at 19:03 with 105 steps; its build, lint, unit and integration steps passed, and validate runs (rows 150, 162 and 164); the teller, the private network module, the zfs module and the pipeline runner (`mesh-delivery-pipeline`). | H1 (the teller's test); later (the two others) |
|
||||
| The publish-queue change (row 163) runs on the build node since 19:03, the program and the tools bundle, the bundle's restart of the build node's tool runner silencing the tools of the mesh MCP server for about a minute (19:05 to 19:06); within three minutes the builder sent two live publishes and said both published, and its read tool answered the queue (empty) with its three standing publish items. Seen at its start: the start pass wrote one line per module no seat can build (about 6,500 lines the journal suppressed), which can hide other lines for a minute, the kind of row 101's burst (rows 158 and 163); the builder. Owed: one summary line for them. | H1 (live); H2 (the summary line) |
|
||||
| The tool runner's pipeline (row 165) ended failed at 19:09 on the forge module's six integration steps, while the tool runner's own build, tests, validate and composition had passed; a pipeline's wants are written only when it passes, so the tool runner got none, and a failed pipeline's movers get no pipeline by themselves (row 147). It is the fourth re-pin pipeline of the evening sunk by one module's tests (rows 162, 164 and 165), so the lead stops iterating pipelines and fixes the kind under this milestone: the teller's test that is sensitive to timing, the private network module's tests that read files outside their inputs, and the zfs module's test race, each in its repository, while the forge module's six failures are read. The tool runner gets a pipeline of its own at once, by a one-line probe commit in its repository merged as one call (the operator's word of 2026-11-16 on probe merges), built against the latest published SDK release; the one-call merge of the SDK and the tool runner itself was shown at 12:26 (row 136), and this pipeline shows the delivery part of proof 2 (rows 136, 147 and 165); the pipeline runner (`mesh-delivery-pipeline`), the teller, the private network module, the zfs module and the forge module. | H1 |
|
||||
| The forge module's six failures (row 167) are one test: its whole-seat test over a real bus, added on 2026-11-20, needs the module's npm packages installed, which the Go integration step never has (it fetches the tree without network), so it has never passed in a pipeline and sank every pipeline carrying the forge since, the one of 15:03 (row 143) included; the forge module and the Go build module (`mesh-build-go`). Settled by H-A-294 (a test that needs tooling its step lacks checks its needs first and ends NOT RUN with the reason and where it was proven, the build module's own precedent), in build in the catalog repository. The probe merge of row 167 landed at 19:13 and became a pipeline of one mover, the tool runner, being watched. The first of the four test fixes is built: the private network module's three tests read their facts from copies in the package's own test data, held equal to the originals wherever the repository is whole; the cause was the artifact's declared paths holding only the module's Go directory (rows 143, 165 and 167). Owed: the Go integration level receives a module's npm tree behind a declared need, and a read tool for a run's test output, which answers nothing through the mesh MCP server today. | H1 (the fixes); H2 (the need and the tool) |
|
||||
| The tool runner's own pipeline (row 167) waited its turn behind the running ones and was placed at 19:20 with eight steps; the fixed builder (row 166) had built and published the tool runner's release 0.1.56 at 19:15, before the pipeline's turn came, the publish sent by the publish-again path within a minute of the build's end. The first test fix (row 168) went to a second review round: it cited an issue instead of its design line (A-474, a module's tests read nothing outside their module), and its drift guard compared the copies against the sibling module's tree, which that line forbids; the guard now holds only the module's own manifest, and the contracts module's facts are proven against copies without a guard (rows 166, 167 and 168); the pipeline runner (`mesh-delivery-pipeline`), the builder and the private network module. Owed: the facts' home is a test in the contracts module. | H1 |
|
||||
| The tool runner's own pipeline (row 169) ended failed at 19:21 in its composition step: the compose ask met no responders on the node-engines of three nodes at once, while every node-engine answered discovery three minutes later; the lead ran the step again at 19:25 with the pipeline runner's rerun tool, and H-A-296 settles the kind (a seat ask that meets no responders is asked again with a back-off until its bound, never a verdict at once). The remaining three test fixes are built: the teller's test bed now answers the seat-holder ask the live mesh answers (the fault was the bed's, five of seven pipeline failures today), and on the way a live fault of the teller was fixed (two takers of one event since the SDK's views reader took its bare subject; H-A-295 keeps the ask-again for want of room until A-424 is built); the zfs module's test race is fixed, with a real fault of its client beside it (a peer not root whose write was cut was never told "only root"); and the forge's whole-seat test ends NOT RUN when its npm tooling is missing (H-A-294) (rows 165, 168 and 169); the holder of the seat mesh-wants (`mesh-delivery-assigner`), the pipeline runner (`mesh-delivery-pipeline`), the teller, the zfs module, the forge module and the Go build module. Owed: the no-responders wait in the assigner's composition run and in the runner's asks, and the step's own NOT RUN summary in the Go build module. | H1 (the fixes); H2 (the no-responders wait, the step summary) |
|
||||
| The tool runner's own pipeline (rows 169 and 170) passed after the composition's rerun, and at 19:28:13 the holder of the seat mesh-wants wrote the tool runner's want on every node (the operator's desktop, the laptop, the home server and the control-node) at the new fingerprint and release 0.1.56, step passed-pipeline (read by the lead at 19:30 through the assigner's reasons tool); the mesh MCP server dropped for a minute at 19:29, as the tool runner on the operator's desktop restarted with the new release; the node-engines' start of the new release on each node is being read, and is row 172's. From the probe merge at 19:13 to the wants: fifteen minutes, the rerun's three minutes inside them. This is the delivery part of proof 2 (row 167); the one-call merge of the SDK and the tool runner was row 136's (rows 136, 167 and 170); the holder of the seat mesh-wants (`mesh-delivery-assigner`) and the tool runner (`node-tools`). | H1 |
|
||||
| The node-engines applied the tool runner's new composition on every node within thirty-five seconds of the wants: the laptop at 19:28:36, the control-node at 19:28:42, the operator's desktop at 19:28:46 and the home server at 19:28:47, each restarting the tool runner because its bundle and its fingerprint changed, and reporting the new build healthy within twenty seconds (the build digest the node-engines report, 0a11dca2…, is the one the builder published as release 0.1.56 at 19:15); the control-node's node-engine had waited a minute for the composition ("the composer has made none yet", 19:27:43), the no-responders episode of row 170. Proof 2 is shown: the SDK and the tool runner merged in one call (row 136, 12:26), the tool runner running everywhere at the new SDK release by its pipeline (rows 167 to 172), no hand act on its path, and the day's hand packs all on the delivery system's own parts (rows 136, 167 and 171); the node-engine and the tool runner (`node-tools`). | H1 |
|
||||
| The lead's statement (lead-47, on the operator's desktop, 19:31): the freeze on hand placing of the delivery system's parts is lifted (step 8). Both proofs of the runbook's step 7 are shown; every part of the delivery system now runs a build its own pipeline delivered or, where a hand pack of today still runs (the pipeline runner, the builder, the indexer, the assigner, the tool runner, the private network module and the store module, named in rows 134, 148, 160 and 166), a build whose source is merged on main and whose pipeline has passed or runs. From now a change to any part is delivered by its pipeline only, and a fault met is fixed in its repository and delivered the same way; the operator's rule of 2026-11-16 on probe merges ends with this statement. The merge of the change of the assigner and the runner (row 146) waits on the operator's word only because the permission check of the lead's session refused the dispatch, not as a decision. What H1 leaves to H2 is the owed list across rows 150 to 170; the runbook. | H1 (done) |
|
||||
| Step 8's tail: the two issues the milestone ran under (one held module holds every reader's version back; a change across the SDK, the controller and the catalog repository needs three releases) were resolved at 19:33 with the proofs as the live case, and the second one's last open note (the indexer's dry run of a branch writes that branch's packages into the live packages state the trunk reads) was carried into H-A-297 as owed work. The recovery-mode rules of 2026-11-15 and 2026-11-16 on the lead's side ended with the freeze. The lead's dispatch of two reviewed merges, the change of the assigner and the runner (row 146) and the teller's test fix (row 170), was refused by the lead session's permission check, so both wait on the operator's word and are not routed through another agent; the catalog repository's two test fixes (rows 165 and 170) merge as one call; this branch's pull request is being opened for hq's check (rows 146, 170 and 173); the indexer (`mesh-delivery-indexer`) and the runbook. Owed: H-A-297 (a dry run reads and writes only its own scratch state, and leaves the trunk's packages state untouched). | H1 (done); H2 (the dry run) |
|
||||
| The catalog repository's two test fixes (rows 165 and 170) merged as one call at 19:29 and became one pipeline of 36 movers: a commit touching two test files moved every module of the repository, because a module's fingerprint takes the repository's commit rather than its artifacts' declared paths; the take-in took eleven minutes, seven of them without a journal line, while the indexer waited on the forge's listing under a busy control-node (the forge at over five cores). This branch's pull request (#797) was opened at 19:35 and had no delivery record or check seven minutes later; the chain from the forge's event to the gate and the checker is being read (rows 168, 170 and 174); the indexer (`mesh-delivery-indexer`), the forge module and the gate. Owed, by H-A-298: a module's fingerprint over its artifacts' declared paths and its manifest, so a commit outside them moves nothing; and a take-in that says what it waits on after a minute, naming the part. | H1 (recorded); H2 (the fingerprint, the take-in's word) |
|
||||
| The read of this branch's pull request (row 175) found the chain from the forge's event to the gate whole, and the cause elsewhere: hq is not a source repository of the gate, so an hq pull request gets no delivery and no check from the mesh, as none of the day's earlier hq pull requests did (the row of 14:22 on hq's registration); it merges on hq's own checks, run before every commit (ADR 0527); whether hq becomes a watched source with a mesh check is the operator's question (H-A-299). The same read met four live faults after the pipeline of 36 movers: the forge refuses the mesh's admin account since 19:41, which stops the forge watcher and the gate's acts on the forge (796 owed; being read: its cause, and the tool that provisions the account again); the gate's ledger records for two revisions exceed the bus's message size; the forge bridge's store of performed acts is full ("maximum bytes exceeded"); and the deliveries read tool cannot answer per repository (rows 150, 166 and 175); the forge module, the gate (`mesh-delivery-gate`) and the forge bridge. Owed, by H-A-299: one ledger key per module and revision; every store with a cap it prunes toward, a read of its fill and a limits tool; and a read tool that filters before it sizes. | H1 (recorded); H2 (the three); open (the forge account) |
|
||||
| The forge's refusal of the mesh's admin account (row 176) was the store's absence: the store's container was replaced between 19:41:04 and 19:41:32 (a move the operator approved on their channel), the forge answered 401 for that minute and said the account was refused, and it recovered by itself at 19:42:11 with a fresh token; the gate's views owed on the catalog repository's two merged pull requests failed in that minute and ended could-not-be-performed, with nothing performing them again; the forge module and the gate (`mesh-delivery-gate`). The record's own pull request (rows 175 and 176) was refused by the mesh's merge verb ("its base main is no watched branch"); the day's earlier hq merges went through the forge's own interface, and the lead's session refused to dispatch that, as it refused the two code merges of row 174, so the three wait on the operator. The private network module's pipeline (the fix of rows 168 and 169) passed at 19:46, the first pipeline of the day with that module's tests green (rows 169, 174 and 176). Owed, by H-A-300: an act failing while a part is away stays owed and is tried again with a back-off; the forge module names the cause it can read; one token mint at a time; a tool that performs every owed act of one record again. Owed too: hq registered as a watched source, so the mesh merges and checks it (H-A-299's question). | H1 (recorded); H2 (the owed acts, hq as a source) |
|
||||
| One more pipeline fell to the store's half-minute absence (row 177): the re-pin pipeline that followed the tool runner's ended failed at 19:43, with many build steps failed and lint steps could-not-run, because the builder's fetch of each source met the forge's 401 in that minute and the builder read the refusal as the build's verdict; the builder. Meanwhile the pipeline of 856 steps holds the slot since 19:46, and the catalog repository's pipeline of 36 movers waits behind it (rows 170, 175 and 177). Owed, by H-A-301, the same kind as H-A-296 and H-A-300: a step whose fetch meets the forge away is asked again with a back-off until its bound, and a fetch failure is said apart from a build failure. | H2 (owed) |
|
||||
| Forty minutes after proof 2 (row 172) the home server's tool runner dropped out of discovery: its node-engine restarts it every 20 to 50 seconds, because the composition key for the tool runner at its new fingerprint alternates between two digests written in turn by two composition runs, one resource (the runtime process) differing; the mesh MCP server on the operator's desktop dropped at 20:16 too, and the control-node's tool runner missed a round of discovery, so the other machines' keys are being read; the stale writer is being found and dropped with the assigner's own tool, as the recovery of the moment; the holder of the seat mesh-wants (`mesh-delivery-assigner`), the node-engine and the tool runner (`node-tools`). The same read found the pipeline of 856 steps (row 178) not stalled: its validate run took 25 minutes, and its last test steps passed at 20:15; and a tool fault: the build seats' steps read tool answered empty on every node while steps ran (rows 172, 176 and 178). Owed, by H-A-302: a composition key written by the newest run only; a run whose pipeline ended writes nothing more; the node-engine applies only a newer write and names it; and the steps read tool answers the steps state. | open (the flapping); H2 (the rule, the tool) |
|
||||
| Row 179's cause was not a stale run: no second composition run writes the key; on three of four machines the node-engine composes the tool runner's self-want itself, and while the grants part does not answer ("withheld unknown") every compose differs in the runtime process, so the node-engine writes a new revision and restarts the tool runner at each compose (every 20 to 50 seconds on the home server, slower on the operator's desktop and the control-node; the laptop, whose compose got the grants answer, is steady); the control-node's tool runner serves the grants answer, which closes the loop; the node-engine and the tool runner (`node-tools`). Settled by H-A-303, which amends H-A-302 (a withheld part keeps the running composition's part and writes no revision; the node-engine applies only a difference in a part it could read; the withheld part is said once), in build in the node-engine; the recovery of the moment, a held put of the tool runner on the home server through the assigner's tool, is being tried. Beside this, the operator decided at 20:24 (the relaying session wrote 20:35), through the session on their desktop, that the packet filter module gets standing control verbs on the seat node-packet-filter (allow, disallow and allowed, with an optional expiry) beside the ports derived from declarations, so design 08 §4 and the seat's verbs change (H-A-304; the decision record amending ADR 0170 is proposed; its first use is tcp 8000 on the LAN interfaces of the operator's desktop); its build runs beside H1's tail (rows 172, 176 and 179). | open (the flapping); other (the packet filter's verbs) |
|
||||
| The mechanism of row 180's loop, read in the node-engine's code and the home server's journal: the self-compose never asks the seat mesh-grants; what goes unanswered is a module's entry or its registry versions, and a module held for that is composed as a stand-in whose slice of the tool runner's runtime process is rebuilt from what runs without its fingerprint and files words, so the process's module list and words differ from pass to pass and the node-engine restarts the tool runner each time ("restarted because its unit's Environment MESH_TOOL_MODULES changed"); the node-engine and the tool runner (`node-tools`). Settled by H-A-306, which amends H-A-303 (a withheld part is every input a compose asks and does not get; a held module's slice is copied verbatim from the running process; a withheld part is said once), in build in the node-engine. The recovery of the moment works: a held put of the tool runner on the home server through the assigner's tool at 20:22 stopped the loop (one restart at 20:26, then steady); the same hold goes on the operator's desktop and the control-node, to be released when the node-engine's fix is delivered (rows 172, 179 and 180). Owed: a read of composed values by resource. | open (the fix in build); H2 (the read) |
|
||||
| The pipeline of 856 steps of the SDK's re-pin (rows 178 and 179) ended passed at 20:15, twenty-nine minutes after its placing, its validate run alone twenty-five of them; the catalog repository's pipeline of 36 movers (row 175) was placed in the same second with eleven steps, and runs. The packet filter's build (row 180) met two facts the lead's map had wrong and one design question: the seat's definition lives in the networking repository's contracts module, not in the contracts repository, so the group is three repositories (the networking repository, the catalog repository and the node-engine's); a definition that carries an event must be whole (every verb's answer form, the event's family, generated packages); and what the node-engine does when the holder's allowed verb does not answer as it composes the filter, settled by H-A-307 (it refuses to compose the filter and keeps the loaded one, said once; allowances only on a converged node's own table) (rows 175, 178 and 180); the pipeline runner (`mesh-delivery-pipeline`), the packet filter module and the node-engine. | other (the packet filter); H1 (recorded) |
|
||||
| The held puts (row 181) went onto the operator's desktop at 20:28 and the control-node at 20:30 too, but they only slow the loop: the node-engines still compose the tool runner themselves and restart it every four to five minutes instead of every half minute; the holds stay until the node-engine's fix (H-A-303 and H-A-306, in build) is delivered, and the mesh MCP server drops for a minute at each restart of the tool runner on the operator's desktop. Two more faults were met meanwhile: the pipeline runner's show verb refuses the record it reads ("unknown field kept-revisions"), because the tool runner's new release carries the runner's tools at a release older than the runner's record form (H-A-309); and the catalog repository's pipeline of 36 movers had eleven steps placed at 20:15, then "written meanwhile, so nothing is placed in it now", with no line since 20:17, being read. The packet filter's work stands: ADR 0683 reserved and in its third proposed version; the design amendments to 08 §4, 33 and the glossary (the word "allowance") committed and pushed on their own branch, in review by two architectural domains; the lead answers H-A-308 (an allowance's identity per interface, its expiry by the holder, the verbs' answers) and H-A-310 (the verbs required from the start in one group; ADR 0246 ended for the seats of contracts modules) (rows 180, 181 and 182); the node-engine, the tool runner (`node-tools`), the pipeline runner (`mesh-delivery-pipeline`) and the packet filter module. Owed: a tool decodes another part's record tolerantly (H-A-309). | open (the loop); other (the packet filter); H2 (the tolerant decoding) |
|
||||
| The catalog repository's pipeline of 36 movers (row 183) was stuck: its placing, cut at 20:15:59 by a concurrent write of the pipeline's record, was never done again; the last test's late progress was dropped without placing what its end unlocked; and the pipeline runner's health said healthy through seventeen minutes with nothing open; a restart of the runner at 20:35 placed 392 steps in twenty seconds from its start pass. It is the second recovery by restart of this kind (row 156 the first), so H-A-311 settles the kind in the runner, in build: a cut placing is done again at once from the record as read again; a late step end still places what it unlocks; a running pipeline with nothing open and nothing placed for five minutes is unhealthy, and said. The packet filter's build moved: the seat's definition, made whole (six verbs, the event, the state, generated Go and TypeScript packages), is committed in the networking repository, and the holder's build follows (rows 156, 182 and 183); the pipeline runner (`mesh-delivery-pipeline`) and the packet filter module. | H1's tail (the runner); other (the packet filter) |
|
||||
| The node-engine's fix of the restart loop (rows 180 and 181) is built and in review: a held module's slice of the tool runner's process is copied verbatim from what runs, so a holding pass has a digest equal to what runs and writes no revision; the withheld part is said once, naming the holder asked; the developer read the restart cause in the home server's journal ("its unit's Environment MESH_TOOL_MODULES changed") and found a failure of the race detector that predates the change. The packet filter's design amendments were read by two architectural domains (seams and tools: eight points; security and upgrade: seven) and settled in H-A-314 and H-A-315; among them: the allowances state takes the template's option of one bucket per machine (a shared bucket would have opened a port on every node); the verbs' classes and the node-engine's grants; a caller not proven is refused; an allowance with an expiry is rendered as a set element with a timeout, so the kernel closes it while the holder is away; a port that a derived rule admits only from the private network is refused unless a source is given; the loaded mark is compared on the allowance's time; and a running holder is not withdrawn when its seat's definition grows. H-A-316 adds a read verb `converged` to the node-engine's seat, so the holder knows its node is adopted; H-A-313 settles the stalled pipeline's journal line (row 184) as the tools program's. The packet filter's seat definition and holder are committed; the node-engine's part and the reviews' additions are in build by two developers (rows 180, 183 and 184); the node-engine, the packet filter module and the pipeline runner (`mesh-delivery-pipeline`). | open (the loop's fix in review); other (the packet filter); H1's tail (the runner) |
|
||||
| The packet filter's design amendments (row 185) now carry every point of the two reviews by architectural domain, and were pushed on their branch at 20:43 (hq's branch design/firewall-control-verbs, head 8fc4f09d): design 08 §4 with its part "control verbs" (eight lines: the node-engine as the one renderer, asking the holder's allowed verb within its compose-ask bound; a refusal keeping the loaded filter; converged nodes only; each expiring allowance its own one-element set with a timeout; the event heard; the acceptance test proving the drop before the allowance); design 33's part (fourteen lines: the six verbs with their classes and refusals, the event and its family, the state one bucket per machine, the verb `converged` on the node-engine's seat, the settings, the holder's start removing expired allowances); and the glossary word "allowance" (a port of the packet filter opened by the operator through the seat). The adoption text of design 08 moved whole into its own delivered part, to keep the main file under its size bound. The decision record ADR 0683 is in its fifth proposed version, with the same points (rows 180, 183 and 185); the packet filter module and the node-engine. | other (the packet filter) |
|
||||
| The node-engine's fix of the restart loop (row 185) was approved at its first review round at 20:45 (the reviewer took each part out in a copy and saw the tests fail; live, the home server's composition still alternated between two digests, which no tool can read word by word, H-A-306 (4) owed); the lead session's permission check refused dispatching its merge, as it refused the three of rows 174 and 177, so four reviewed merges now wait on the operator's word: the change of the assigner and the runner, the teller's test fix, this branch's pull request, and the node-engine's fix; until the last is delivered, the held puts of row 183 stay. The pipeline runner's fix of the cut placing (row 184) is built and in review: a placing refused because the record changed is done again from the record as read again; a late step end places what it unlocks; the health names a running pipeline five minutes without an open step, written once to the tools program's journal. The packet filter's build met two forms the lead's lines had wrong, settled in H-A-317: the state template's option per machine is one bucket whose keys carry the node, so the state's keys begin with the node while the allowance's own key stays as designed; and a holder does not list its seat's event in its manifest's emits, the claim says it (rows 174, 177 and 185); the node-engine, the pipeline runner (`mesh-delivery-pipeline`) and the packet filter module. | open (the loop); H1's tail (the runner); other (the packet filter) |
|
||||
| The packet filter's decision record (ADR 0683, "The packet filter's control verbs beside the ports derived from declarations") was approved by the knowledge base's own review at its eighth version at 20:46: fourteen clauses carrying H-A-304 to H-A-316 (the derived ports stay automatic; the six verbs; allow and its refusals; one allowance per protocol, port and interface; disallow; allowed and rules; the state per machine; one renderer, with the event; removed at its until; an unanswered read keeps the loaded filter; converged nodes only, with the read verb `converged`; the verbs required from the start; two settings; how it is checked), changing ADR 0170 and ending ADR 0246's optional-first for the seats of contracts modules. It is marked needs-operator and waits on the operator's Approve on their channel (the ask expires on 2026-11-22 at 19:36 UTC); nothing of it is in force until then. Two more forms met in the build after the record's last version are H-A-317 (the state's keys carry the node; the claim says the event) and H-A-318 (allowed asks converged again when it holds no answer); they are facts of the templates, and enter the record as a progressive insight if its review asks (rows 180, 186 and 187); the packet filter module and the knowledge base. | other (the packet filter) |
|
||||
| The catalog repository's pipeline of 36 movers (row 184) was not stalled after the pipeline runner's restart; it ran unseen: the builder answered its 36 build asks within seconds (every key already built), and the check asks ran on the Go build module of the operator's desktop at about six a minute, with no journal line from the runner for a step's end nor from the builder for an answered ask, so the lead read a stall where the bus showed the work; by 20:48 its builds, lints, units and validates had passed and three integration steps had failed (the Node build module's, its setup over its thirty-second bound, and the recovery module's whole test), so the pipeline will end failed on those, the kind of rows 162 to 165 again. The read also found the asks of the seat mesh-builds on a work-queue stream no consumer takes (1,524 kept), the home server's Go build module taking no check asks, and the unanswered bound not ending asks left untaken for thirteen minutes. H-A-319 settled the packet filter's refusal of a source-bound port as the chain shows it (a port accepted only with a source match) (rows 165, 184 and 188); the pipeline runner (`mesh-delivery-pipeline`), the builder, the Go build module (`mesh-build-go`) and the packet filter module. Owed, by H-A-320: a journal line per step end and per answered ask; the mesh-builds asks consumed, or the stream bounded; every build seat takes check asks; the unanswered bound ends an ask left untaken. Owed too, by H-A-319: the node-engine's render marks each derived rule with its scope. | H1's tail (recorded); H2 (the owed); other (the packet filter) |
|
||||
| The pipeline runner's fix of the cut placing (rows 184 and 187) was approved at its second review round at 20:54: the first round had found the stalled rule reading the pipelines through the seat's strict decode, which refuses the runner's own property `kept-revisions` (the live cause of the show verb's refusal, row 183), and counting a required waiting step (an approval, a pin-held step) as nothing open; both are fixed, the property dropped before the seat's decode, so show, stands and the health read every record again; the five-minute bound stays a value named in the code with the rule it comes from (H-A-322). It joins the merges waiting on the operator's word, now five (rows 174, 177 and 187). Meanwhile the lead resumed the home server's Go build module, found paused with a capacity of one while the operator's desktop took every check ask (row 189), and the laptop's, whose Go build module a passed pipeline had delivered at 18:20 (main.131, release 0.1.125, read by a watcher); check asks now run on three nodes. The packet filter's design parts are whole at 41005dfc, with every build form through H-A-321 (rows 183, 187 and 189); the pipeline runner (`mesh-delivery-pipeline`), the Go build module (`mesh-build-go`) and the packet filter module. Owed, by H-A-322: a settings form a tools program can read. | H1's tail (the runner); other (the packet filter) |
|
||||
| The packet filter's build (rows 185 to 190) reached its third repository at 20:56: the node-engine seat's whole definition in the contracts repository gained the read verb `converged` (the node's convergence state: adopted or converged, since when, and the found firewall when adopted) and the composition answer's field `withheld-parts` (which part a compose kept because its read did not answer, and why), with the fixtures and the generated Go and TypeScript packages, the seat generator's check clean; the holder's build takes the verb from that package, and the node-engine's serving of it follows in the fourth repository. The group's heads so far: the networking repository's seat definition (being amended for the reviews' forms), the catalog repository's holder (the same), and the contracts repository's seat of the node-engine (rows 185, 186 and 190); the packet filter module and the node-engine. | other (the packet filter) |
|
||||
| The packet filter's fourth part is built at 21:08: the node-engine renders one rule per allowance after the derived ports, with the comment carrying the allowance's key and time, a timed allowance as a one-element set with a timeout, and, with no allowance, the filter file byte for byte as today; its compose asks the holder's allowed verb within a new setting, keeps the filter file as it runs when the verb does not answer, without holding the holder's module, says the withheld part once, hears the event on its own node's subject, and serves the verb `converged` from its record. The developer read four facts the lead's lines had wrong or left open, three settled by H-A-324: an allowance with no interface would have opened a node's outward link (a hub's internet-facing one), so "no interface" now excludes outward links too, and an outward link is opened only when named; a timed allowance's render again reloads the filter and arms the remaining time again, accepted; the converged answer's since is optional for older records; and the allowances go to the renderer rather than to the reader of the derived rules, since the adoption's openings read the latter. The group's heads: the networking repository 32f0ade8, the catalog repository 09d57583, the contracts repository efcef83c, the node-engine 9c357b6f; H-A-324's change of the render and the validator's verdicts on the node-engine's manifest are the last subtask before the group's one review (rows 186, 190 and 191); the node-engine and the packet filter module. | other (the packet filter) |
|
||||
| The catalog repository's pipeline of 36 movers (rows 184 and 189) stood still a second time: every test had ended by 20:53 (the zfs and forge fixes among them, passed), yet two movers waited "for mesh-grants' packages before their build", though those packages had been published at 20:00, before the wait was written, so no publish event ever came for them; the pipeline runner's health said healthy; the lead restarted the runner at 21:15, and its start pass placed them, the third restart of this kind tonight. H-A-326 settles it on the runner's open branch (a wait on a package is a read first and an event second; a pipeline whose movers only wait on packages counts as nothing open for the stalled rule; the journal says which way a wait resolved), so the fifth merge waiting on the operator (row 190) moves to a new head after its review. The packet filter's design gained H-A-325: the holder reads no shape of the loaded table to tell an outward link; the converged answer carries the node's links (the tunnel's name, the list of outward links) as the node-engine classifies them for its render, and a kept allowance names the outward link it opens; the design parts are at 3a969c6b (rows 184, 189 and 192); the pipeline runner (`mesh-delivery-pipeline`), the node-engine and the packet filter module. | H1's tail (the runner); other (the packet filter) |
|
||||
| The restart of row 193 ended the catalog repository's pipeline at 21:15:30 through the pipeline runner's start pass (row 159's rule that ends an empty pipeline, at work): it ended failed on the Node build module's integration tests, whose setup took forty seconds against a thirty-second bound while three nodes' checks ran, and on the recovery module's whole test; the zfs and forge test fixes passed in it, so their kinds are closed, while the laptop's Go build module stays at its earlier release, since a failed pipeline writes no wants; the next pipeline was placed at 21:15:42 (rows 159, 165 and 193); the pipeline runner (`mesh-delivery-pipeline`), the Node build module and the recovery module. Owed, by H-A-327, of H-A-294's kind: a setup bound read from the step's own bound; a whole-module test that needs the bus's time under load says NOT RUN rather than failing; both fixed in their modules before the next release that carries them. | H1's tail (recorded); H2 (the two tests) |
|
||||
| H-A-326's read (row 193) met the fact that the pipeline runner's record knows only the publishes it heard, and a package published before a pipeline existed is in no record of it (the two movers' packages had been published by an earlier pipeline at 20:00); the builder owns publishes, so H-A-328 gives the seat mesh-builds a read verb `published` (module, artifact and fingerprint; answering published, version, digest and when), served by the builder from its reservations and the registries' record, which the runner asks once when it writes a mover's wait on a package, the publish event staying the second path. The seat mesh-builds is defined in the delivery repository's own contracts module (not in the contracts repository, as the lead's map had it; H-A-328 is corrected so), so the runner's open branch stays one branch in one repository, holding the seat's definition, the builder's serving and the runner's asking, and the fifth merge waiting on the operator (row 190) keeps one head, new after its review (rows 190, 193 and 194); the pipeline runner (`mesh-delivery-pipeline`) and the builder. | H1's tail (the runner and the builder) |
|
||||
| The packet filter's group was complete at 21:23, an hour after the operator's decision (rows 180 to 195): the networking repository's seat definition, made whole (the six verbs, the event, the state per machine, a kept allowance naming its outward link, rules listing what is loaded but not kept); the catalog repository's holder (27 tests, type-checked against the generated packages, the catalog's 33 checks green, the manifest validator accepting its manifest); the contracts repository's seat of the node-engine (the read verb `converged` with the node's state and links, the composition answer's withheld parts); and the node-engine (the compose asking allowed within its bound, the filter kept as it runs when unanswered, the render with timed sets and the default excluding outward links, the event heard, `converged` served from the render's own sources); the one review of the four heads began at 21:24. One fact for the pipeline's check: the manifest validator, run against the trunk's seat files, refuses the node-engine's manifest in both cases for a cause that predates the change (two registry seats' versions verbs absent from those files), which the live seat list is believed to carry; the pipeline's own validate decides (rows 186, 192 and 195); the packet filter module and the node-engine. | other (the packet filter) |
|
||||
| The pipeline runner's open branch (rows 190, 193 and 195) gained H-A-326 and H-A-328 at 21:25 in three commits: a step held waiting on a package's publish counts as nothing open for the stalled rule; the seat mesh-builds gains the read verb `published` (module, artifact and fingerprint; answering published, version and digest), served by the builder from a reservation of that fingerprint whose artifact is marked published, or from a kept release of it; and the runner, when it writes a mover's wait on a package, asks it once per package and fingerprint and places the mover at once when the answer is published, the journal saying "placed from the published record" apart from an event; a package published before the pipeline existed thus no longer holds a pipeline until a restart. Two manifests and the seat's definition changed, so the manifest validator runs before the branch's third review; the approved head of row 190 is superseded by this one (rows 190, 193 and 195); the pipeline runner (`mesh-delivery-pipeline`) and the builder. Owed: the answer's time, never filled because the builder keeps no publish time, with that record. | H1's tail (the runner and the builder) |
|
||||
| The manifest validator's run on the pipeline runner's branch (row 197) at 21:28 found the change adding no problem: with the branch's seat definition, the change case's verdicts equal the trunk case's for every one of 157 manifests. But the builder's and the runner's manifests are refused in both cases, on fifteen and three lines naming verbs of the registry and build seats that the validator program does not see in the repositories' trunk seat files (they declare acts and accepts), lines the live validate of the same modules passed today; every developer and reviewer runs the validator this way, because the live answer of the seat list is too large to read into a session. The branch's third and last review began at 21:30 (rows 190, 196 and 197); the pipeline runner (`mesh-delivery-pipeline`), the builder and the indexer's manifest validator. Owed, by H-A-329: the seat mesh-catalog answers the seat list as one object a validator run takes; and the validate step counts only the problems new against its before case for a touched module (the reader found it counts every problem). | H1's tail (the runner); H2 (the validator's reads) |
|
||||
| The two reviews came back at 21:34 and 21:35, neither approving. The packet filter's group (row 196): five findings, one a real fault (the holder accepted an expiry without seconds that the node-engine's time reader refuses, so every later compose would have withheld the filter), the others form (the verbs served before the holder's start had said started; the holder copying the seat's names instead of importing the generated package, the copies already drifted; the seat definition's description of the default set stale; the stored copy of the node's grant lacking the event's subscription), all in one developer's hands; the holder's ten-second bound on its converged ask stays a value (H-A-330). The pipeline runner's branch (row 197), third round: one finding, the published answer never carrying its time, and never the digest for a release, which the builder did not keep; H-A-331 settles it (the publish time kept on the mark from now on, a release keeping its digest, both absent for older records and said so; a withdrawn number never answered published). The lead takes a fourth look at that one commit rather than a fourth round: the rule of three rounds bent for a detail of form, and said here (rows 196, 197 and 198); the packet filter module, the node-engine, the pipeline runner (`mesh-delivery-pipeline`) and the builder. | other (the packet filter); H1's tail (the runner) |
|
||||
| At 21:40 the operator said not to wait for them, and at 21:41 approved ADR 0683, so the lead stopped holding on the merges and prepared them instead: the four reviewed code branches were pushed and their pull requests opened for the operator's merge (the delivery repository's #317, the change of the assigner and the runner; #318, the teller's test; #319, the pipeline runner's placing fix, approved at its fourth look; and the node-engine's #244, the fix of the restart loop), beside hq's #797 (this record) and #798 (the packet filter's design amendments, now resting on an accepted decision); the runner's branch had its manifest validator run (row 198), and the base of #317 sits seventeen commits behind main but merges clean. The packet filter's group had its five findings fixed in one commit per repository and entered its second review round at 21:44. And the next milestone's design began: a writer turns every item the H1 record names as owed into H2's design lines, with the two proofs that show a change delivered in under ten minutes with no hand act and no restart (ADR 0282), for the reviews by architectural domain and the prepare that follow (rows 173, 187 and 199); the runbook. | H1 (closed); other (the packet filter); H2 (begun) |
|
||||
| At 21:47 the operator said the lead can and should merge the pull requests, and at 21:48 that they cannot be bothered with them, so merges are the lead's from here, as the mesh's rule on merges says, and the lead will not put a merge to the operator again. By the lead's reading, the earlier refusals were the lead session's own permission check reading the handovers' words ("the operator decides", "a check refused the earlier dispatch") as routing around a review, not a rule of the mesh; a plain handover quoting the operator passed. An agent merges the six at 21:48, in this order: the node-engine's #244 first (it ends the restart loop; its pipeline delivers the node-engines, and then the held puts are released); the delivery repository's #317, #318 and #319 as one call; then hq's #797 and #798, through the forge's interface (rows 174, 187 and 200); the runbook. | H1 (closed); other |
|
||||
| The merges landed: the node-engine's fix (#244) merged at 21:48:30, and its pipeline passed at 21:50:53, two and a half minutes from merge to pass, the node-engine's want moving on the home server and the control-node at 21:51 (the other two and the node-engines' restarts are being read; the held puts of row 183 are released once the restart loop has stopped); the three delivery fixes (#317, #318 and #319) merged as one call at 21:49, and their pipeline of 23 movers runs. hq's two pull requests (#797, this record, and #798, the packet filter's designs) have no merge path in the mesh: the forge tool never merges (ADR 0266), and the merge verb takes only a watched branch, which hq, registering no module, is not; the lead session's permission check refused dispatching hq's registration as a source, so the operator merges them at the forge for now. The fix of the journal lines (H-A-320 (1)) is built and in review (rows 176, 200 and 201); the node-engine, the pipeline runner (`mesh-delivery-pipeline`), the indexer (`mesh-delivery-indexer`), the gate and the checker. Owed, by H-A-332: a repository with no module registers as a source only; its own check runs as the mesh's; its pull requests merge like any other. | H1 (closed); H2 (hq as a source, the journal lines) |
|
||||
| The node-engine's fix is delivered: the new node-engine ran on the home server and the operator's desktop from 21:52, each restarting the tool runner once more for a real change (a secret filled) and then no more; the held puts of row 183 were released at 21:54 (the home server) and 21:58 (the operator's desktop and the control-node), and the loop of rows 179 to 181 is over. One smaller flap of the same kind remains: the reads runtime restarts for the node-files holder's words derived from held modules' stubs, and H-A-335 extends the held-module rule to every runtime process the node-engine composes (in build). The fix of the journal lines (H-A-320 (1)) went to a second round under H-A-333 (every said end writes its line in the one place the event is said; the builder's answered line at its one finish; the asked line kept). The next milestone's design part, H2 "the delivery system's owed work", was written (forty-three lines, §775 to §817, with the two proofs: a change delivered in under ten minutes, read from the gate's new delivery time, with no hand act and no restart by hand) and pushed, with hq as a watched source as a line (H-A-334) and the bend of the destroy channel kept; its four reviews by architectural domain run, and a progressive insight on ADR 0668 adds the fault class "away" (rows 181, 200 and 202); the node-engine, the pipeline runner (`mesh-delivery-pipeline`) and the builder. | H1 (closed); H2 (begun) |
|
||||
| The pipeline of the three merged delivery fixes (rows 146, 170, 184, 187 and 190: the cut placing, the stranded want of room, the versioned end) ended failed at 22:00: the control-node's node-engine restarted its tool runner for a changed fingerprint in one module's words at 21:59, while the forge's bundle took a package's first chunk, so the publish died and the contracts module's build failed, and every mover downstream was not asked; the change itself was sound (every test run passed, and the same build passed on its next try at 22:05). The next merge's pipeline (the journal-lines fix, row 202, merged at 22:01) carried the same movers and re-pinned them to the published packages at 22:06, so nothing was run again by hand. A design's part is reviewed before its prepare: the four reviews by architectural domain of H2's part reported thirty-seven musts and notes in twelve minutes, answered in one batch (H-A-338 to H-A-341) and applied by the writer; and a TypeScript bundle's mesh packages get no catalog edge before its first build (H-A-336, owed in H2b) (rows 146, 170, 179, 184, 187, 190, 202 and 203); the node-engine, the tool runner (`node-tools`) and the Node build module. Owed, by H-A-342: a publish refused by a holder that is away ends the run again like a fetch; and the tool runner drains its calls in flight at a stop, within a bound, before the node-engine starts the new one. | H1 (closed); H2 (begun) |
|
||||
| The reads runtime's restarts (row 203) are over: the node-engine's fix (a held module's share of the holders' merged words comes from what runs; H-A-335 and H-A-337) was reviewed in two rounds, merged at 22:20 and delivered by its pipeline in three minutes (passed at 22:24), and the new node-engine ran on all four nodes by 22:26; no restart of the reads runtime since 21:57 on any node. Each new node-engine's first pass restarted the tool runner once with a false why (a secret said changed that did not change), as main.151's node-engine had at 21:52, and the mesh MCP server dropped for a minute each time; H-A-348 owes the fix to H2b (the judgement reads what the running unit holds, never only the node-engine's memory). The pipeline of the journal-lines fix (row 202) failed twice on the Node build module's integration tests, three tests, on two build nodes; their kind (H-A-347): since the toolchain lock pins no SDK (G §571), they had read the SDK from a stale toolchain through the "installed last" fallback for ten days, until the desktop installed the current lock at 19:26; the fix (the shared setup supplies the SDK the skipped fetch would place) is in review, and the fallback gains a journal line. The two insights are accepted: ADR 0668 at version 17 (the fault class "away") and ADR 0664 at version 16 (a holder that is away, and the forge's 401 or 5xx on a source fetch, end a run again). H2's part passed the second look of the four reviews (every must answered but six, which are answered as H-A-344 and applied), and is hq's pull request #799, for the operator (rows 202, 203 and 204); the node-engine, the Node build module and the knowledge base. | H1 (closed); H2 (begun) |
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,347 +0,0 @@
|
||||
---
|
||||
layer: to-be
|
||||
status: in-progress
|
||||
design: 47
|
||||
milestone: H
|
||||
updated: 2026-11-20
|
||||
decisions:
|
||||
- "ADR 0499"
|
||||
- "ADR 0573"
|
||||
- "ADR 0682"
|
||||
---
|
||||
# 47, milestone H — the pin rule: its specification and its gaps
|
||||
|
||||
The rule by which a catalog entry pins the mesh packages a module's build resolves, written whole from the lead's
|
||||
answers H-A-147, 151, 154, 155, 156, 157, 161, 162, 165, 167, 168, 170, 172, 173, 183, 184, 185, 186, 188, 192, 194,
|
||||
198, 201, 202, 203, 204, 205 and 206 ([H-lead-answers.md](H-lead-answers.md)), G §370
|
||||
([G-7-answers.md](G-7-answers.md)), ADR 0499 §1 to §4 and ADR 0573 §2 and §4 (the knowledge base), then held against
|
||||
the code as it stands after the evening's three fix branches.
|
||||
|
||||
A word first. The glossary's **pin** is a person's choice of provider for a consumer (Provisioning). This file, as the
|
||||
lead's answers do, uses "pin" for the version a catalog entry names for a mesh package its module's build resolves.
|
||||
That is a second sense the glossary does not hold; the proposed word is **package pin** (a catalog entry's version of
|
||||
one mesh package its module's build resolves, its key the package's Go module path), to be added in its own pull
|
||||
request. Until then "pin" below means the package pin, and "revision pin" means a record keeping a catalog revision
|
||||
(the indexer's state `pins`).
|
||||
|
||||
## The code read
|
||||
|
||||
| Part | Repository | Read at |
|
||||
|---|---|---|
|
||||
| The indexer (seat `mesh-catalog`) | mesh-delivery, module mesh-delivery-indexer | main `b9cc9747` plus branch `fix/47-H1-indexer-repin` at `94202fb6` (commits `0418a2b9`, `94202fb6`); the tool commit said to be in progress was not in the branch's worktree (clean at `94202fb6`) |
|
||||
| The pipeline runner (seat `mesh-pipeline-runner`) | mesh-delivery, module mesh-delivery-pipeline | branch `fix/47-H1-runner-step-pins` at `e3fed775` (commits `a926a40e`, `e3fed775`) over main `b9cc9747` |
|
||||
| The builder (seat `mesh-builds`) | mesh-delivery, module mesh-delivery-builder | branch `fix/47-H1-builder-revision-picture` at `0fcc614e` (one commit over main; its worktree clean) |
|
||||
| The Go build module (seat `node-build-go`) | mesh-catalog, module mesh-build-go | main `34a884ff` |
|
||||
| The delivery SDK's build step and step runner | mesh-delivery, module mesh-delivery-sdk, packages `buildstep`, `steprun` | main `b9cc9747` |
|
||||
|
||||
Every fact below names its file and function, read with `git show` at those heads; no line numbers (they move).
|
||||
|
||||
## 1. The specification
|
||||
|
||||
### What an entry pins
|
||||
|
||||
- **S1** An entry's `packages` names every mesh package its module's Go build requires, read from the `require` lines of
|
||||
the go.mod files at the take-in, at any version, the zero version and `// indirect` included, with no build needed
|
||||
(H-A-157, H-A-201).
|
||||
- **S2** The set is transitive across the module graph the go.mod files give, not only the module's direct requirements
|
||||
(H-A-201).
|
||||
- **S3** A requirement of the module's own repository is never pinned: it is built from the tree (H-A-198, H-A-201,
|
||||
H-A-202), whether or not that package is also published.
|
||||
- **S4** A pin's key is the package's Go module path as go.mod requires it, a nested module's whole path included
|
||||
(`<repository>/modules/<m>/go/clients/<c>`), never a root path or a module's name (H-A-183: "the package path").
|
||||
- **S5** A pin's version is the newest version the registry seat published for that package path, as the registry's
|
||||
published events name it (path and version); never a module's release number, never a commit (H-A-161, H-A-183;
|
||||
G §370: a Go package's version is its tag).
|
||||
- **S6** The pin stays within the series the module accepts: the one its manifest names in `packages`, the default
|
||||
where it names none, whether or not a series value holds contents; a publish in another series pins nothing and moves
|
||||
nothing (H-A-184, H-A-185). A package artifact's series is its module's version series (H-A-188).
|
||||
- **S7** The pin is always the newest release in that series; an older version never stands over a newer release
|
||||
(H-A-167).
|
||||
- **S8** A requirement of another repository with no published version in its series is named with an empty version,
|
||||
never left out (H-A-161, H-A-204).
|
||||
- **S9** A pin is written `vMAJOR.MINOR.PATCH` everywhere it is carried (G §370's tag form; the step contract's
|
||||
semantic-version form), and only an empty version stands for "none yet".
|
||||
- **S10** A Go package path another module imports is a declared package artifact of its module; the catalog's check
|
||||
refuses a manifest whose Go module imports a mesh package path no module declares (H-A-186).
|
||||
|
||||
### When an entry is computed and pinned again
|
||||
|
||||
- **S11** The entry and its pins are computed at the take-in of every watched branch, for every module the take-in
|
||||
holds (H-A-157; H §743).
|
||||
- **S12** A package's publish pins again every kept entry, of any repository and whether or not its module changed,
|
||||
that names the path with no version or an older one in its accepted series (H-A-165, H-A-204).
|
||||
- **S13** The pins move on the event, never waiting for a merge or a hand act (H-A-165).
|
||||
- **S14** A pin that moves moves the importer's fingerprint; the importer becomes a mover, and the builder builds a new
|
||||
key against the release (H-A-167; ADR 0573 §3).
|
||||
- **S15** A failed re-pin is not acknowledged, so the publish is delivered again (H-A-167).
|
||||
- **S16** The indexer answers one entry's `packages` and paths at a revision through a tool, without the whole revision
|
||||
(H-A-204; tools-are-how-a-module-is-spoken-to).
|
||||
|
||||
### What the fingerprint takes in
|
||||
|
||||
- **S17** Every form's fingerprint (the version line's and the import form's) takes the module's pins, sorted; a
|
||||
fingerprint with no pin stays as it was (H-A-167, H-A-172; ADR 0573 §2).
|
||||
- **S18** The objects of every same-repository module directory the build derives from the go.mod files enter the tree
|
||||
input, a line per directory, for every form, without being written into the entry; the entry's `paths` keep the
|
||||
manifest's form (H-A-199 as H-A-202 amends it).
|
||||
- **S19** A module whose every artifact names its paths takes its tree input from the manifest and those paths (ADR
|
||||
0499 §2).
|
||||
- **S20** A build's reported imports refine the go.mod's set and never replace it with an empty one while go.mod names
|
||||
a mesh package (H-A-157).
|
||||
|
||||
### Who carries the pins into which ask
|
||||
|
||||
- **S21** The builder takes a build's pins from the catalog entry alone and never computes one (H-A-192).
|
||||
- **S22** The builder's own build ask of a lane (the trunk build it puts on the build seat's stream) carries the same
|
||||
pins (ADR 0573 §2: the build writes those versions into its workspace; H-A-192).
|
||||
- **S23** The runner puts the entry's pins into every step ask's fetch (lint, unit, integration), the same pins the
|
||||
builder gives the build (H-A-203).
|
||||
- **S24** A run on request's build step ask names no source revision (H-A-162).
|
||||
|
||||
### What waits
|
||||
|
||||
- **S25** A build step ask names its branch and source revision; when the builder's picture does not hold that revision
|
||||
yet, the ask waits for the picture to take it in, woken by the state's change events and by each revision the view
|
||||
takes in, up to `revision-wait-minutes` (1 to 60, default 2), then fails loud naming the revision and the branch; a
|
||||
build with no version is never made (H-A-155, H-A-156, H-A-162).
|
||||
- **S26** The builder's picture holds every kept revision: a revision below the newest it heard is read by number
|
||||
through the catalog seat's `revision`; only one above the newest is waited for (H-A-205).
|
||||
- **S27** A build whose entry names a package with an empty pin first asks the package registry seat's `versions` once
|
||||
for that path and takes the newest in the accepted series; else it waits for the registry's published of that path
|
||||
and series, up to `package-wait-minutes` (1 to 120, default 10), and pins the version that event carries; past the
|
||||
bound it fails "package <path> has no released version" (H-A-165, H-A-192, H-A-194).
|
||||
- **S28** The runner asks a Go artifact's lint, unit and integration steps only when every pin of its entry has a
|
||||
version; until then the steps stand as "waits on the publish of <path>", and end as the build ends when the bound
|
||||
passes; the publish pins the entry again and moves the mover to its new fingerprint, whose pipeline runs them
|
||||
(H-A-206).
|
||||
|
||||
### What refuses
|
||||
|
||||
- **S29** The Go build module refuses, loud, a requirement of another repository the ask gives no pin for (H-A-192).
|
||||
- **S30** It never takes another path's version, a sibling's version or the latest for it (H-A-192, H-A-201).
|
||||
- **S31** It builds a same-repository requirement from the fetched tree, transitively through those modules' own
|
||||
go.mod files, and keeps those directories in the narrowed tree (H-A-198, H-A-202; ADR 0499 §4: a build sees only its
|
||||
named paths).
|
||||
- **S32** A version a repository's go.mod names is read as the oldest it accepts, and nothing more; nobody fixes a
|
||||
version by hand (ADR 0573 §2).
|
||||
|
||||
### What keeps the revision an entry lives in
|
||||
|
||||
- **S33** The take-in pins the branch's newest kept revision for the same pipeline record as its own, and writes that
|
||||
revision's number as the field `base` on the revision it writes, absent on a branch's first take-in; both are freed
|
||||
with the pipeline (H-A-147, H-A-151, H-A-154).
|
||||
- **S34** A passed pipeline pins, under `release.<branch>.<module>`, the revision of each mover that released a version;
|
||||
a newer pipeline's `pipeline-wanted` with outcome running frees it from the revisions below only where the newer
|
||||
revision holds that module's release record (H-A-168, H-A-170, H-A-173).
|
||||
|
||||
### From the records, not judged here
|
||||
|
||||
- **S35** A delivery group's check builds its members against the group's own heads (ADR 0573 §4). Milestone H's runs
|
||||
on request replace the earlier model's group check; whether §4 still asks anything of the pin rule is a question for
|
||||
the lead, not this table.
|
||||
|
||||
## 2. The gap table
|
||||
|
||||
Sizes: S one function (under an hour), M one module's part (a day), L the part's shape (more than a day).
|
||||
|
||||
| Line | Status | Where | What the code does instead | Size |
|
||||
|---|---|---|---|---|
|
||||
| S1 | built | mesh-delivery-indexer: `cmd/.../named.go` (the go.mod read, `fingerprint.MeshRequiresOf`); `internal/index/package_trees.go` `otherRequired`; `internal/index/versions.go` `releasedPins` (branch indexer-repin, its `required` argument) | | |
|
||||
| S2 | built otherwise | `internal/index/package_trees.go` `sameRepositoryRequired`, `otherRequired` | The reading follows only same-repository modules' go.mod files; a pinned package's own requirements (another repository's go.mod) are never read, so a transitive requirement is pinned only where the module's own go.mod lists it as `// indirect` (a tidied go.mod). | M |
|
||||
| S3 | built | `releasedPins` (skips `trunk.SameRepository`); `fingerprint.OtherPackages` | The indexer never pins a same-repository package, published or not. The Go build module's side is S31. | |
|
||||
| S4 | built | indexer `HearVersion` (`GoModule` from the registry's published `Module`), `releasedPins` (`s.GoModule == p`); builder `PackagePublished` (keyed by the published `Name`); mesh-build-go `takeZeroRequirements` (`asked[p.module]`) | The key is the full Go module path on every side. Live: the registry holds `.../modules/mesh-grants/busgrants` at 0.1.48 under its nested path (the indexer's `indexer_package_users`). | |
|
||||
| S5 | built | `releasedPins` (branch); `fingerprint.WithPins` | The entry's pins are registry versions. The fingerprint's version line still takes commits (leftover L1). | |
|
||||
| S6 | built | `releasedPins` (`m.AcceptedSeries(s.Name)`); builder `awaitPublished` (`man.AcceptedSeries(p)`) | The rule that a package artifact's series is its module's version series (H-A-188) lives in the catalog's check, outside these modules: not judged. | |
|
||||
| S7 | built | `releasedPins` (the highest in the series) | | |
|
||||
| S8 | built | `releasedPins` with `required` (branch indexer-repin `0418a2b9`) | The empty version is refused by a run on request's candidate: `internal/index/candidate_values.go` `checkCandidateModule` runs `sdkstep.PackageVersions.Check`, which accepts only a commit or a semantic version, on `runcandidates.go`'s values copied from the module's `Packages`. A run of a module with a package not yet published fails. | S |
|
||||
| S9 | built | indexer `releasedPins` (`"v"+`), series kept without it (`HearVersion`); builder `publishedPin` (`"v"+`), `PackagePublished` (trims it); runner `stepAsk` (copies); sdk `buildstep` `PackageVersions.Check` (needs `v`); mesh-build-go `takeVersion` (`path@v…`) | One form throughout. The empty version is the one exception S8 names. | |
|
||||
| S10 | not judged | the catalog's check (mesh-catalog's manifest check), not one of the modules held here | | |
|
||||
| S11 | built otherwise | indexer `takeInSource` (`takein_source.go`), `recomputeLocked` (`toolchains.go`) | On the first watched branch every module is computed. On another branch the take-in recomputes only the moved repositories' modules and those whose pins name a package of a moved repository; every other entry is carried from that branch's newest revision with the pins it had. | M |
|
||||
| S12 | built otherwise | `cmd/.../series.go` `heardVersion` (a registry's published runs `Recompute` of every module); `versions.go` `releaseVersion` calls `repin`; `toolchains.go` `Repin` (branch: by pins and by kept requirements) | Two paths move the pins, both in the first watched branch's view only (`ix.Modules`). A kept catalog revision is never rewritten, and another branch's entries are not pinned again. | M |
|
||||
| S13 | built otherwise | as S12; `catalog_revisions.go` `keepBranchEntries` is called only from `takeInSource` | The view moves on the event, but an entry anyone reads (the builder, the runner, the node-engine through the revision) changes only when the next take-in of that branch writes a revision, which only a merge on that branch makes. | L |
|
||||
| S14 | missing | `internal/index/movers.go` `moversOf` | A mover is a module of a moved repository whose fingerprint changed, or a module whose pins name a package a mover publishes. A module whose fingerprint moved by a re-pin is neither, so no pipeline builds or tests it. The builder's picture builds the new fingerprint on its own once a later revision carries it (leftover L5), outside any pipeline, with no test step and no want. | L |
|
||||
| S15 | contradicts (one of two paths) | `cmd/.../series.go` `heardVersion` | The version-released path returns the re-pin's error, so the package-published is not acknowledged (built). The registry-published path logs a failed `Recompute` and acknowledges the event, so that re-pin is lost until the next publish. | S |
|
||||
| S16 | missing | indexer tools (branch indexer-repin holds none) | The seat verb `mesh-catalog.entry` answers one whole entry by fingerprint, not at a revision. The tool H-A-204 asks is the commit still in progress. | S |
|
||||
| S17 | built | `versions.go` `pinnedOf`; `fingerprint.WithPins`; `form.go` `formOf` (import form `stands` kept only while its built pins equal the new ones) | | |
|
||||
| S18 | built | `package_trees.go` `derivedDirs`, `derivedTree` (main `b9cc9747`, merged #296) | | |
|
||||
| S19 | built | `fingerprint.NamedTree` | | |
|
||||
| S20 | built | `form.go` `refined` | | |
|
||||
| S21 | built | builder `internal/build/step.go` `buildEntry` (entry by fingerprint through `mesh-catalog.entry`, then `awaitPublished`) | | |
|
||||
| S22 | built | builder `internal/build/run.go` `runLane` (`awaitPublished`, `ask.Packages`) | Its `delete(ask.Packages, fb.Package)` loop runs over `req.Builds`, which nothing sets (leftover L6). | |
|
||||
| S23 | built | runner `internal/pipeline/place.go` `stepAsk` (branch runner-step-pins `a926a40e`) | Empty pins are left out, so a step waits for them (S28). | |
|
||||
| S24 | built | runner `place.go` `place` (source 0 for a run) | | |
|
||||
| S25 | built | builder `internal/build/revisionwait.go` `awaitRevision`, `PictureHeld`; `module.json` `revision-wait-minutes` | | |
|
||||
| S26 | built | builder `revisionwait.go` `keptRevisionHolds`; `cmd/.../keptrevision.go` `keptRevisionVia` (branch builder-revision-picture) | The kept revision is judged by its source and its fingerprints; the pins used are then the entry read by fingerprint (S21). | |
|
||||
| S27 | built | builder `revisionwait.go` `awaitPublished`, `PackagePublished`; `cmd/.../versions.go` `publishedVersionsVia`; `cmd/.../seats.go` (the published heard); `module.json` `package-wait-minutes` | | |
|
||||
| S28 | built otherwise | runner `place.go` (`unpinnedPackage`, `PinWait`, `endPinHeld`); `steps.go` `OnStepEndedShared`, `endPipeline` (branch runner-step-pins `e3fed775`) | A failed build ends the waiting steps with its outcome (built). When the build passes, `endPinHeld` ends none and nothing asks them: a waiting required step holds `endPipeline`, so the pipeline never ends and holds its place in the queue. The line counts on S14 (a new pipeline at the re-pinned fingerprint), which is missing. | M |
|
||||
| S29 | built | mesh-build-go `cmd/mesh-build-go/pins.go` `takeZeroRequirements` ("no pin for … the builder pins or waits") | | |
|
||||
| S30 | built | as S29; `versions.go` `takeRequirementsOf` leaves forge modules to their own rule | | |
|
||||
| S31 | built otherwise | mesh-build-go `pins.go` `takeZeroRequirements`, `useOwnModules`; `narrow.go` `ownZeroPackageDirs` | Only a same-repository requirement at the zero version comes from the tree. One at a real version is fetched at that version through the Go seat, while the indexer's fingerprint takes the tree's objects (S18): the build and its key disagree. The repository test is the literal owner prefix `"novox/"+p.repo`, a value written into the code. | S |
|
||||
| S32 | built | mesh-build-go `versions.go` `takeVersion` (a newer go.mod version is built, and said) | | |
|
||||
| S33 | built | indexer `catalog_revisions.go` `keepBranchEntries` (`rev.Base`, the newest pinned in the same write); `pins.go` `HeardPins`, `unpinElsewhere` | | |
|
||||
| S34 | built | indexer `pins.go` `HeardPins` (a release record only for a mover with a version), `HeardPipelineWanted` (running only; the newer revision's own release record) | | |
|
||||
| S35 | not judged | | The question of whether ADR 0573 §4 still binds after the runs on request is the lead's. | |
|
||||
|
||||
Counts: 35 lines; built 24, built otherwise 6, contradicts 1, missing 2, not judged 2.
|
||||
|
||||
### The six points the lead asked about
|
||||
|
||||
1. **The pin key's form.** On the branches every side keys by the full Go module path: the indexer from go.mod and the
|
||||
registry's published `Module`, the builder from the published `Name`, the Go build module by `p.module`. A nested
|
||||
path is pinned when the registry published that path (H-A-186's artifacts). The builder writes one git tag per
|
||||
release, `go/v<version>` (`internal/versions/tag.go` `GoTagOf`), never `<package dir>/v<version>`. The fetch asks the
|
||||
Go seat first, so the tag is not on the path, but if the seat misses and the fetch falls through to the forge's git,
|
||||
a nested path's `@v0.1.x` is an unknown revision (leftover L9). I think the refusals of nested paths seen earlier
|
||||
came from the pins of H-A-161 (the module's release number) and the undeclared artifacts H-A-186 names. Both are
|
||||
fixed on main and on the branches; the running indexer predates them (section 3).
|
||||
2. **Reported imports against the go.mod graph.** `formOf` takes the import form when a build reported imports, and
|
||||
`fingerprint.Resolve` gives versions only for the holders of what was imported. Since `0418a2b9`, `releasedPins`
|
||||
adds every requirement the go.mod graph names (`required`), so the entry's pin set no longer shrinks to the imports.
|
||||
The `stands` case keeps `prev.Packages` only while those equal the new pins (`pinnedOf`), so a moved pin moves the
|
||||
fingerprint (S17).
|
||||
3. **The recompute of unchanged modules of other repositories** (`recomputeLocked`, the held-stands guard). At a
|
||||
take-in naming repository R, a module of another repository is recomputed only when its new pins name a package of
|
||||
R (`importsOf`). Since `0418a2b9` that set includes requirements with an empty pin, so an importer of R's package is
|
||||
recomputed. Any other module keeps its held value. A publish recomputes every module of the first watched branch's
|
||||
view (`Recompute` on the registry's published) or the modules naming the released module's packages (`Repin`).
|
||||
Other watched branches are not reached (S11, S12).
|
||||
4. **The lane path's trunk asks.** `runLane` waits in `awaitPublished` and copies the filled pins into `ask.Packages`
|
||||
for a Go fetch with any pin (S22). The lane runs both for a step ask and for the builder's own picture-driven builds
|
||||
(L5).
|
||||
5. **A same-repository requirement that is also published.** The indexer never pins it. The Go build module builds it
|
||||
from the tree only when go.mod names it at the zero version; at a real version it is fetched from the Go seat at
|
||||
that version (S31).
|
||||
6. **The "v" prefix.** It is one form across the indexer, builder, runner, step contract and Go build module (S9). The
|
||||
empty version is the one value the step contract refuses, which breaks runs on request (S8).
|
||||
|
||||
## 3. The leftovers
|
||||
|
||||
| What | Where | What it does | Line it contradicts |
|
||||
|---|---|---|---|
|
||||
| L1 The version line's commit form | indexer `form.go` `lineVersions` (`fingerprint.HeldVersionsOf`, the gate's heads for an unpublished package, G A-365); `fingerprint.VersionLine` | The fingerprint takes, for each other-repository package, the held module's commit or the branch head's commit. A merge of a package's repository moves every importer's fingerprint before anything is published. | S5 in spirit (H-A-161: never a commit). The pins themselves are versions. |
|
||||
| L2 The accepted series' contents read at the published commit | indexer `series.go` `HearVersion` (`packagesAt`), `acceptedSeries` (DLV-I6) | Reads the published version's package digests through the forge for the import form, keeps a commit form where it cannot. | none (ADR 0593 §2's import form), but a second source of package versions beside the pins |
|
||||
| L3 A whole recompute on every registry publish | indexer `cmd/.../series.go` `heardVersion` | `Recompute` of every module on each published version, beside the targeted `Repin` on version-released. | none; it duplicates S12's path, and acknowledges on failure (S15) |
|
||||
| L4 The requirements state from go.sum | indexer `requirements.go` (`indexer_requirements`, `keepRequirements`, `RequiredOf`) | Keeps per package the highest version each consumer's go.sum names, for the builder's floor. Under the zero version go.sum names none (H-A-157). | none directly; H-A-157 says go.sum is never read for package edges, and H-A-159 removed the builder's own numbering it served |
|
||||
| L5 The builder's picture-driven builds | builder `internal/build/run.go` (the picture's take calls `consider`), `Reconsider`, `Sweep`; `numbers.go` `PackageNamed` | Builds every fingerprint a watched branch's picture takes in, outside any step ask. It is the only path by which a re-pinned fingerprint is ever built today. | none of this part's lines (the earlier model's "the builder builds every fingerprint of the catalog half"); a builder that builds what no pipeline asked is a question for the lead |
|
||||
| L6 Dead pin deletion | builder `run.go` `runLane` (`for _, fb := range req.Builds`) | Deletes from the pins the packages `builds` names, over a list nothing fills. | none |
|
||||
| L7 Commit pins and pull-request heads | mesh-build-go `versions.go` `takeVersion` (a commit resolved to a pseudo-version, else `placePin` from `refs/pull/*/head`), README "A pin on a pull request's head" | Accepts a 40-hex commit as a pin and places a pull request's head beside the workspace. | S5 (H-A-161: never a commit) for a delivery build; it served ADR 0573 §4's group heads |
|
||||
| L8 The literal owner prefix | mesh-build-go `pins.go` `takeZeroRequirements`, `narrow.go` `ownZeroPackageDirs` (`"novox/"+repo`) | Decides "same repository" by a written owner name. | principle 11 |
|
||||
| L9 One Go tag per release | builder `internal/versions/tag.go` `GoTagOf`, `reserve.go` | Tags `go/v<version>` once per module, whatever paths its Go packages have. | none of this part's lines; H-A-183 names `<package dir>/v<version>` as what the forge's Go seat looks for |
|
||||
| L10 The candidate check on pins | indexer `candidate_values.go` `checkCandidateModule`; sdk `buildstep` `PackageVersions.Check` | Refuses an empty version. | S8 |
|
||||
|
||||
## 4. Live against main
|
||||
|
||||
Read through the mesh at 23:00 to 23:10 CET with read tools only (`mesh-delivery-view.node_haves`,
|
||||
`mesh-catalog.entry`, `mesh-delivery-indexer.indexer_package_users`). Machines are named by role; the mapping is a
|
||||
guess (section 7).
|
||||
|
||||
**The indexer**
|
||||
|
||||
| Machine | Build that runs | Main's or by hand | What main and the branches have that it lacks |
|
||||
|---|---|---|---|
|
||||
| the control-node | fingerprint `src2:9ac151c2…`, its entry at commit `f00d3467` (main, 2026-11-20 17:35 UTC) | the entry is main's commit; whether a pipeline or a hand placed it the tools do not say | 8 commits of main on the module: H-A-183, 184, 185 (the pin by path and series), H-A-186, H-A-200, H-A-201, H-A-202; and both commits of branch indexer-repin. Live, the entries of the indexer and the runner still carry 40-hex commits as pins, and the busgrants user `nats` shows no pin though 0.1.48 is published. |
|
||||
|
||||
**The pipeline runner**
|
||||
|
||||
| Machine | Build that runs | Main's or by hand | What main and the branch have that it lacks |
|
||||
|---|---|---|---|
|
||||
| the control-node | `src2:adf598f2…`, entry commit `9598b92c` (main, 17:37 UTC) | the entry is main's commit | H-A-187, H-A-189, H-A-190, H-A-191 (steps per mover); branch runner-step-pins (H-A-203, H-A-206) |
|
||||
|
||||
**The builder**
|
||||
|
||||
| Machine | Build that runs | Main's or by hand | What main and the branch have that it lacks |
|
||||
|---|---|---|---|
|
||||
| the workstation | `src2:48cabb7e…`, held: "entry-missing … src2:f34620ec…" since 17:49 CET | no kept entry names `48cabb7e`, so I take it for a build placed by hand or from before the clean state | not readable: no entry gives its commit |
|
||||
| the control-node | removed ("the applied declaration no longer holds the module") | | |
|
||||
|
||||
**The Go build module**
|
||||
|
||||
| Machine | Build that runs | Main's or by hand | What main has that it lacks |
|
||||
|---|---|---|---|
|
||||
| the control-node, a build node | `src2:ae502407…`, phase failed: "the want … names no digest for mesh-build-go:files, mesh-build-go:tools" | no kept entry names it: placed by hand or from before the clean state | not readable |
|
||||
| the workstation, the laptop | `src2:c69b0f1c…`, the same failure | the same | not readable |
|
||||
|
||||
The delivery SDK is a package, not a running module; nothing of it runs on its own.
|
||||
|
||||
## 5. The tests
|
||||
|
||||
Counted as `func Test` per file; a file whose header carries `//go:build integration` counts as integration. Table
|
||||
rows inside one function count once.
|
||||
|
||||
| Module (head) | Unit | Integration | Starts the module whole against a bus and a store | What the tests would not catch of the gaps |
|
||||
|---|---|---|---|---|
|
||||
| indexer (indexer-repin) | 163 | 6 | yes, `TestIndexerWhole` (`takein_integration_test.go`) | It covers revision pins (S33, S34), not pins of packages: no whole test publishes a package and reads the entry pinned again, the re-pinned module made a mover (S14), another branch's entries (S11, S12) or an acknowledgement after a failed re-pin (S15). Unit tests `TestAnEntryNamesEveryRequirementPinnedOrWaiting` and `TestAReleaseRepinsAnEntryNamingItsPackageWithNoPin` (branch) prove S8 and S12 in the view only. |
|
||||
| builder (builder-revision-picture) | 154 | 18 | yes, `integration_test.go` runs `run` | Nothing ties the lane's pins to an entry with an empty pin across a restart; the branch's unit test proves S26. |
|
||||
| runner (runner-step-pins) | 91 | 4 | yes, `run_integration_test.go` runs `run` | No test builds a mover whose pin-held steps outlive a passed build (S28); the branch's `testruns_integration_test.go` checks the pins in the fetch (S23). |
|
||||
| Go build module (main) | 217 | 18 | I found none that runs the module's `run` (guess; section 7) | Nothing fetches a same-repository requirement at a real version (S31) or a transitive other-repository requirement not in the go.mod (S2). |
|
||||
| delivery SDK `steprun` + `buildstep` (main) | 113 (of the module's 150) | 13 (all in `steprun`) | not applicable (a package) | Nothing runs `PackageVersions.Check` on an empty version from a candidate (S8). |
|
||||
|
||||
All five are inside the budget of 500 unit and 50 integration tests per module.
|
||||
|
||||
## 6. Fix in place or write again
|
||||
|
||||
**The indexer.** Fix in place. 14 of its 21 lines here are built. The pin's computation (S1 to S9, S17 to S20) and the
|
||||
revision pins (S33, S34) follow the design. Its shape breaks in one place: a re-pin reaches only the in-memory view of
|
||||
the first watched branch, and nothing turns a moved fingerprint into a catalog revision and a mover (S12 to S14, L).
|
||||
That is a design question before it is code. A revision is numbered by its source (H-A-32), and a publish has no
|
||||
source, so the design must say what takes in a re-pin (a take-in the publish itself starts, or a revision of its own
|
||||
form). The rest are S: the acknowledgement (S15), the empty pin in a run's candidate (S8), the tool (S16).
|
||||
|
||||
**The builder.** Fix in place. Its four lines (S21, S22, S25 to S27) are built on the branch, in the design's shape
|
||||
(events and a bound, the versions verb read before the wait). Its open question is L5: it builds every fingerprint its
|
||||
picture takes in, outside any pipeline. Today that is the only path that builds a re-pinned key, so it must not be
|
||||
removed before S14 is built.
|
||||
|
||||
**The pipeline runner.** Fix in place. S23 and S24 are built, and S28 is built but for one case: a pin-held step whose
|
||||
build passed is never asked and never ended (M). It needs a design line for that case, for example asking the steps
|
||||
with the pins the build resolved, which its step end would have to carry, or ending them "not asked" in favour of the
|
||||
re-pinned mover's pipeline once S14 exists.
|
||||
|
||||
**The Go build module.** Fix in place. S29, S30 and S32 are built; S31 holds only at the zero version and on a
|
||||
literal owner name (S each). L7, the commit and pull-request-head pins, is the earlier model's and can go once no ask
|
||||
names a commit.
|
||||
|
||||
**The delivery SDK.** Fix in place: one change, the candidate check's treatment of an empty pin (S8), shared with the
|
||||
indexer.
|
||||
|
||||
## 7. What I could not read, and what I guessed
|
||||
|
||||
- I could not send the lead an interim status mid-run: this agent has no messaging tool but its final report.
|
||||
- **The tool commit of branch indexer-repin** was not in its worktree (clean at `94202fb6`), so S16 is judged missing.
|
||||
Check: `git log fix/47-H1-indexer-repin` once it lands.
|
||||
- **The builder's and the Go build module's running builds** have no kept entry (`mesh-catalog.entry` answers "no
|
||||
entry of fingerprint … is kept"), so their commits are unknown. That they were placed by hand is a guess. Check: the
|
||||
node-engine's composition of those modules on each machine (`<node>/node-engine.composition`).
|
||||
- **Whether a pipeline or a hand placed the indexer and the runner** is not said by the tools I used; their entries'
|
||||
commits are main's.
|
||||
- **The role of each machine** is a guess from the mesh's instructions (the control-node, the workstation, the laptop,
|
||||
a build node). Check: `mesh-controller.nodes`.
|
||||
- **The Go build module's whole test:** I searched its tests for a call of `run` and found none. A test that starts it
|
||||
another way may exist. Check: read its `*_integration_test.go` files.
|
||||
- **S2 in practice:** whether every mesh go.mod lists its transitive mesh requirements as `// indirect` I did not read.
|
||||
Check: `go mod tidy` is a lint step, or read a module's go.mod at main.
|
||||
- **The cause of the earlier nested-path refusals** (point 1) is a guess from the lead's answers, not from a record of
|
||||
those builds. Check: `records_search` with the refused build's words.
|
||||
- Line numbers are not given, by this agent's way of working (they move with every commit); each fact names its file
|
||||
and function.
|
||||
|
||||
## 8. The shortest list of changes still missing after the three branches
|
||||
|
||||
1. **A re-pin becomes a revision and a mover** (S12, S13, S14). Owner: the indexer (its take-in), after a design
|
||||
line from the lead or the design writer on what takes a re-pin in, since a revision is numbered by its source
|
||||
(H-A-32). It also covers every watched branch, not only the first (S11). Size L.
|
||||
2. **A pin-held step whose build passed** is asked with the pins the build resolved, or ended for the re-pinned
|
||||
mover's pipeline (S28). Owner: the runner, with a design line. Size M.
|
||||
3. **A failed re-pin on the registry's published is not acknowledged** (S15). Owner: the indexer, `heardVersion`.
|
||||
Size S.
|
||||
4. **An empty pin passes a run on request's candidate** (S8, L10). Owner: the indexer's `checkCandidateModule`, or the
|
||||
SDK's `PackageVersions.Check` with an "empty allowed" form for entries. Size S.
|
||||
5. **The tool answering one entry's pins and paths at a revision** (S16). Owner: the indexer. Size S (in progress).
|
||||
6. **A same-repository requirement at a real version comes from the tree**, and "same repository" is read from a
|
||||
setting or the fetch, not the literal owner (S31, L8). Owner: the Go build module. Size S.
|
||||
7. **Transitive other-repository requirements** are pinned from the pinned packages' own go.mod files, or a check
|
||||
refuses an untidied go.mod (S2). Owner: the indexer, or the catalog's check. Size M; needed only if a go.mod is
|
||||
found that does not list them.
|
||||
|
||||
L1 (the commit form in the fingerprint's version line) is left in place until item 1 lands, since today a
|
||||
package's merge moving its importers' fingerprints is what makes them code dependents in that pipeline at all.
|
||||
@@ -1,495 +0,0 @@
|
||||
---
|
||||
layer: to-be
|
||||
status: in-progress
|
||||
design: 47
|
||||
milestone: H
|
||||
updated: 2026-11-23
|
||||
decisions:
|
||||
- "ADR 0685"
|
||||
- "ADR 0684"
|
||||
- "ADR 0682"
|
||||
- "ADR 0680"
|
||||
- "ADR 0668"
|
||||
- "ADR 0656"
|
||||
- "ADR 0640"
|
||||
- "ADR 0632"
|
||||
- "ADR 0614"
|
||||
- "ADR 0593"
|
||||
- "ADR 0563"
|
||||
- "ADR 0550"
|
||||
- "ADR 0370"
|
||||
- "ADR 0349"
|
||||
- "ADR 0266"
|
||||
- "ADR 0674"
|
||||
- "ADR 0267"
|
||||
- "ADR 0605"
|
||||
- "ADR 0606"
|
||||
- "ADR 0611"
|
||||
- "ADR 0666"
|
||||
- "ADR 0664"
|
||||
- "ADR 0498"
|
||||
- "ADR 0487"
|
||||
- "ADR 0595"
|
||||
- "ADR 0596"
|
||||
---
|
||||
# Design 47, milestone H2: lead answers, continued
|
||||
|
||||
This file continues [H2-lead-answers.md](H2-lead-answers.md) from H-A-568 on, since that file passed its 60 KB bound:
|
||||
H-A-568 to H-A-587 moved here from it, and H-A-588 to H-A-593 were written here; H-A-594 on, round 2 of the review of
|
||||
H-A-568 to H-A-587 among them, are in [H2-lead-answers-3.md](H2-lead-answers-3.md). Each line names the record or the
|
||||
principle that settles it.
|
||||
|
||||
## From the review by architectural domain of H-A-534 to H-A-567 (2026-11-23 from 15:30 CET)
|
||||
|
||||
The four reviewers by architectural domain read H-A-534 to H-A-567 against the knowledge base and the principles; each
|
||||
line below writes one correction and names the answer it withdraws or amends. The H2 lines cited here as §775 to §820
|
||||
(§786, §799 and §813 among them) are in H2's milestone part, `H2-the-delivery-systems-owed-work.md` and
|
||||
`H2-stores-and-tools.md`, on hq's branch `design/47-H2-part`, not yet merged.
|
||||
|
||||
- **H-A-568 (the runs-as need is a rule of the manifest validator, never mesh-sdk's, 15:30)** 23 Nov, amends H-A-556:
|
||||
H-A-556 put "a manifest that declares `runs-as` needs `directory-contents-owner`" into mesh-sdk's
|
||||
`catalogue.ManifestNeeds` (mesh-sdk #213, merged), while the manifest validator, the indexer's, names what a manifest
|
||||
needs (ADR 0614 §4), code that judges and only some modules need is its owner module's (ADR 0593 §1), and only the
|
||||
indexer reads a manifest (the operator, 2026-11-23 about 13:40 CET, relayed by the lead). So: the rule moves into the
|
||||
manifest validator (mesh-delivery, module mesh-delivery-indexer, package `judge`), applied where the take-in writes an
|
||||
entry's `needs`, beside the words, forms and seats `catalogue.ModuleNeeds` names; `ManifestNeeds` loses its `runs-as`
|
||||
line and its test row, so mesh-sdk names only what the contract's words, forms and seats need, as before #213. The
|
||||
capability's name stays mesh-sdk's constant `ReadDirectoryContentsOwner`: more than one part reads it (the node-engine
|
||||
states it in `readsNow`, the indexer names it, the assigner compares the two), and ADR 0593 §1 keeps such names in
|
||||
mesh-sdk. mesh-sdk and mesh-delivery change in one merge call; the need is named before and after the move, so no
|
||||
order between them is needed. How it is checked: unit (manifest validator): a manifest with `runs-as` needs
|
||||
`directory-contents-owner` and one without does not; unit (mesh-sdk): `ManifestNeeds` of a manifest with `runs-as`
|
||||
names no `directory-contents-owner`. ADR 0614 §4, ADR 0593 §1; principle 9.
|
||||
- **H-A-569 (H-A-560 withdrawn: one pipeline orders the move to runs-as, and every take-in derives the manifest
|
||||
validator's own needs for every entry, 15:30)** 23 Nov: H-A-560 queued a gap of the build and delivery system to a
|
||||
later milestone and ordered this delivery's merges by hand, against design-it-as-it-should-be (a gap is built in the
|
||||
milestone that meets it, and the order between modules is the module graph's) and H-A-554 (1); with H-A-568 its
|
||||
mesh-sdk order goes too. So, withdrawing H-A-560: (1) The order of this delivery: the pull requests of the node-engine
|
||||
(`mesh-host`), the indexer (mesh-delivery), gitea's manifest (mesh-catalog) and mesh-sdk are merged in one call of the
|
||||
seat `git`'s `merge-pull`, so they are one source revision, one take-in and one pipeline (ADR 0682 §1, §2, §6;
|
||||
H §746). The seat `node-engine`'s acting rule (step `compose`, on `every`) gives every other mover an edge "B has
|
||||
acted for A's new version" from the node-engine (ADR 0666 §14; G §711), so gitea is in a later tier than the
|
||||
node-engine and the assigner writes gitea's want only once the new node-engine runs on every present placing machine
|
||||
(ADR 0682 §8; H §751). This order rests on no need: the running indexer makes the take-in with its own build (ADR 0682
|
||||
§4), whose manifest validator may not hold H-A-568's rule yet. (2) The gap is built in H2: at every take-in the
|
||||
manifest validator derives the needs of its own rules (H-A-568's runs-as rule and any later one) for every entry of
|
||||
the revision it writes, not only for the movers', from the manifest each entry names: it removes from an entry's
|
||||
`needs` every capability one of its rules names and adds those its rules derive. The needs of words, forms and seats
|
||||
stay as the module's own move computed them, since they read the templates' text, which the take-in reads only in the
|
||||
repositories a source revision moves (ADR 0632 §2). A need is no input of a fingerprint, so a changed need moves no
|
||||
module (ADR 0593 §4, read for needs). So the first take-in after a new manifest validator runs carries its rule to
|
||||
every entry. How it is checked: whole (indexer): at the take-in after a rule is added, an entry of a module that does
|
||||
not move gains the rule's need and keeps its fingerprint; H2's milestone plan names this pipeline's tiers (the
|
||||
node-engine before gitea). Design-it-as-it-should-be; ADR 0614 §4, ADR 0666 §14, ADR 0682 §4, §8; principle 7.
|
||||
- **H-A-570 (`stopping` withdrawn: a stopping tool runner takes its subscriptions down, so a call meets no responders,
|
||||
15:25)** 23 Nov, withdraws H-A-542's answer, H-A-544 and H-A-549 (1), and amends §813 (12) as H-A-369 has it:
|
||||
`stopping` was a class of transport fault only lead answers decided. ADR 0664 §1 and ADR 0668 §1 name the transport
|
||||
faults and hold no such class, the build seats' conformance kit carries none (ADR 0664 §6), mesh-sdk's `stdio` asked
|
||||
every call again, those not marked safe to repeat among them (against ADR 0668 §2), and no edge delivered the tool
|
||||
runner's new answer after the callers that read it, so a caller of the earlier mesh-sdk read `stopping` as a refusal
|
||||
and ended its kept call, the harm H-A-369 avoided. No class of its own is needed: no responders is one already
|
||||
(ADR 0664 §1, ADR 0668 §1), read so by every caller of every mesh-sdk. So: (1) Once told to stop, the tool runner
|
||||
unsubscribes from every subject it answers calls on (the bus's own drain of those subscriptions) before it finishes
|
||||
the calls in flight within `drain-bound`; a call made after the stop began meets no responders at once wherever no
|
||||
other tool runner serves it, until the new runner subscribes. A call cut at the bound stays as §813 (12) has it. (2)
|
||||
mesh-sdk's `stdio` `Ask` (Go `go/stdio.go`, TypeScript `src/stdio/index.ts`) makes its call once and asks nothing
|
||||
again itself: a call its caller marks safe to repeat is called again by the tool runner's kept call (§775) or a
|
||||
process's (`process/call.go` `CallKept`) through no responders as through every transport fault, and a call not marked
|
||||
is made once and its fault said (ADR 0668 §1, §2). (3) `stopping` goes whole: the tool runner's typed answer
|
||||
(mesh-tools), `ErrorKindStopping`, `ErrStopping` and their readers in mesh-sdk's Go and TypeScript `stdio`, in
|
||||
`busretry` and in `process/call.go`, and its reading in mesh-delivery-sdk's `PublishFault` and `sdkstep.Passing`,
|
||||
whose reading of no responders (§799, H-A-390) stays the one shared place. No insight of ADR 0664 or ADR 0668 is
|
||||
needed. (4) `ask-bound` (H-A-549 (2)) stays a setting, default 60 s: the tool runner declares it in its manifest
|
||||
beside `drain-bound`, so the node-engine composes it (H-A-370), and hands it to each bundle it starts as it hands a
|
||||
bundle its other values, where mesh-sdk's `stdio` reads it in both languages; no other module declares it. At the
|
||||
bound's end the caller's result is the fault "no answer within <bound>", a call's own deadline, which a kept call
|
||||
reads as a transport fault (ADR 0668 §1) and a build step as its run's failure (ADR 0664 §1 names no deadline for a
|
||||
step). (5) A publish made while the tool runner that serves the registry seats restarts meets no responders, so its
|
||||
build step ends its run `again` (§799; ADR 0664 §1), given again after 15 s and then 60 s (`again-delays`): their sum,
|
||||
75 s, is the bound the runner's absence at a restart must stay under (its `drain-bound` of 30 s, the 15 s it is given
|
||||
to stop its bundles, H-A-358, and its start), measured by H-A-583's live test. (6) The order: mesh-sdk, mesh-tools and
|
||||
mesh-delivery merge in one call, so one pipeline. Every module that builds against mesh-sdk's package artifacts, whose
|
||||
`calls` the tool runner's artifact `states`, has an edge from the tool runner (G §545, §605), so the tool runner is in
|
||||
an earlier tier and stops answering `stopping` before any caller loses its reading of it. How it is checked: whole
|
||||
(tool runner): a call made one second after the stop began meets no responders within a second, and a call in flight
|
||||
finishes; unit (mesh-sdk, both languages): `Ask` met by no responders asks nothing again and returns that fault; unit
|
||||
(mesh-delivery-sdk): `PublishFault` reads no responders as a transport fault; the code review finds no `stopping` left
|
||||
in mesh-sdk, mesh-tools or mesh-delivery. ADR 0664 §1, §6; ADR 0668 §1, §2; principles 3 and 7.
|
||||
- **H-A-571 (a module the head's pipeline does not carry joins that pipeline, 15:30)** 23 Nov, amends H-A-565 (2), which
|
||||
started a second delivering pipeline at the head: a delivering pipeline's key is the module graph revision it runs
|
||||
(ADR 0684 §3), and the head's pipeline holds that key. So: the runner's `start` for a module the head's pipeline does
|
||||
not carry adds the module to that pipeline as a mover while the pipeline waits or runs: its steps are asked in the
|
||||
pipeline's build order, its tier is computed with the other movers', and the pipeline's `pipeline-ended` names it
|
||||
(H §746); the step log says it was added by `start`, with the caller. Where the head's revision has no pipeline,
|
||||
`start` starts one for that module alone, keyed by that revision, as §786 does for movers when a revision moves
|
||||
nothing. Once the head's pipeline has ended, `start` refuses, naming the module's failed pipeline and `rerun`, whose
|
||||
revision the module's failed record keeps (H-A-566, H-A-572), so a failed mover is never stranded. Each call is
|
||||
written in the hand-act log, as every hand act of the runner is. How it is checked: whole (runner): `start` of a
|
||||
module the running head pipeline does not carry adds it and that pipeline's `pipeline-ended` names it; `start` after
|
||||
the head's pipeline ended refuses, naming `rerun`. ADR 0684 §3; principle 4.
|
||||
- **H-A-572 (the failed record's bound, its end and its tools, 15:30)** 23 Nov, amends H-A-566: (1) Its bound: one
|
||||
record `failed.<branch>.<module>` per module and branch (`failed.<module>` once ADR 0684 is built), held on at most
|
||||
the pins its pipeline's own record held (that pipeline's revision and its `base`, H §743, H-A-151), so at most two
|
||||
revisions per failed mover. The indexer's state `pins` keeps the records under its cap (4 MiB), and a write the full
|
||||
state refuses is said in the indexer's journal and asked again at the kept-call pace (§820). A failed record has no
|
||||
age bound; a failed mover is loud while it waits, since its `pipeline-failed` (H §770) stands until a later pipeline
|
||||
passes it. (2) Its end, beside H-A-566's: the indexer frees the record from every pin when its module leaves the
|
||||
registrations and, until ADR 0684 is built, when its branch leaves the module's registration, both heard on
|
||||
`registration-changed` (ADR 0666 §2). Once ADR 0684 is built, a change of a module's branch is a take-in of that
|
||||
branch's head for that module alone (ADR 0684 §2), whose `pipeline-started` frees the record as H-A-566 says. (3) Its
|
||||
tools: `indexer_pins` reads every pin with its records, the failed ones among them; `indexer_pin_drop` gains the
|
||||
argument `record`, which drops that one record from every pin that holds it and leaves the pins' other records, a hand
|
||||
act with its `why`, recorded through mesh-hand-acts as every call of that tool is. How it is checked: whole (indexer):
|
||||
a failed record is freed when its module leaves the registrations; `indexer_pin_drop` with `record` drops it alone and
|
||||
another record of the same pin stays. ADR 0656 §2; principles 4 and 7.
|
||||
- **H-A-573 (the files an npm package's digest leaves out are a value of the Node build module, 15:30)** 23 Nov, amends
|
||||
H-A-547 (1), which wrote `node --test`'s default test-file patterns into the indexer: a second list of what only the
|
||||
Node build module knows (principles 11 and 12; H-A-546 (1): one rule, read from that module). So: the Node build
|
||||
module (seat `node-build-node`) declares in its manifest's `config` the value `test-files`, the patterns of the files
|
||||
it takes as an npm package's tests, default the five of H-A-547 (1) (`**/*.test.*`, `**/*-test.*`, `**/*_test.*`,
|
||||
`**/test.*` and everything under a `test` directory). The indexer reads that value from the manifest of the entry that
|
||||
claims `node-build-node` in the revision it computes, and leaves out of an npm package's digest `node_modules` and the
|
||||
files the patterns match; it holds no pattern of its own. How it is checked: unit (indexer): a change to a file the
|
||||
patterns match leaves the package's digest as it was and a change to any other file changes it; the code review finds
|
||||
no test-file pattern in the indexer. Principles 11 and 12.
|
||||
- **H-A-574 (the superseded end's revision is a field of the step end's new form, 15:30)** 23 Nov, amends H-A-561, whose
|
||||
"an end that names no revision (a builder without this change) is taken as before (H-A-508)" keeps the earlier form
|
||||
for the delivery's sake (design-it-as-it-should-be; ADR 0666 §14). So: the seat `mesh-builds`' step end (`step-ended`,
|
||||
the contract's `StepEnded`) gains the field `revision`, a whole number, the module graph revision of the entry that
|
||||
supersedes, present exactly when `outcome` is `superseded` and absent otherwise; the seat's definition is regenerated
|
||||
and its form raised by one (3 on main today), with the generated contracts. The runner refuses a `superseded` end
|
||||
without `revision`, loudly, naming the step and the builder, as an end its contract does not allow, and never reads it
|
||||
as H-A-508's. The order is the module graph's: the runner's `invokes` of `seat:mesh-builds.step` is an edge "B runs a
|
||||
version that serves A" from the builder (ADR 0666 §14), so in their one pipeline the builder is in an earlier tier and
|
||||
every end the new runner hears is the new builder's. Between the two tiers the runner of the earlier form reads an end
|
||||
of the new form as it read the earlier one, since its contract reader refuses no field it does not know (as on main),
|
||||
and moves the mover out as H-A-508 has it. How it is checked: unit (runner): a superseded end without `revision` is
|
||||
refused, naming the step; unit (contracts): `revision` is read on a superseded end; H2's milestone plan names the two
|
||||
tiers. Design-it-as-it-should-be; ADR 0666 §14; principle 3.
|
||||
- **H-A-575 (who ends the token-file stand-in and the token files, and when, 15:30)** 23 Nov, amends H-A-564: its
|
||||
stand-in reads secrets from files outside the vault, against ADR 0550 §1 (every secret the mesh keeps lives in the
|
||||
vault, with three named exceptions, this not among them), and named no one who ends it. So: it ends in H-A-543's own
|
||||
change of gitea. That change removes the Go bundles' stand-in (package-registry, forge) and their line at start naming
|
||||
the source; gitea's TypeScript bundle writes no token file again and, at its first start under its own account and
|
||||
only once its vault get of `module/gitea/*` has answered, deletes every token file it kept under its state directory,
|
||||
saying once in its journal which it deleted (principle 12: gitea removes its own files). If the vault refuses
|
||||
`<machine>.gitea`, the files stay, and the recovery is a return to the earlier build, one value in the placement
|
||||
(ADR 0682 §8), whose stand-in reads them. How it is checked: whole (gitea): after a start under its own account with
|
||||
the vault answering, no token file is left under its state directory and a Go bundle reads its token from the vault
|
||||
alone; the code review finds no read of a token file left in the Go bundles. ADR 0550 §1; principles 3 and 12.
|
||||
- **H-A-576 (the catalog's checks are the manifest validator; a get without runs-as, 15:30)** 23 Nov, amends H-A-543 and
|
||||
H-A-545 (3): H-A-543's "the catalog's checks" are the manifest validator, the indexer's rules the step `validate` runs
|
||||
(ADR 0682 §5; H-A-568), and it refuses a manifest whose `invokes` names `seat:mesh-vault.own-put` and that declares no
|
||||
`runs-as`, naming the module and the verb (H-A-545 (3)). A get is not refused there: a manifest's `invokes` does not
|
||||
say which part makes a call (tools run by the tool runner, or a process under an account of its own, ADR 0680 §1), and
|
||||
claude-code names `seat:mesh-vault.get` with no `runs-as` today. Until the operator's answer to whether the manifest
|
||||
validator refuses that too, the vault's own refusal at the call is the one check of a get: it hands a value only to an
|
||||
account of its own (ADR 0349 §11, ADR 0550 §3), and the tool runner's account names every call it carries (ADR 0370
|
||||
§1), so such a get fails loudly at its first call. ADR 0550 §3, ADR 0682 §5; principle 3.
|
||||
- **H-A-577 (the revision waits are said, bounded and told apart; a passed-over end is said, 15:30)** 23 Nov, amends
|
||||
H-A-557 (3), H-A-562 and H-A-563 (2), and H-A-555 and H-A-561 for the passed-over end: (1) The builder's revision wait
|
||||
(H-A-155, H-A-156; it holds H-A-557 (3)'s new ask) is a step's wait as G-4 §234 has every one: for each entry of the
|
||||
ask it says `wait-held` and, at its end, `wait-ended` on its stream `waits` (G-17 D-10), on
|
||||
`mesh.stream.mesh-delivery-builder.event.wait-held.<module>.<fingerprint>.revision` and
|
||||
`.wait-ended.<module>.<fingerprint>.revision` (the last token keeps it apart from that key's toolchain wait, kept last
|
||||
per subject), with the wait's fields (§498, §629): `step` `build`, `on` `revision:<R>` (R the module graph revision
|
||||
the ask names), `bound` its `revision-wait-minutes` (default 2) and `clock-from` the ask's arrival. It is kept in the
|
||||
state `waits` under `<module>.<fingerprint>.revision`, deleted at its end; `wait-ended`'s `how` is `ran` when the
|
||||
picture holds R, `failed` at the bound (the ask then fails as H-A-155 has it) and `released` by `builder_release`,
|
||||
which ends it as the bound does, since a build with no version is never made (H-A-155). `builder_waits` reads it, and
|
||||
at its start the builder says `wait-held` again for every such key, as for the toolchain wait. (2) The runner's step
|
||||
held for its view (H-A-562, H-A-563 (2)) says `wait-held` and `wait-ended` on its seat (G §73) with `step` the held
|
||||
step's kind (`build` for H-A-557's re-ask), `on` `revision view` and `words` naming the revision it waits for. Its
|
||||
`bound` is five minutes, the watchman's owed progress (ADR 0666 §24; G §75), no setting of its own: past it the
|
||||
watchman raises `pipeline-stands` naming the step, cleared at the wait's end; the wait itself ends only when the view
|
||||
holds the revision (`how` `ran`, the step judged again as H-A-562 (2) says), by `runner_rerun` (`released`), or at its
|
||||
pipeline's end or cancel (`superseded`). A waiter tells it from an approval step's wait by `step` (an approval's is
|
||||
`approval`, §534) and by `on`, and the watchman times it as a wait that owes progress, never as a wait on a person.
|
||||
(3) A superseded end the runner passes over is said as an event, not only in its journal (ADR 0666 §24): the step
|
||||
asked again says `step-started` with `rerun` and the runner as the caller (G §73), and the step log names the revision
|
||||
the passed-over end named and the pipeline's own. How it is checked: whole (builder): an ask whose revision the
|
||||
picture does not hold says `wait-held` with `on` `revision:<R>` and `wait-ended` `ran` once it does; whole (runner): a
|
||||
step held for the view says both events with `on` `revision view`, and a passed-over end is followed by a
|
||||
`step-started` with `rerun`. ADR 0666 §24; principles 3 and 4.
|
||||
- **H-A-578 (what goes with `outdated` and the version floor, and what stays on the bus, 15:30)** 23 Nov, amends
|
||||
H-A-552, H-A-553 (2), H-A-558 (1) and H-A-559: (1) `floor-silent` joins the retired list of the writer that raised it,
|
||||
the builder, so one raised before is cleared at the builder's start (H-A-247 (3)), as H-A-558 (3) does for the
|
||||
indexer's `indexer-call-unanswered`. (2) A `consumes` entry that goes (H-A-558 (1), H-A-559) leaves its filter on the
|
||||
indexer's durable consumer, since the grants part never narrows a filter for a dropped entry (ADR 0640 §3). So the
|
||||
indexer acknowledges at once, with no work, each event of a subject its manifest no longer consumes, and says one
|
||||
journal line per such subject at the first one after its start, so `event-unhandled` (H-A-169) stays clear, as the
|
||||
runner's main hub acknowledges `take-in.taken` (H-A-500); the subjects it so acknowledges are those this change
|
||||
removes, listed once beside the hub's handlers. (3) A state that goes (`build-edges`) is kept data no accepted
|
||||
manifest asks for once the change is taken in, dropped by the keeper's `nats_drop` by warrant after its snapshot, and
|
||||
the heard keys that go (`branch-build.<module>.<branch>` and the others) by `nats_bucket_remove` with their prefix
|
||||
(H-A-126); each is named among the hand acts that follow H2's delivery in its milestone plan. (4) H-A-559's "the
|
||||
developer removes any further one it finds without asking" is withdrawn: it leaves the builder a choice. A further
|
||||
state, key, hearing, consume or prune that only `outdated` reads is a design question to the lead (playbook 07, step
|
||||
0b), answered in this file before it goes. (5) H-A-552 needs no order between the builder and the indexer: the
|
||||
`versions-filled` the indexer said once stays kept on its seat's stream with no age limit (G-7 §372) and the grants
|
||||
part removes no subject a manifest drops (ADR 0640 §3), so a builder of the earlier form that starts after the new
|
||||
indexer still reads it and reserves, and the new builder waits on nothing. That stream is dropped by hand only once
|
||||
the new builder runs, as kept data no accepted manifest asks for (H-A-126). How it is checked: whole (indexer): an
|
||||
event of a subject no longer consumed is acknowledged and raises no `event-unhandled`; unit (builder): a held
|
||||
`floor-silent` is cleared at start. ADR 0640 §3; principles 3 and 7.
|
||||
- **H-A-579 (the owner pass runs with the module stopped and leaves hard links; the group `docker` and `root-free`,
|
||||
15:44)** 23 Nov, amends H-A-545 (1) and (2) and H-A-550: (1) When a module's account changes (`runs-as` added,
|
||||
H-A-543), the node-engine stops the module's units, gives what lies below its directories the new owner (H-A-550,
|
||||
H-A-554 (2)), then the directories themselves, and then starts the units under the new account, so no process of the
|
||||
earlier account writes beneath a directory while it is given (principle 2). (2) An entry with more than one hard link
|
||||
is left with its owner, with one journal line naming its path and its link count: its other names may lie outside the
|
||||
directory, which the pass never crosses (H-A-550; principle 3). (3) gitea's account in the group `docker` is a way to
|
||||
root (ADR 0266 §14), but the node-engine judges ways to root only for a `user` declared `root: never` (ADR 0266 §12),
|
||||
the agent account, and `root-free` answers from that verdict (ADR 0563 §6). gitea's user declares no `root: never`, so
|
||||
no `root-free` answer changes; inside the mesh every module is trusted (principle 6). How it is checked: H-A-583's
|
||||
unit test of the pass; unit (node-engine): the module's units are stopped before the pass and started after it.
|
||||
ADR 0266 §12, §14, ADR 0563 §6; principles 2, 3 and 6.
|
||||
- **H-A-580 (an imported package's digest is read from its publisher's entry, 15:30)** 23 Nov, amends H-A-540 and
|
||||
H-A-541, which had the indexer digest a kept package by its own files when it computes an importer: ADR 0685 §6
|
||||
decides that a package's digest is read from the publishing module's entry, never from the forge's listing or a
|
||||
mapping of a name to a forge path. So: when the indexer computes a module's entry, it digests each package of that
|
||||
module's package artifacts by its files (a Go package by H-A-524's rule, an npm package by H-A-546 (1) as H-A-573
|
||||
amends it) and keeps them on that artifact of the entry as `digests`, one item `{package, digest}` per package
|
||||
(`package` its Go import path or npm name), the seat `mesh-catalog`'s definition regenerated and its form raised. An
|
||||
importer's fingerprint reads each imported package's digest from the entry that publishes it in the revision being
|
||||
computed (H-A-540's filter), so a publisher that moves in the same take-in is read at its new digests; an import no
|
||||
entry publishes is outside the mesh. The forge mapping of the `packages` state and Resolve goes in milestone H with
|
||||
ADR 0684's work, as ADR 0685 §9 builds it. How it is checked: unit (indexer): an importer's fingerprint changes when a
|
||||
file of the package it imports changes in its publisher's entry, and not when a file of another package of that
|
||||
publisher changes. ADR 0685 §6, §9; principle 7.
|
||||
- **H-A-581 (the movers beside a failed one are carried, never delivered from the failed pipeline, 15:30)** 23 Nov,
|
||||
issue 1984 note 2, amends §786: main.457 kept 91 movers at a revision of the same source (H-A-283) and failed for one
|
||||
of them, the builder's publish, and none of the 91 was delivered, the indexer's build among them, all of whose steps
|
||||
passed. A pipeline passes only when every mover's required steps passed (H §746), and a want names only a version
|
||||
whose pipeline passed (ADR 0682 §8), so no mover is delivered from a failed pipeline on its own outcome; a mover a
|
||||
re-pin kept (H-A-283, H-A-284) is a mover of that pipeline like any other. So: at a pipeline's end `failed`,
|
||||
`cancelled` or `could-not-run`, each mover whose own required steps all passed or never ran, kept movers included, is
|
||||
kept in `unfinished` (§786), and the runner adds it at once to the pipeline of the head's revision while that pipeline
|
||||
waits or runs (as H-A-571's `start` adds a module), starts one for those movers alone keyed by the head's revision
|
||||
when that revision has none (ADR 0684 §3), and otherwise adds it to the next take-in's pipeline (§786). Its steps
|
||||
whose build-input fingerprint and policy did not change are carried there, not run again (ADR 0666 §8), so that
|
||||
pipeline's pass delivers it. `runner_unfinished_place` follows the same rule at once for one key; once the head's
|
||||
pipeline has ended it refuses, naming the next take-in as what carries the mover. A mover whose own required step
|
||||
failed stays as H-A-414 and H-A-567 have it. That a module's delivery waits for the other movers of its pipeline is
|
||||
ADR 0682 §8's; the carry keeps the module the unit (principle 10) without a want from a failed pipeline. How it is
|
||||
checked: whole (runner): of a pipeline of three movers, one kept by a re-pin, one fails its unit step;
|
||||
`pipeline-ended` names the other two in `unfinished`, the head's running pipeline carries them with their passed steps
|
||||
carried, and its pass delivers them. ADR 0682 §6, §8; ADR 0666 §8; ADR 0684 §3; principles 3 and 10.
|
||||
- **H-A-582 (a pipeline's `widens` is computed against its own base revision, 15:30)** 23 Nov, issue 1984 note 2, amends
|
||||
G §71, which has the running runner compute `widens` "from the sources of the change against those of the watched
|
||||
branch": an older revision's pipeline compared with the branch's newest says "was" for a newer fingerprint that is no
|
||||
part of its change. A widening is said for what the change alters (ADR 0666 §23), and no comparison of the module
|
||||
graph names a branch (ADR 0684 §1). So: the runner computes `widens` from the sources of each mover at the pipeline's
|
||||
revision against those at the `base` that revision names (H §743, H-A-151), never against a branch's newest; a mover
|
||||
carried into another pipeline (H-A-571, H-A-581) is compared against the `base` of the revision whose take-in moved
|
||||
it. How it is checked: unit (runner): with a newer revision taken in, an older pipeline's `widens` names only what its
|
||||
own movers change against its `base`. ADR 0666 §23, ADR 0684 §1; principle 3.
|
||||
- **H-A-583 (the acceptance tests of H-A-568 to H-A-582, by level, 15:30)** 23 Nov: each a step of its module's existing
|
||||
whole test or of a live proof, never a new top-level test function (the test budget), beside each line's own check:
|
||||
(1) Live: a pipeline's package publish made while the tool runner that serves the registry seats restarts passes, its
|
||||
build step ending a run `again` on no responders and passing at its second or third run; the runner's absence, from
|
||||
its stop to its first answer, is measured and stays under the 75 s of `again-delays`, and nothing says `stopping`
|
||||
(H-A-570). (2) Integration (the runner whole, against the real bus): a superseded end naming a revision older than the
|
||||
pipeline's, heard after an end naming a newer one, is passed over, its step asked again with `step-started` and
|
||||
`rerun`, and the mover stays; a superseded end without `revision` is refused (H-A-555, H-A-557, H-A-561, H-A-563,
|
||||
H-A-574, H-A-577 (3)). (3) Live: a mover that failed for a cause outside itself is run again with `rerun` after a
|
||||
newer take-in that did not move it, passes and is wanted, and `indexer_pins` then shows its failed record freed; the
|
||||
movers of that failed pipeline whose own steps passed are carried by the head's pipeline and wanted (H-A-565 (1),
|
||||
H-A-566, H-A-571, H-A-572, H-A-581). (4) Unit (the node-engine's `applyDirectory`): a directory whose declared owner
|
||||
changes, holding a nested resource with an owner of its own, an entry of a user other than the previous owner and a
|
||||
file with two hard links, keeps those three and what lies below the first two as they were, and gives every other
|
||||
entry the new owner, the contents before the directory (H-A-550, H-A-554 (2), H-A-579). Principle 3.
|
||||
- **H-A-584 (a get without runs-as is not refused by the manifest validator, 15:33)** 23 Nov, the lead's answer of
|
||||
15:31 CET to H-A-576's open question, amends H-A-576: the manifest validator does not refuse a manifest whose
|
||||
`invokes` names `seat:mesh-vault.get` and that declares no `runs-as`; the vault's refusal at the call, which hands a
|
||||
value only to an account of its own (ADR 0349 §11, ADR 0550 §3), is the one check of such a get, and it is loud at the
|
||||
first call (principle 3). Holding claude-code's deliveries for it would block work no principle asks to block
|
||||
(principle 7); claude-code's move to an account of its own stays issue 569's. The refusal of own-put without
|
||||
`runs-as` (H-A-545 (3), H-A-576) stands. How it is checked: unit (manifest validator): a manifest naming
|
||||
`seat:mesh-vault.get` without `runs-as` is accepted, one naming `seat:mesh-vault.own-put` without it is refused.
|
||||
Principles 3 and 7.
|
||||
- **H-A-585 (the gate applies a `running` heard after its record ended to that record, 15:33)** 23 Nov, the lead's
|
||||
answer of 15:31 CET: mesh-sdk's `stdio` hands each event to the module on its own goroutine, and the gate hears the
|
||||
assigner's `wanted` and the node-engine seat's `running` on two consumers that no ordering joins, so a record can end
|
||||
on `wanted` before the last `running` of its movers is applied, and that delivery's time is lost (issue 721, note 11).
|
||||
So: the gate (the holder of `mesh-delivery`) applies a `running` that names a mover of a record already ended to that
|
||||
ended record: it marks the mover running on that machine (G §144), and when that `running` is later than the
|
||||
record's `ended` it writes `ended` and `delivery-time` again from it (H2 §810, H-A-394 (3)), keeping the record's
|
||||
`class` as it was read when the record opened; it says `record-ended` no second time, and writes one journal line
|
||||
naming the record, the module, the machine and both times (principle 3: nothing fails silently). `gate_times` and the
|
||||
self-check's probe read the written time at their next read. Events of one consumer are not put in order by the
|
||||
runtime for this: it would not join the two consumers (principle 7). How it is checked: whole (gate): a record whose
|
||||
`wanted` is applied before its last mover's `running` ends, then takes that `running` with its later `ended` and
|
||||
`delivery-time` and a journal line. Principles 3 and 7.
|
||||
- **H-A-586 (the window before a new rule's needs reach every entry is accepted, 15:33)** 23 Nov, the lead's answer of
|
||||
15:31 CET, amends H-A-569 (2): an entry the take-in wrote with an older manifest validator lacks a newer rule's need
|
||||
until the next take-in, which derives it (H-A-569 (2)); a machine away that returns in that window applies its own
|
||||
node-engine want last (H §771), so the earlier node-engine may apply such a module's want there first. The window is
|
||||
accepted, not closed: the machines present are ordered by the pipeline's tiers (H-A-569 (1)), and a rule change
|
||||
meeting a machine away within it is rare and loud at that module's health (the instruction rules-are-weighed).
|
||||
Nothing is built for it. Principle 7.
|
||||
- **H-A-587 (a live consumer's filter is narrowed by a tool of the bus module, queued, 15:33)** 23 Nov, the lead's
|
||||
answer of 15:31 CET, amends H-A-578 (2): narrowing a filter for a dropped `consumes` entry is a hand act (ADR 0640
|
||||
§3), and every recovery has a tool (principle 4), while `nats_consumer_remove` refuses a durable of a module of an
|
||||
accepted manifest (H-A-127, H-A-128). So the bus module (the holder of `mesh-broker`) gets a tool that narrows one
|
||||
live consumer's filter to what its module's manifest consumes, a hand act with its `why`; it is queued on issue 329 and
|
||||
not built in this milestone. Until it exists, the indexer's handlers that acknowledge with no work the subjects it no
|
||||
longer consumes (H-A-578 (2)) stay. Principle 4; ADR 0640 §3.
|
||||
|
||||
## Partly published versions (issue 1984 note 3, 2026-11-23 from 15:50 CET)
|
||||
|
||||
Issue 1984 note 3: a build that publishes some of its artifacts under its reserved version and then fails keeps that
|
||||
version when it is built again (H-A-225; H §755), packs new digests and has them refused by the registries as held at
|
||||
another digest: 214 refused publishes over 17 versions of 10 modules on 23 Nov, and main.457's 91 movers stranded by
|
||||
one of them, mesh-delivery-builder's 0.1.216. The lines below say how such a version is completed, when a build again
|
||||
takes a new number, how every build module is held to one digest per source, the tool that recovers today's versions
|
||||
and how each is checked.
|
||||
|
||||
- **H-A-588 (a partly published version is completed from what a store keeps, else built again under its own number,
|
||||
15:52)** 23 Nov, issue 1984 note 3; amends G §588 and H §755. (1) A reserved version V of a fingerprint F is partly
|
||||
published when a registry seat holds at least one artifact of the module at V and not all of them, as each seat's
|
||||
`versions` answers it (ADR 0605 §2). `version-unreleased` (G §369) names it, with the artifacts held and those
|
||||
missing, whether the build that reserved V ended done or failed. (2) When every missing artifact's digest is on the
|
||||
reservation and a store keeps its bytes (the holder's own, or the artifact store by digest, A-417), V is completed
|
||||
by the builder's publish again: the stored artifacts are sent by their digests under V and nothing is built
|
||||
(ADR 0674 §1; G §588, A-457). This path is unchanged. (3) When a missing artifact's bytes are kept by no store, V is
|
||||
completed by building F again under V, never by publishing from a copy. That is the case of a build that ended
|
||||
failed, whose packed files leave its node with the failed key (ADR 0498 §2); of a package, whose bytes no store but
|
||||
its registry keeps (A-490); and of a publish again refused `not stored` (A-417). The build again takes F's standing
|
||||
reservation (ADR 0606 §1: a fingerprint keeps its number; H-A-225) unless H-A-590 withdraws it. The build module
|
||||
builds the module whole, as every build ask has it. Each artifact a registry already holds at V for F is answered
|
||||
with the held version and digest (H-A-589), and a reproducible build gives it that digest anyway (H-A-591); the
|
||||
missing ones are stored, and the catalog then says `version-released` (G §349). G §588's "its build key is built
|
||||
again by `builder_build_again`, which reserves anew" reads "under its standing reservation, or at the next free
|
||||
number by H-A-590". (4) Before a build module is asked for F again (by the runner's build step, `runner_rerun`,
|
||||
`builder_build_again` or the builder's start pass), the builder reads the registries' record of the module's
|
||||
artifacts at V, the read H-A-275 makes. It writes on the reservation the held digest of each artifact a registry
|
||||
holds at V for F and marks it published, as H-A-274 marks one held at the built digest; the marking says
|
||||
`package-published` of it once, as every marking does (ADR 0666 §15). So the artifacts a failed build published are
|
||||
on its reservation, though a build records its digests only at its end (A-415, A-490j). In the builder
|
||||
(mesh-delivery). How it is checked: H-A-593 (1) and (5). ADR 0674 §1, ADR 0606 §1, ADR 0498 §2; principles 3 and 7.
|
||||
- **H-A-589 (a rebuild of a fingerprint a registry holds is answered with the held version; each holder keeps the
|
||||
fingerprint of what it holds, 15:55)** 23 Nov, issue 1984 note 3; amends H-A-393, H-A-474 and A-490j for the rebuild
|
||||
of a held fingerprint, which ADR 0605 §4 answers and they refused: "a rebuild of a fingerprint the seat already
|
||||
holds answers the held version and stores nothing". (1) The rule holds for every holder of the four registry seats:
|
||||
the distribution module for `container-image-registry` and `oci-artifact-registry`, and the gitea module's Go bundle
|
||||
for `go-package-registry` and `npm-package-registry` (ADR 0605 §1). A holder may hold an artifact's name at V at
|
||||
digest D and be given a `publish` that names V with another digest and the fingerprint the holder keeps for that
|
||||
name and V. It then asks `reserved` as it does for every publish (G §381), naming D. When the answer holds V
|
||||
reserved or released for the module, the holder says `published` with D and the publish's name, version, kind, tag,
|
||||
fingerprint and commit. It stores nothing, drops the transfer and its parts (ADR 0611 §1), and writes one journal
|
||||
line naming the name, V, both digests and the fingerprint. When it keeps another fingerprint for V, or none, it
|
||||
refuses and names both digests and both fingerprints (H-A-393; ADR 0605 §4: "a held version offered with other
|
||||
bytes"). The same digest is answered as held (H-A-474). (2) The fingerprint it keeps: each holder keeps a state of
|
||||
its own, `fingerprints` (the template `state`, ADR 0595, reached by the holder alone, ADR 0596 §2). It holds one key
|
||||
per name and version, `<name>.<version>`, each token escaped as a key's name is (G §73), with the digest and the
|
||||
fingerprint the publish named. The holder writes the key when it stores the version and deletes it when it says
|
||||
`removed`. A key is about 0.3 KiB, and the state is capped at 16 MiB, about 50,000 versions held. Past 80 % the
|
||||
holder writes a finding, cleared below; at the cap it refuses a new publish with `refused` naming the cap, as its
|
||||
incoming store does (design 51). A version stored before this change has no key. (3) The seats' verb `versions`
|
||||
answers each version's `fingerprint` beside its digest, absent where none is kept, and is the read of that state.
|
||||
The four seats' definitions in mesh-delivery-contracts gain the field; they are regenerated and each form is raised
|
||||
by one. (4) A build module whose publish is answered `published` with another digest than it built names, in its
|
||||
step result, the digest the seat answered for that artifact (ADR 0605 §9: a done key names the reference its seat
|
||||
answered), and writes both digests in its step log. mesh-delivery-sdk's shared publish does it for every build
|
||||
module. So the builder records the held digest, and A-490j's "version taken" is not met by such a rebuild. (5) The
|
||||
cases every registry seat holder runs, mesh-delivery-sdk's `publishconformance` (A-490a), gain the three cases of
|
||||
(1), and each holder's tests run them for every seat it fills. (6) The order is the module graph's: the builder's
|
||||
`invokes` of the seats' `versions` gives an edge "B runs a version that serves A" from each holder (ADR 0666 §14).
|
||||
So the holders are in an earlier tier than the builder of H-A-590, and no such builder reads a holder that keeps no
|
||||
fingerprint yet. How it is checked: H-A-593 (2) and (4). ADR 0605 §2, §4, §9; ADR 0611 §1; principles 2 and 3.
|
||||
- **H-A-590 (a build again keeps its number unless a registry holds that number for another build; then it takes the
|
||||
next free number, 15:58)** 23 Nov, issue 1984 note 3; amends H-A-225 and H §755, and widens H-A-275 and H-A-279 from
|
||||
a done build to every build again. (1) A build again of F takes F's standing reservation V (H-A-225; ADR 0606 §1),
|
||||
except when a registry holds an artifact of the module at V for another fingerprint or with none kept (H-A-589 (3)).
|
||||
V is then held elsewhere. The builder withdraws V, a gap kept in the key's withdrawn numbers (H-A-226). It raises
|
||||
`version-held-elsewhere` (scope module), naming the artifact, the seat, both digests and the fingerprint V is held
|
||||
for when one is kept (H-A-279). Then it reserves the next number no registry holds (H-A-275), for a build that ended
|
||||
failed as for a done one. The reserver (`versions.Reserver.Reserve`) makes this check before it answers a standing
|
||||
reservation, from the read of the registries it already makes for the held numbers. `reservations.movedElsewhere`
|
||||
stays the done build's path from its publish item and makes the same withdrawal. A read that does not answer keeps
|
||||
the standing reservation and is said in the builder's journal, as the reserve's read is said today; the next ask
|
||||
reads again. (2) A refusal for other bytes is never asked again as it stands (ADR 0605 §4: "a version refused for
|
||||
other bytes is not published again"). The builder's publish item ends at once at such a refusal and spends none of
|
||||
its `publish-tries` (A-457a); (1) follows at the next build of F. A build step whose run met it ends failed at its
|
||||
first run and names it (ADR 0664 §2: it is no transport fault). (3) Bound: one withdrawal per number held elsewhere.
|
||||
The next number is one no registry held when it was reserved, so a fingerprint meets such a refusal at most once per
|
||||
held number. (4) So a build again of the same fingerprint takes a new number only for a number another build holds,
|
||||
never for its own published artifacts (H-A-589). In the builder (mesh-delivery). How it is checked: H-A-593 (1) and
|
||||
(5). ADR 0605 §4, ADR 0606 §1; principles 2 and 3.
|
||||
- **H-A-591 (every build module builds one source at one version to one digest, in any folder and at any time; the kit
|
||||
holds it, 16:01)** 23 Nov, issue 1984 note 3: each build again of mesh-delivery-builder's fingerprint at 0.1.216
|
||||
packed its program at a new digest. ADR 0267 §6 decides it: an unchanged build source gives an identical artifact,
|
||||
for every kind, and nothing in it varies with the commit, the clock or the path it was built at. Issue 721's report
|
||||
asks the same of the build ("build reproducibly (-trimpath, -buildvcs=false, no commit or time stamped into the
|
||||
binary)"), and its triage named reproducible builds as needing a design; these lines are that design. The version is
|
||||
an input of the build (G §370), so one source at one version gives one digest. (1) Go (mesh-build-go) builds with
|
||||
`-trimpath` and `-buildvcs=false`, and no `.git` is in what the build sees (ADR 0267 §6); no commit and no time is
|
||||
stamped into the program, its version alone (G §370). No path of the build's own workspace is in any file it writes
|
||||
into the tree it compiles: a `go.mod` or `go.work` line the build writes, a `replace` into the workspace among them,
|
||||
names its directory relative to the file that holds it. Nothing in the program's build settings varies per ask.
|
||||
mesh-build-go keeps a workspace per ask. (2) A bundle or an archive the build module packs itself has its entries in
|
||||
byte order of their paths, each entry's time the Unix epoch, its owner and group 0 and its mode as in the tree. A Go
|
||||
module zip and an npm package are packed in their toolchain's own form, which the case of (4) holds as it holds the
|
||||
rest. (3) An image (mesh-build-image) has its creation time and the time of every file in its layers set to the Unix
|
||||
epoch (buildah's `--timestamp`), and no label or annotation the module adds names a commit, a folder, a time or a
|
||||
node; the version's tag and label (G §370) stay. Issue 721's "a commit belongs in an image label" does not hold
|
||||
against ADR 0267 §6 (nothing varies with the commit): a build's commit is read from its build record, never from the
|
||||
image. A Dockerfile's own step that fetches over the network may still give other bytes (ADR 0487 §6, §8), and
|
||||
H-A-589 answers that rebuild with the held version. (4) The build modules' conformance kit
|
||||
(`sdk/steprun/conformance` in mesh-delivery-sdk, G §680) gains the case `reproducible`. It builds the kit's fixture
|
||||
of each kind the module builds twice, in two workspace folders of different paths and lengths and at least a second
|
||||
apart, and requires each artifact's digest to be equal; when they differ it names the artifact and both digests. The
|
||||
image fixture has no step that fetches. Every build module's tests run it, and mesh-catalog's failure-kit check
|
||||
(`checks/failurekit`, A-489b; ADR 0664 §6) refuses a build module whose tests do not. (5) Today's cause in
|
||||
mesh-build-go is a guess (issue 1984 note 3: the workspace per ask and the `replace` lines written into it); its
|
||||
developer runs the case first and fixes what it names. In mesh-delivery-sdk (the case) and mesh-catalog (the build
|
||||
modules and the check). How it is checked: H-A-593 (3) and (6). ADR 0267 §6, ADR 0664 §6; issue 721; principle 3.
|
||||
- **H-A-592 (the drop of a reservation names its version and says what it forgets; today's versions, 16:04)** 23 Nov,
|
||||
issue 1984 note 3; amends G §369's `builder_reserved_drop` (ADR 0666 §25: a tool for every act). (1)
|
||||
`builder_reserved_drop` (class `act`, written in the hand-act log) takes `module`, `series`, `version` and `why`.
|
||||
`version` is new and required: the tool refuses when the key holds another version and names the one that stands, so
|
||||
a reservation a newer build took after it was read is never dropped. It also refuses while the reservation's
|
||||
fingerprint is building (its build key, which `builder_stuck` reads), until that build ends or its ask is dropped
|
||||
(ADR 0664 §4), so no late publish lands on a number given again. (2) It forgets the key whole: the version, its
|
||||
fingerprint, the artifacts' recorded digests and its withdrawn numbers (H-A-226). It also forgets the version's
|
||||
publish item (A-456b) and its `version-unreleased`, which it clears. `reserved` then refuses V ("no reservation of
|
||||
version V", H-A-387), so a late publish at V is refused. It keeps what the registries hold at V, a gap never
|
||||
released (H-A-226) that the series' next reserve skips (H-A-275) and only a registry's own removal deletes. It keeps
|
||||
the builder's record of releases (A-456b) too. Its answer and its hand-act record name what it forgot: the version,
|
||||
the fingerprint, the artifacts the registries hold at V and the withdrawn numbers. (3) No narrower tool is added:
|
||||
the drop that names its version is the narrow form, and a withdrawal is H-A-590's by itself. (4) Today's 17 versions
|
||||
of 10 modules (issue 1984 note 3, mesh-delivery-builder's 0.1.216 among them): before H-A-588 to H-A-591 are
|
||||
delivered, each is recovered by `builder_reserved_drop` of its key as the tool stands (module and series), with this
|
||||
answer as its `why`, then by `runner_rerun` of its failed build step. The reserve then takes the next number no
|
||||
registry holds and builds the fingerprint afresh. Once those lines are delivered, no hand act is needed: what the
|
||||
registries hold of those versions keeps no fingerprint (H-A-589 (2)), so the next build of each withdraws its
|
||||
version by H-A-590 and takes the next free number. In the builder (mesh-delivery). How it is checked: H-A-593 (5)
|
||||
and (6). ADR 0666 §25; principle 4.
|
||||
- **H-A-593 (the acceptance tests of H-A-588 to H-A-592, by level, 16:06)** 23 Nov: each is a step of its module's
|
||||
existing whole test, a row of an existing table or a case of a kit, never a new top-level test function (the test
|
||||
budget), as H-A-583 has it. (1) Unit (the builder's reserver, a table): a standing V of F with an artifact held at V
|
||||
for F is kept, and the held digest is written on it; with an artifact held at V for another fingerprint, or held
|
||||
with none kept, V is withdrawn, the next number no registry holds is reserved and `version-held-elsewhere` names
|
||||
both digests; a registry read that does not answer keeps V and is said (H-A-588 (4), H-A-590 (1)). (2) Unit
|
||||
(`publishconformance`, run by distribution's and gitea's tests for each seat they fill): a publish at a held V with
|
||||
another digest and the kept fingerprint is answered `published` with the held digest, and nothing is stored; with
|
||||
another fingerprint, or none kept, it is refused naming both digests and both fingerprints; the same digest is
|
||||
answered as held; `versions` answers the kept fingerprint (H-A-589 (1) to (3)). (3) Unit, or integration where the
|
||||
kind's tool must run (mesh-build-image's buildah): the kit's `reproducible` case in each build module's tests gives
|
||||
one digest per artifact from two folders; the failure-kit check refuses a build module fixture whose tests do not
|
||||
run it (H-A-591). (4) Unit (mesh-delivery-sdk's shared publish): a publish answered with another digest names the
|
||||
answered digest in the step result and both digests in the step log (H-A-589 (4)). (5) Whole (the builder, against
|
||||
the real bus and a fake registry holder): a build of F publishes two of three artifacts at V and fails on the third.
|
||||
Built again, the two are answered with their held digests, the third is stored and V is released, with no refusal
|
||||
and no new number. The same with the two held and no fingerprint kept withdraws V, builds and releases the next
|
||||
number, and clears `version-held-elsewhere` at that release. A refusal for other bytes ends the publish item at once
|
||||
with its tries unspent (H-A-588, H-A-590). Unit (the builder's tools): `builder_reserved_drop` naming another
|
||||
version refuses and names the standing one, and it refuses while the fingerprint builds; naming its version, it
|
||||
removes the key, the publish item and the finding, and the next reserve takes the next free number (H-A-592). (6)
|
||||
Live, after delivery: the next build of each fingerprint of today's 17 versions ends released at the next free
|
||||
number, after at most one withdrawal and no refusal. Over the next day no holder refuses a publish for other bytes
|
||||
twice at one version, and no H-A-589 journal line names a Go program, a bundle, an archive or a package (H-A-591),
|
||||
read from the holders' `refused` events and journals. Principle 3.
|
||||
|
||||
H-A-594 and every later answer are in [H2-lead-answers-3.md](H2-lead-answers-3.md).
|
||||
@@ -1,548 +0,0 @@
|
||||
---
|
||||
layer: to-be
|
||||
status: in-progress
|
||||
design: 47
|
||||
milestone: H
|
||||
updated: 2026-11-23
|
||||
decisions:
|
||||
- "ADR 0593"
|
||||
- "ADR 0686"
|
||||
- "ADR 0618"
|
||||
- "ADR 0668"
|
||||
- "ADR 0656"
|
||||
- "ADR 0606"
|
||||
- "ADR 0605"
|
||||
- "ADR 0578"
|
||||
- "ADR 0283"
|
||||
- "ADR 0684"
|
||||
- "ADR 0682"
|
||||
- "ADR 0674"
|
||||
- "ADR 0666"
|
||||
- "ADR 0664"
|
||||
- "ADR 0640"
|
||||
- "ADR 0603"
|
||||
- "ADR 0550"
|
||||
- "ADR 0596"
|
||||
---
|
||||
# Design 47, milestone H2: lead answers, continued again
|
||||
|
||||
This file continues [H2-lead-answers-2.md](H2-lead-answers-2.md) from H-A-594 on, since that file passed its 60 KB
|
||||
bound: it opens with round 2 of the review by architectural domain of H-A-568 to H-A-587, and every later answer is
|
||||
written here. Each line names the record or the principle that settles it.
|
||||
|
||||
## Round 2 of the review by architectural domain of H-A-568 to H-A-587 (2026-11-23 from 15:56 CET)
|
||||
|
||||
All four reviewers by architectural domain did not approve H-A-568 to H-A-587 in their second round; the lines below
|
||||
write each of their findings as an amendment of the answer it corrects, citing the record or the principle that settles
|
||||
it.
|
||||
|
||||
- **H-A-594 (the movers a failed pipeline leaves are carried in closed groups, reopening it when the head's pipeline has
|
||||
ended, 15:56)** 23 Nov, round 2 of the review by architectural domain of H-A-568 to H-A-587 (all four reviewers),
|
||||
amends H-A-571, H-A-581 and §786: (1) **The head's revision** is the newest module graph revision whose
|
||||
`take-in.taken` the runner has handled. A take-in whose pipeline key the runner finds held already (by a pipeline it
|
||||
keyed by that revision for carried movers) adds its entries to that pipeline as movers (H §743, §746; ADR 0684 §3).
|
||||
(2) **What is carried together.** At a pipeline's end `failed`, `cancelled` or `could-not-run`, its unfinished movers
|
||||
(§786: own required steps all passed or never ran) are carried only in groups closed under the pipeline's delivery
|
||||
edges: a mover goes only together with every mover it has an edge from in that pipeline (H §746), since the order
|
||||
between movers exists only inside one pipeline (ADR 0682 §8, §9; ADR 0666 §14). A mover with an edge, directly or
|
||||
through others, from a mover that failed or could not run (each counted as failed, H-A-566), or that waits on such a
|
||||
mover's publish, is not carried: it stays in `unfinished`, tied to that mover, and goes on with it when it passes (by
|
||||
`rerun`, in its reopened pipeline) or in the pipeline of the newer fingerprint that moves it. A predecessor a newer
|
||||
revision moved counts as carried by that revision's pipeline. (3) **Where a group goes.** It is added to the head's
|
||||
pipeline while that pipeline waits or runs; when the head's revision has no pipeline, the runner starts one keyed by
|
||||
it; when the head's pipeline has ended, the runner reopens the failed pipeline for the group under that pipeline's own
|
||||
key and revision (ADR 0684 §3: an unfinished pipeline keeps its pipeline's revision; G-24 §727: a step asked again
|
||||
reopens its pipeline). Its passed steps are carried, not run again (ADR 0666 §8), and the reopened pipeline says
|
||||
`pipeline-ended` again with a higher end count, the end from which alone the assigner writes wants (G-24 §727). No
|
||||
mover waits for an unrelated take-in. `start` (H-A-571), `runner_unfinished_place` (one key, with `why`) and the carry
|
||||
at a pipeline's end follow this one rule: once the head's pipeline has ended they reopen, never refuse; `start` of a
|
||||
module whose own step failed reopens its pipeline as `rerun` does. (4) **What is said.** Each mover added to a
|
||||
pipeline is said by the runner's new event `mover-added`, on that pipeline's subject as `pipeline-started` is
|
||||
(H §746), carrying `pipeline`, `revision`, `module`, `fingerprint` and either `from` (the pipeline it came from) or
|
||||
`caller` (`start`'s caller, as the runtime proved it), declared in the seat `mesh-pipeline-runner`'s definition under
|
||||
its events family (§821), the definition regenerated and its form raised. The failed pipeline's `unfinished` value of
|
||||
a mover carried elsewhere gains `carried-by`, the pipeline that carries it, and the mover leaves that failed
|
||||
pipeline's movers, so none of its later ends names it. The carrying pipeline writes the mover's want at its passed
|
||||
`pipeline-ended` (H §750, §751) and the runner deletes its `unfinished` key then; when the carrying pipeline ends
|
||||
otherwise, the key stays, `pipeline` naming that pipeline and `carried-by` cleared. The carry skips a key whose
|
||||
`carried-by` pipeline waits or runs. (5) **The keys left today.** The runner of this change carries, at its start,
|
||||
every key of `unfinished` whose `carried-by` pipeline neither waits nor runs, by (2) and (3), as at a pipeline's end,
|
||||
among them the keys, about 110, that pipelines main.454 to main.493 left. H2's milestone plan names that start as the
|
||||
step after the runner's delivery, read with `runner_unfinished` before and after. How it is checked: whole (runner,
|
||||
with a stub build seat): of a pipeline whose node-engine fails and whose gitea passes, gitea stays in `unfinished`
|
||||
until the node-engine passes, and then both are wanted; a group joins a running head pipeline, said by `mover-added`
|
||||
with `from`; with the head's pipeline ended, the failed pipeline reopens under its key and says `pipeline-ended` with
|
||||
a higher end count; a take-in finding its key held adds its entries there; a key whose `carried-by` pipeline runs is
|
||||
skipped. ADR 0682 §8, §9; ADR 0684 §3; ADR 0666 §8, §14; principles 3, 4 and 10.
|
||||
- **H-A-595 (a failed record pins the revision its mover's entry comes from; the first `widens` is kept, 15:56)** 23
|
||||
Nov, round 2, amends H-A-566 and H-A-572 (1): the record `failed.<branch>.<module>` is written for each mover that did
|
||||
not pass at a pipeline's end `failed`, `cancelled` or `could-not-run`, not at `failed` alone, and pins the revision
|
||||
the mover's entry comes from (its kept revision, H-A-285, else the pipeline's own) and that revision's `base`
|
||||
(H-A-151), still at most two revisions per record. The `unfinished` value gains `widens`, the mover's part of `widens`
|
||||
as the first pipeline that moved it computed it (H-A-582); a carrying or reopened pipeline says it in its
|
||||
`pipeline-ended` from that value and never computes it again. How it is checked: whole (indexer): a kept mover's
|
||||
record pins its kept revision and that revision's `base`, at a `cancelled` end as at a `failed` one; whole (runner): a
|
||||
carried mover's `widens` equals its first pipeline's. ADR 0666 §23; principle 3.
|
||||
- **H-A-596 (the tool runner's build that answers `stopping` is never wanted, 15:56)** 23 Nov, round 2, amends H-A-570
|
||||
(6): done at 15:47 CET by the lead: the key `main.node-tools` of the runner's `unfinished` was dropped with
|
||||
`runner_unfinished_drop`, because its fingerprint 3b09a323 carries the tool runner's `stopping` answer, which H-A-570
|
||||
withdraws; no carry may bring it back. How it is checked: live, after H2's delivery: no want of `node-tools` on any
|
||||
machine names the fingerprint 3b09a323, read through the seat `mesh-wants`. Principle 3.
|
||||
- **H-A-597 (a late `running` moves a record's time only from a machine present at its end, 15:56)** 23 Nov, round 2,
|
||||
amends H-A-585: the gate applies only the first `running` of a mover's version from each machine the record counted
|
||||
present at its end; that `running`, when later than `ended`, writes `ended` and `delivery-time` again. A `running`
|
||||
from a machine that was away at the end (a machine back, ADR 0603 §7) or a repeated one marks the mover's entry
|
||||
(G §144) and leaves `ended` and `delivery-time` as they are. When the time moves, the gate says `record-ended` again
|
||||
with `ends`, its end count, one higher (as `pipeline-ended`'s end count, G-24 §727), so the self-check's probe and the
|
||||
status view hear the moved time as an event. This replaces the rule for a machine back in the gate's held commit
|
||||
fa345c83. How it is checked: whole (gate): a late `running` from a present machine moves the time and says
|
||||
`record-ended` with `ends` 2; one from a machine that was away, and a second one from the same machine, move nothing.
|
||||
Principle 3.
|
||||
- **H-A-598 (an npm package's test-file patterns are a setting of the indexer, 15:56)** 23 Nov, round 2, amends H-A-573:
|
||||
the patterns are used by the indexer's digest rule alone, so they are the indexer's setting `npm-test-files`, a list
|
||||
of patterns with the default of H-A-573 (`**/*.test.*`, `**/*-test.*`, `**/*_test.*`, `**/test.*` and everything under
|
||||
a `test` directory), declared in the indexer's manifest and read by its settings reader (H-A-370); the Node build
|
||||
module declares nothing for it and the indexer reads no other module's manifest for it. How it is checked: unit
|
||||
(indexer): with the setting given one pattern, a file it matches leaves the digest unchanged and another file changes
|
||||
it; the code review finds no pattern in the indexer's code. Principles 7 and 11.
|
||||
- **H-A-599 (the step held for the runner's view is bounded by `stalled-bound` and stays running, 15:56)** 23 Nov, round
|
||||
2, amends H-A-577 (2): the held step's `wait-held` carries as `bound` the runner's setting `stalled-bound` (§790,
|
||||
default 5 minutes) and as `clock-from` the time it was held. The held step keeps the outcome `running`, and the runner
|
||||
says no `step-started` when it holds it, so the watchman raises `pipeline-stands` once that bound has passed from
|
||||
`clock-from`, also after a restart of its own, since it seeds its open waits from the runner's `stands` (G §75), which
|
||||
lists the held step. The wait ends when the view holds that revision or a newer one (`how` `ran`, the step judged
|
||||
again as H-A-562 (2) says), when the catalog answers that revision gone (`how` `failed`: the pipeline ends failed
|
||||
naming "revision <R> gone", as H-A-496 has it for a kept revision), by `runner_rerun` (`released`), or at its
|
||||
pipeline's end or cancel (`superseded`). How it is checked: whole (runner and watchman): with `stalled-bound` at one
|
||||
minute, a held step raises `pipeline-stands` after one minute, again after the watchman restarts, and ends `ran` when
|
||||
the view takes the revision in. ADR 0666 §24; principles 3 and 11.
|
||||
- **H-A-600 (the bus module's tool that narrows a live consumer's filter is built in H2, 15:56)** 23 Nov, round 2,
|
||||
amends H-A-587 and replaces the lead's answer to its question: a hand act with no tool is the second of its kind after
|
||||
H-A-500 (the instruction tools-are-how-a-module-is-spoken-to). So the bus module (the holder of `mesh-broker`) gains
|
||||
in H2 the tool `nats_consumer_narrow`: given a stream, a durable consumer, `remove` (the filter subjects to remove)
|
||||
and `why`, it removes those filters by the consumer's create-or-update call (ADR 0640 §2's call), keeping its other
|
||||
settings and its delivery position; it refuses to remove every filter of a consumer and a subject the consumer does
|
||||
not filter, and is a hand act recorded through mesh-hand-acts before it is asked (ADR 0640 §3). The indexer's handlers
|
||||
that acknowledge with no work the subjects it no longer consumes (H-A-578 (2)) go in the indexer's first change after
|
||||
that tool has narrowed its consumer; the narrowing is named among the hand acts after H2's delivery in its milestone
|
||||
plan. How it is checked: whole (bus module): a narrowed consumer keeps its delivery position and is delivered no
|
||||
message of a removed subject; a call removing every filter is refused. ADR 0640 §2, §3; principle 4.
|
||||
- **H-A-601 (a superseded end without its revision ends the step could-not-run, 15:56)** 23 Nov, round 2, amends
|
||||
H-A-574: a `superseded` end without `revision` is not refused but ends the step `could-not-run`, naming the builder
|
||||
and "a superseded end without its revision", said in the runner's `step-ended` as every end is; `rerun` asks it again.
|
||||
How it is checked: unit (runner): such an end ends the step `could-not-run` with those words, and a `rerun` asks the
|
||||
step again. Principles 3 and 4.
|
||||
- **H-A-602 (a token file goes only once the vault holds its token and the forge revoked it; the pass back, 15:56)** 23
|
||||
Nov, round 2, amends H-A-575 and H-A-579 (1): gitea's TypeScript bundle deletes a token file only once this start's
|
||||
own-put of that account's token has answered and the token the file holds has been deleted at the forge; with an empty
|
||||
vault a refused own-put leaves the files and their tokens as they are. A return to the earlier build changes the
|
||||
declared owner back, and the node-engine runs the pass of H-A-579 (1) the other way by the same rules: the units
|
||||
stopped, what lies below the directories given to the earlier account (H-A-550's rules, the earlier account now the
|
||||
one given to), the directories, the units started; once the files are deleted the earlier build's stand-in has none to
|
||||
read, so that return publishes only until then. H-A-583 (4) gains the pass back. How it is checked: whole (gitea):
|
||||
with the vault refusing the own-put, both files stay; unit (node-engine): the directory of H-A-583 (4) given back to
|
||||
the earlier account keeps the same three entries as they were. ADR 0550 §1; principles 2 and 3.
|
||||
- **H-A-603 (`again-delays` span the tool runner's restart, 15:56)** 23 Nov, round 2, amends H-A-570 (5) and §799's
|
||||
default: the tool runner's absence at a restart is at most its `drain-bound` (30 s), the 15 s it is given to stop its
|
||||
bundles (H-A-358) and its start, which §775 counts at 20 to 50 s, so 95 s; the build modules' `again-delays` default
|
||||
becomes "15s,90s", whose sum, 105 s, spans it, the first run again still after 15 s. A publish still meeting no
|
||||
responders at its third run ends the step failed with `publish: no responders` (ADR 0664 §2), and `rerun` asks it
|
||||
again. How it is checked: the conformance kit's publish row with the default delays; H-A-583 (1) measures the absence.
|
||||
ADR 0664 §1, §2; principle 11.
|
||||
- **H-A-604 (the acceptance tests as round 2 has them, 15:56)** 23 Nov, round 2, amends H-A-583: (1) names its act: the
|
||||
seat `node-service-manager`'s verb `restart` of the tool runner's unit on the machine that serves the registry seats,
|
||||
called once the publishing build step has started. (3) is the runner's whole test with a stub build seat, covering
|
||||
H-A-594 (2) to (5) and H-A-595, plus a live check after H2's delivery: every mover of main.457 whose own steps passed
|
||||
is wanted on its placing machines, read through the seat `mesh-wants`. (4) gains the pass back of H-A-602. Principle
|
||||
3.
|
||||
- **H-A-605 (four notes of round 2, 15:56)** 23 Nov, round 2: (1) H-A-568: ADR 0686 §5, accepted at 16:04, moves
|
||||
mesh-sdk's manifest reads, `ManifestNeeds` included, to the indexer, and both moves land as one change of mesh-sdk, as
|
||||
H-A-622 writes it. (2) H-A-572 (2): the runner clears a module's `pipeline-failed` (H §770)
|
||||
when its registrations view no longer names the module, as the indexer frees its failed record. (3) H-A-578 (5): the
|
||||
stream that keeps `versions-filled` is dropped by the bus module's `nats_drop`, by warrant after its snapshot
|
||||
(H-A-126), once the new builder runs, named among the hand acts after H2's delivery in its milestone plan. (4) H-A-569
|
||||
(2): the manifest validator's need rules carry a version, `needs-rules`, a number in its package `judge` raised with
|
||||
every change of those rules; each module graph revision the indexer writes carries it as the field `needs-rules` (the
|
||||
seat `mesh-catalog`'s revision form, raised with H-A-580's), and a take-in derives the rule needs of unmoved entries
|
||||
again only when its own `needs-rules` is higher than its base revision's (absent read as 0), reading each unmoved
|
||||
entry's manifest from the entry itself (its field `manifest`, the manifest it carries whole). How it is checked: unit
|
||||
(indexer): a take-in with unchanged `needs-rules` derives nothing for unmoved entries; one with a higher number
|
||||
derives each from the entry's `manifest`. Principles 3 and 7.
|
||||
- **H-A-606 (a publish is asked again on ADR 0674's events, never on a timer; A-457's pause withdrawn, 15:56)** 23 Nov,
|
||||
the lead's item K of round 2: A-457 and A-457a ask a failed or unanswered publish again after a growing pause
|
||||
(`publish-pause` doubled per try up to `publish-pause-max`, `publish-tries` tries) and A-457 says the publish "is
|
||||
never waited on a `running` or `manifest-reads-changed` event any more", while ADR 0674 decides that a version left
|
||||
unpublished is published again once per event that says a registry seat's holder or its node is back (§2), one at a
|
||||
time per holder and queued at most once (§3), and that nothing waits on a timer (§4). A design follows its record, so:
|
||||
A-457's timer path, its putting of every unreleased reservation on the queue at the builder's start, and A-457a's
|
||||
settings `publish-pause`, `publish-pause-max` and `publish-tries` with their tries and next try go; A-473's ask at a
|
||||
build's end stays the first try. A publish that fails or is not answered leaves the version reserved, with
|
||||
`version-unreleased` naming the holder's words (ADR 0674 §3), and it is published again only by G §588's event path:
|
||||
the node-engine seat's `running` of a module whose entry claims the registry seat of the missing artifacts' kind, or
|
||||
its `manifest-reads-changed` with `why` `returned` of the node that holder runs on, each acted on once by its sequence
|
||||
(state `acted`), queued per holder in the state `publish-queue` and taken up again from it at the builder's start, or
|
||||
by `builder_publish_again` at any time. A-457b is withdrawn: `republish-max-versions` (G §633, 50 unless set) is read
|
||||
again as §588's bound per event. Where H-A-590 (2) says the item "spends none of its `publish-tries`", it reads: the
|
||||
queued version ends at once at such a refusal. How it is checked: whole (builder): a publish refused once stays
|
||||
reserved and is not asked again until a registry holder's `running` is heard, then is asked once; the code review
|
||||
finds no timer, pause or count of tries on the publish path. ADR 0674 §2 to §4; principles 1 and 3.
|
||||
|
||||
## Round 3 of the review by architectural domain of H-A-568 to H-A-606 (2026-11-23 from 16:08 CET)
|
||||
|
||||
The four reviewers by architectural domain did not approve round 2 at 11dbae7c; this is the last round (playbook 07).
|
||||
Each line below amends the answer it corrects and names the record clause or principle that settles it.
|
||||
|
||||
- **H-A-607 (the runner starts no pipeline by itself to carry a mover; the carry rides a pipeline that waits or runs,
|
||||
and the hand tools reopen, 16:08)** 23 Nov, the lead's answer to round 3, read against ADR 0682 whole; amends H-A-594
|
||||
(3) and (5), H-A-581 and H-A-571. ADR 0682 §6: the runner starts a delivering pipeline on its own only on
|
||||
`take-in.taken` and on `package-published` for a module with a "B published before A builds" edge, "never by a sweep,
|
||||
a comparison at its start or a timer", and its verbs stay; §7: a running pipeline runs to its end. So: (1) **What
|
||||
goes.** H-A-594 (3)'s reopen of a failed pipeline on another pipeline's `pipeline-ended`, its start of a pipeline
|
||||
keyed by the head's revision when that revision has none, and H-A-594 (5)'s carry of every key at the runner's start
|
||||
go. (2) **What the runner does by itself.** At a pipeline's end `failed`, `cancelled` or `could-not-run`, it adds each
|
||||
closed group (H-A-594 (2)) to the head's pipeline when that pipeline waits or runs, which starts nothing (§786); every
|
||||
other group waits in `unfinished` and is added to the pipeline the next `take-in.taken` starts, as §786 has it, each
|
||||
mover whose fingerprint is still its entry's at that revision. (3) **What a person does.** The runner's verbs stay
|
||||
(ADR 0682 §6): `start` (H-A-571, with its pipeline keyed by the head's revision when that revision has none), `rerun`
|
||||
(G-24 §727, which reopens the failed pipeline), and `runner_unfinished_place`, which places one key's closed group, or
|
||||
with `all` true every key whose pipeline neither waits nor runs, each group by (2) when the head's pipeline waits or
|
||||
runs and otherwise by reopening the failed pipeline for that whole group under its own key and revision (ADR 0684 §3);
|
||||
a failed step inside the group is asked again as `rerun` asks it. Each call is one hand act with its `why`, written
|
||||
through mesh-hand-acts. (4) **Today's keys.** H2's milestone plan names the hand acts after the runner's delivery:
|
||||
first `runner_unfinished_drop` of every key whose module a newer revision already delivered at another fingerprint
|
||||
(H-A-555), such as `main.adwaita`, whose key names 7f986fd6 while the wants of its machines name bddccff9, then one
|
||||
`runner_unfinished_place` with `all` true; `runner_unfinished` is read before and after. How it is checked: whole
|
||||
(runner, with a stub build seat): a failed pipeline's group joins a running head pipeline; with none running, nothing
|
||||
starts until the next `take-in.taken`, whose pipeline carries the group; `runner_unfinished_place` with `all` reopens
|
||||
the failed pipeline for a group when the head's pipeline has ended; the runner's start carries nothing. ADR 0682 §6,
|
||||
§7; ADR 0684 §3; principles 3 and 4.
|
||||
- **H-A-608 (a mover not delivered pins the revision its entry comes from, and is read there, 16:08)** 23 Nov, round 3
|
||||
(running), amends H-A-595 and H-A-594 (3): §749 frees a pipeline's pin at its `pipeline-ended`, so the keys left today
|
||||
name revisions 455, 457 and 459 that the indexer no longer keeps (it keeps 439, 458 and 460 to 493). So: the indexer's
|
||||
record `failed.<branch>.<module>` (H-A-566, H-A-595) is written for every mover a `pipeline-ended` names in
|
||||
`unfinished`, as for one whose own step failed, both being movers not delivered; it pins the revision the mover's
|
||||
entry comes from (its kept revision, H-A-285, else the pipeline's) and that revision's `base`, and is freed as H-A-566
|
||||
and H-A-572 (2) say. A pipeline that carries or reopens a mover reads its entry at that kept revision, else at the
|
||||
head's revision when the entry there has the same fingerprint (§786); a mover found at neither is dropped from
|
||||
`unfinished` with one journal line naming its fingerprint and the revisions looked at, since a newer revision moved it
|
||||
or its entry is gone. How it is checked: whole (indexer): a revision a mover named in `unfinished` comes from stays
|
||||
after its pipeline's end, with its `base`; whole (runner): a mover whose kept revision is gone is read at the head's
|
||||
revision at the same fingerprint, and one found at neither is dropped and said. ADR 0656 §2; principle 3.
|
||||
- **H-A-609 (a reopened pipeline is judged over its carried group alone; the gate hears `mover-added`, 16:08)** 23 Nov,
|
||||
round 3 (health, seams), amends H-A-594 (4) and H-A-597: (1) A pipeline reopened by `runner_unfinished_place` is
|
||||
judged over the carried group alone: the failed mover and the movers tied to it leave the movers its reopened end
|
||||
judges and stay in `unfinished` as before, so one failed mover beside one independent mover gives two ends, the second
|
||||
passed for the independent one, and no third. A reopened pipeline is never reopened from its own reopened end; only a
|
||||
person's `rerun` or `runner_unfinished_place` reopens it again. (2) The gate consumes `mover-added`, declared in its
|
||||
manifest's `consumes`, and counts the mover in the record of the pipeline that carries it (G §144); a pipeline's
|
||||
`pipeline-ended` with a higher end count reopens the gate's record of that pipeline, which ends again when the group's
|
||||
movers run and says `record-ended` with `ends` one higher (H-A-597). (3) A take-in whose pipeline key is held adds its
|
||||
entries (H-A-594 (1)) and says one `mover-added` per entry with `take-in` (the source revision) in place of `from` or
|
||||
`caller`. How it is checked: whole (runner): one failed and one independent mover give two `pipeline-ended`, the
|
||||
second passed for the independent mover, and no third; whole (gate): a `mover-added` counts the mover in the carrying
|
||||
record, and a reopened pipeline's passed end reopens and ends that record with `ends` 2. ADR 0682 §8; ADR 0666 §9;
|
||||
principle 3.
|
||||
- **H-A-610 (a tie ends when the failed mover leaves the registrations, 16:08)** 23 Nov, round 3 (seams), amends H-A-594
|
||||
(2): a mover's tie to a failed mover is read from its `unfinished` key's `pipeline` and that pipeline's edges between
|
||||
its movers at its revision; it ends when the failed mover's module leaves the registrations (its record freed, H-A-572
|
||||
(2)), and the movers tied to it are then carried as any closed group (H-A-607 (2)). How it is checked: whole (runner):
|
||||
a tied mover is carried at the next take-in after the failed mover's module leaves the registrations. ADR 0666 §2;
|
||||
principles 3 and 10.
|
||||
- **H-A-611 (the watchman times the step held for the view by the wait it hears, 16:08)** 23 Nov, round 3 (health),
|
||||
amends H-A-599: the watchman's manifest `consumes` the seat `mesh-pipeline-runner`'s `wait-held` and `wait-ended`, and
|
||||
it times only a wait whose `on` is `revision view`, by that wait's `bound` from its `clock-from`, raising
|
||||
`pipeline-stands` past it and clearing it at the wait's end; an `approval` step's wait owes no progress and is never
|
||||
timed (ADR 0666 §24; ADR 0283). At its start it seeds its open waits from the runner's `stands` (G §75). How it is
|
||||
checked: whole (watchman): a held wait with `on` `revision view` raises `pipeline-stands` after its bound, also after
|
||||
a restart of the watchman; an `approval` wait held twice as long raises nothing. ADR 0666 §24; principle 3.
|
||||
- **H-A-612 (a holder's `fingerprints` state is spoken for by the bus module's fill condition, 16:08)** 23 Nov, round 3
|
||||
(health), amends H-A-589 (2): its unnamed finding past 80 % goes. The state is kept data with a cap that refuses a
|
||||
write when full (H-A-589 (2), §812), and the bus module's fill condition speaks for a kept store as it does for the
|
||||
gate's ledger (§809), so a second condition for one cause is a part with no need (principle 7). The refusal at the cap
|
||||
stays as H-A-589 (2) says it. How it is checked: the code review finds no fill finding in the registry holders.
|
||||
Principles 3 and 7.
|
||||
- **H-A-613 (the publish again rides the work queue `publishes`, one send in flight per holder, as a kept call, 16:08)**
|
||||
23 Nov, round 3 (seams, running), amends H-A-606: (1) The queue is the builder's work queue `publishes` (§793,
|
||||
H-A-461), not the state `publish-queue`, which H-A-461 removed. An event of ADR 0674 §2 puts each version it publishes
|
||||
again once, on `publish.<holder>.again.<module>.<version>` with the message id
|
||||
`<holder>.again.<module>.<version>.<sequence>`, `<sequence>` the event's stream sequence, so the same event heard
|
||||
again puts nothing. The stream keeps at most one message per subject and refuses a new one while one is held, so a
|
||||
version queued or being sent is not queued again (ADR 0674 §3). (2) At most one send is in flight per holder over both
|
||||
classes, `live` first (ADR 0674 §3: one publish at a time to each holder); §793's four sends in flight become one. (3)
|
||||
The consumers' ack wait is G §369's publish bound, the builder's setting `publish-ack-minutes` (default 10), and the
|
||||
builder marks a message in progress while its call waits, so it is given again only when the builder itself stopped;
|
||||
the publish values of the builder's re-ask state go. (4) The publish and its publish again are §775's kept call,
|
||||
marked safe to repeat since the holder takes a version once by its name and version (ADR 0668 §2): no responders, a
|
||||
passed deadline and `away` are waited out at the kept-call pace (ADR 0668 §1), `call-unanswered` written after five
|
||||
minutes (§3). Only an answered failure or a refusal ends the send: the version stays reserved with
|
||||
`version-unreleased` naming the holder's words, and is published again only on ADR 0674 §2's next event or by
|
||||
`builder_publish_again`. How it is checked: whole (builder): two events of one return queue a version once; a second
|
||||
holder's version waits while one send to the first runs; a publish met by no responders is called again and passes
|
||||
when the holder answers; a refused one waits for the next `running`. ADR 0674 §2, §3; ADR 0668 §1 to §3; principles 1
|
||||
and 3.
|
||||
- **H-A-614 (H-A-569's and H-A-570's pull requests merge in one call, so no build of the tool runner with `stopping` is
|
||||
wanted, 16:08)** 23 Nov, round 3 (security), amends H-A-596, H-A-569 (1) and H-A-570 (6): H-A-569's call changes
|
||||
mesh-sdk's `catalogue`, which the tool runner (`node-tools`) imports, so that call moves the tool runner as a code
|
||||
dependent (ADR 0682 §4); were it merged before H-A-570's change, the tool runner would be built from mesh-tools at its
|
||||
merge of #90 (e8f58540) or later, which answers `stopping`. So the pull requests of H-A-569 and H-A-570 (mesh-sdk,
|
||||
mesh-tools, mesh-delivery, the node-engine's `mesh-host` and mesh-catalog) are merged in one call of `merge-pull`: one
|
||||
take-in, one pipeline, their orders held by its tiers (ADR 0682 §6, §8). How it is checked: live, after H2's delivery:
|
||||
no want of `node-tools` names the fingerprint of any build of mesh-tools from e8f58540 on that lacks H-A-570's change,
|
||||
3b09a323 among them, read through the seat `mesh-wants`. ADR 0682 §4, §6; principle 3.
|
||||
- **H-A-615 (`nats_consumer_narrow` refuses a subject the module still consumes, 16:08)** 23 Nov, round 3 (security),
|
||||
amends H-A-600: the tool judges a durable's module as H-A-127 and H-A-128 do (its name `<node>_<module>` or a prefix
|
||||
`<node>_<module>_`, against the keeper's accepted set), and refuses to remove a filter subject that the accepted
|
||||
manifest of that module still consumes, naming the subject; the keeper's accepted set carries each module's `consumes`
|
||||
beside the module, decoded from the same accepted manifest (ADR 0578 §3: a part decodes a manifest and takes its
|
||||
verdict, never judging it). How it is checked: one row of the bus module's whole test: a call removing a subject the
|
||||
module's accepted manifest consumes is refused and the consumer keeps it. ADR 0640 §3; principles 3 and 4.
|
||||
- **H-A-616 (an artifact held with no kept fingerprint counts as held for F when its digest is F's, 16:08)** 23 Nov,
|
||||
round 3 (security), amends H-A-589 (1) and H-A-590 (1): ADR 0606 §1 keeps a numbered fingerprint's number. So an
|
||||
artifact a registry holds at V with no fingerprint kept counts as held for F, and F keeps V, when its digest equals
|
||||
the digest F's reservation records for that artifact; it counts as held elsewhere only when the reservation records
|
||||
another digest or none. The 17 versions of issue 1984 note 3 record none, so they are still withdrawn by H-A-590. How
|
||||
it is checked: a row of H-A-593 (1)'s table: an artifact held at V with no fingerprint and the reserved digest keeps
|
||||
V; one with another digest withdraws it. ADR 0606 §1; ADR 0605 §4; principle 3.
|
||||
- **H-A-617 (who hears a second `record-ended`, and its form, 16:08)** 23 Nov, round 3 (health), amends H-A-597, whose
|
||||
"so the self-check's probe and the status view hear the moved time as an event" is wrong: `record-ended` carries no
|
||||
`delivery-time` (H-A-25) and only the watchman consumes it, and the self-check's probe reads `gate_times` (H-A-396),
|
||||
so the probe reads a moved time at its next read. The second `record-ended` is the event of the record's new end; the
|
||||
watchman takes a second end of a record it cleared already as nothing new. `ends` is a field of the seat
|
||||
`mesh-delivery`'s event `record-ended`, its definition regenerated and its form raised by one. How it is checked: unit
|
||||
(contracts): `ends` read on `record-ended`; whole (watchman): a second `record-ended` of a cleared record raises and
|
||||
clears nothing. Principles 3 and 7.
|
||||
- **H-A-618 (three notes of round 3, 16:08)** 23 Nov, round 3: (1) H-A-589 (6): the registry holders (distribution and
|
||||
gitea, mesh-catalog), the seats' contracts (mesh-delivery-contracts), the conformance cases and the builder
|
||||
(mesh-delivery) merge in one call of `merge-pull`, since the order between their modules exists only inside one
|
||||
pipeline (ADR 0682 §8, §9). (2) H-A-589 (4) and (5) and H-A-591 (4): ADR 0686, accepted at 16:04, dissolves
|
||||
mesh-delivery-sdk (its §4): the shared publish goes behind the one module that serves the step runner, and the
|
||||
conformance cases become fixtures of the registry and build seats' definitions in their contracts modules (its §2),
|
||||
run by each holder's and build module's tests, as H-A-624 writes it. (3) H-A-602: a token file holds only the token
|
||||
and its scopes, so gitea's TypeScript bundle finds the token at the forge by listing the account's tokens through the
|
||||
forge's own interface and matching the last eight characters and the scopes it holds; a token it cannot match is left
|
||||
with its file and said once in its journal. When a new gitea build is faulty after the files are gone, a return to an
|
||||
earlier build that runs as gitea's own account (H-A-543's change on) reads its tokens from the vault and recovers; a
|
||||
return to a build before it does not. With no such earlier build, the fixed build is placed by hand (the instruction
|
||||
hot-deploys-allowed), since gitea holds the registry seats its own publish would go through. Principles 3 and 4.
|
||||
- **H-A-619 (the acceptance tests of round 3, by level, 16:08)** 23 Nov, round 3, amends H-A-604 (3): the runner's whole
|
||||
test with a stub build seat covers H-A-594 (1), (2) and (4) as H-A-607 to H-A-610 amend them: a failed node-engine
|
||||
ties its gitea, and gitea is carried once the node-engine passes; a group joins a running head pipeline; with none
|
||||
running nothing starts until the next take-in; `runner_unfinished_place` with `all` reopens a failed pipeline for an
|
||||
independent mover, which gives two ends, the second passed, and no third; a tie ends when the failed module leaves the
|
||||
registrations; a mover whose kept revision is gone is read at the head's. The live check after H2's delivery stays:
|
||||
after the hand act of H-A-607 (4), every mover of main.457 whose own steps passed is wanted on its placing machines.
|
||||
Each is a step of the existing whole test, never a new top-level test function (the test budget). Principle 3.
|
||||
|
||||
## The fix pass after round 3 (2026-11-23 from 16:14 CET)
|
||||
|
||||
The lead checks these lines against round 3's remaining findings; ADR 0686 was accepted at 16:04, so its lines are the
|
||||
design now.
|
||||
|
||||
- **H-A-620 (the publish-again queue reads its own stream before a put; one `again` send in flight per holder, 16:14)**
|
||||
23 Nov, the fix pass (seams, security, running), amends H-A-613 (1), (2) and (4): (1) No form of a manifest's stream
|
||||
refuses a new message while one is held, so before it puts a version again the builder reads its own stream
|
||||
`publishes` for that subject, `publish.<holder>.again.<module>.<version>`, by a read of the subject's last message; a
|
||||
message held there means the version is queued or being sent, so it puts nothing. The message id of H-A-613 (1) stays,
|
||||
so the same event heard again puts nothing either. No manifest form is added and nothing is applied to the live
|
||||
stream. (2) ADR 0674 §3's one publish at a time is about the publish again alone: at most one `again` send is in
|
||||
flight per holder, while `live` sends keep §793's four in flight (H-A-290 (3): one at a time made a release wait forty
|
||||
minutes). (3) The kept-call pace of H-A-613 (4) is the call's own transport retry (ADR 0668 §1); a new publish again
|
||||
of a version whose send ended on an answered failure still waits for ADR 0674 §2's next event. How it is checked:
|
||||
whole (builder): two returns of one holder queue the version once; a second `again` send to a holder waits while one
|
||||
runs, and four `live` sends run at once. ADR 0674 §2, §3; ADR 0668 §1; principles 1 and 3.
|
||||
- **H-A-621 (`nats_consumer_narrow` asks the seat `mesh-catalog` what a module consumes, 16:14)** 23 Nov, the fix pass
|
||||
(seams), amends H-A-615: by ADR 0686 §3 and §5 the bus module's keeper reads no manifest. The seat `mesh-catalog`
|
||||
serves `entry`, whose catalog entry already carries what the indexer derives from a manifest (`invokes`, `serves`,
|
||||
`streams`, `requires`), and serves no event that names what a module consumes. So the entry gains the field
|
||||
`consumes`, the subjects the module's accepted manifest consumes, filled by the indexer beside `invokes`; the seat's
|
||||
definition is regenerated and its form raised with H-A-580's and H-A-605 (4)'s raise. The tool asks
|
||||
`mesh-catalog.entry` for the durable's module, judged by name as H-A-127 and H-A-128 have it, and refuses to remove a
|
||||
subject the answer's `consumes` holds; the keeper's accepted set carries no `consumes` of its own. How it is checked:
|
||||
unit (indexer): an entry's `consumes` equals its manifest's; the row of H-A-615: a subject the entry's `consumes`
|
||||
holds is refused. ADR 0686 §3, §5; principles 1 and 9.
|
||||
- **H-A-622 (the capability's name is a value of the seat `node-engine`'s contract; `ManifestNeeds` moves whole to the
|
||||
indexer, 16:14)** 23 Nov, the fix pass (seams), amends H-A-568 and rewrites H-A-605 (1) now that ADR 0686 is accepted:
|
||||
shared code is only the runtime and a seat's forms (ADR 0686 §1, §2), and mesh-sdk's manifest reads, `ManifestNeeds`
|
||||
included, move to the indexer (§5). So the capability names a node-engine states, `directory-contents-owner` among
|
||||
them, are values of the seat `node-engine`'s contract, the answer of its verb `manifest-reads` (ADR 0618 §3),
|
||||
generated in the contracts module that holds that seat's definition (ADR 0686 §2) and read there by the node-engine,
|
||||
which states them, the indexer, which names them as needs, and the assigner, which compares the two; mesh-sdk's
|
||||
constant `ReadDirectoryContentsOwner` goes. `ManifestNeeds` moves whole into the indexer with mesh-sdk's other
|
||||
manifest reads, and H-A-568's runs-as rule is one rule of its manifest validator there; H-A-568's removal of the line
|
||||
from mesh-sdk is that move, one change of mesh-sdk with no copy and no alias left (§5). How it is checked: ADR 0686
|
||||
§9's widened unit test of mesh-sdk refuses `ManifestNeeds` and the constant there; unit (indexer): H-A-568's rows.
|
||||
ADR 0686 §1, §2, §5; ADR 0618 §3; principle 9.
|
||||
- **H-A-623 (a placed group that holds the failed mover is judged with it, 16:14)** 23 Nov, the fix pass (seams), amends
|
||||
H-A-609 (1): a failed mover leaves the movers a reopened end judges only when it is outside the group placed again; a
|
||||
group `runner_unfinished_place` or `rerun` places with the failed mover in it, its failed step asked again as `rerun`
|
||||
asks it (H-A-607 (3)), is judged with that mover, so its end passes only when that mover's step passes (H-A-414). How
|
||||
it is checked: whole (runner): a group placed with its failed mover whose step fails again ends failed; one placed
|
||||
without it ends on its own movers. ADR 0682 §8; principle 3.
|
||||
- **H-A-624 (where the shared publish, the conformance cases and the reading of no responders go under ADR 0686,
|
||||
16:34)** 23 Nov, the fix pass, rewrites H-A-618 (2) and amends H-A-570 (3), H-A-589 (4) and (5), H-A-591 (4) and
|
||||
H-A-593 (2) to (4): mesh-delivery-sdk is dissolved (ADR 0686 §4). (1) The shared publish of H-A-589 (4) goes behind
|
||||
the one module that serves the step runner, called through its verbs for each step (§4); which module that is no line
|
||||
names yet. (2) The conformance cases of H-A-589 (5), H-A-591 (4) and H-A-593 (2) to (4) become fixtures of the seats'
|
||||
definitions in their contracts modules (§2): the registry seats' cases in the definitions of the four registry seats,
|
||||
the build seats' cases, `reproducible` among them, in those of `node-build-go`, `node-build-node` and
|
||||
`node-build-image`; each holder's and build module's tests run the fixtures of every seat it fills, and mesh-catalog's
|
||||
failure-kit check (H-A-591 (4)) reads that they do. (3) The one place that reads no responders, a passed deadline and
|
||||
`away` as a transport fault (H-A-570 (3)) is the runtime's calling of a verb in mesh-sdk (ADR 0686 §1: calling and
|
||||
answering a verb; ADR 0668 §7: mesh-sdk carries the kept-call form); a build step's ending of its run `again` on such
|
||||
a fault (ADR 0664 §1), today `PublishFault` and `sdkstep.Passing`, goes with the step runner to the module of (1). How
|
||||
it is checked: ADR 0686 §9's checks; the code review finds no package of mesh-delivery-sdk imported. ADR 0686 §1, §2,
|
||||
§4; principle 9.
|
||||
- **H-A-625 (four notes of the fix pass, 16:14)** 23 Nov: (1) H-A-611: while a wait on the revision view stands, the
|
||||
watchman times the step from that wait's `clock-from` in place of the step's own start. (2) H-A-607 (2): the failed
|
||||
mover's `pipeline-failed` (H §770) names the movers held behind it and `runner_unfinished_place` as the act that
|
||||
places them. (3) H-A-613 (4) is read as H-A-620 (3) says. (4) H-A-619's live check: each key of `unfinished` ends
|
||||
either deleted, its module wanted at its fingerprint or a newer one, or still tied to the failed mover it names.
|
||||
Principles 3 and 4.
|
||||
- **H-A-626 (the step runner is served by the builder, through verbs of the seat `mesh-builds`, 16:17)** 23 Nov, the
|
||||
open question of H-A-624 (1): ADR 0593 §1 reads "Code that computes or judges, and that only some modules need, is the
|
||||
owner module's: the module that holds the seat whose work it is", and "the build runner becomes the Go build module's
|
||||
package, used by the other build modules; the step runner of the delivery parts becomes the builder's package".
|
||||
ADR 0686 §3 keeps those owners ("the build runner and the step runner, which it makes the Go build module's and the
|
||||
builder's packages for other modules, are served as clause 4 has it"), and §4 has each "served by one module, the same
|
||||
or two", every part going "to the one module whose work it is", the module and whether its role is a seat being this
|
||||
design's to name. So: the step runner of the delivery parts is served by the builder (mesh-delivery-builder), its
|
||||
owner by ADR 0593 §1, through verbs of the seat the builder holds, `mesh-builds`, whose work a build step is; no new
|
||||
seat is made (principle 7), and the build modules depend on the seat `mesh-builds`, not on the builder's module
|
||||
(principle 9: `mesh-builds` is a seat, a role the mesh means one module or another to fill). The parts H-A-624 (1) and
|
||||
(3) send there are the step runner's: the shared publish of H-A-589 (4) and a build step's ending of its run `again`
|
||||
on a transport fault, today `PublishFault` and `sdkstep.Passing`. The verbs themselves, one per part a build module
|
||||
calls in a step, with their messages in the seat's contract (ADR 0686 §2), are named by the line that writes the move
|
||||
of `buildstep` (ADR 0686 §5). The build runner, the Go build module's by ADR 0593 §1, is outside this line. How it is
|
||||
checked: ADR 0686 §9's checks (no build module imports a package of mesh-delivery-sdk or of the builder); the seat
|
||||
`mesh-builds`' definition names the step runner's verbs. ADR 0593 §1, ADR 0686 §3, §4; principles 7 and 9.
|
||||
|
||||
## The operator's answers (2026-11-23 from 20:43 CET)
|
||||
|
||||
- **H-A-627 (`tier-bound` counts no time a mover waits for the operator's yes, read from the assigner's own `asks`,
|
||||
20:45)** 23 Nov, the operator's answer of 20:43 CET to the lead's design question ("Yes, pause it"), amends §751's
|
||||
`tier-bound`, H-A-56 and H-A-75. The case: pipeline main.505's tier 1 held the bus module on one machine while it
|
||||
waited for the operator's yes, asked from 18:54 to 19:28 CET; at 19:22 the assigner found the tier late, so tier 2
|
||||
(the gate, the forge module, the pipeline runner, the indexer, the status view, the builder and the tool runner) was
|
||||
never written; the second meeting of the kind, after main.502 (and a near miss at main.495). ADR 0682 §8 decides a
|
||||
bound per step of the order whose end fails the pipeline, and §9 makes the operator's yes the asker's, not the want
|
||||
rule's; how the bound counts a wait on the operator is the design's own, and the operator answered it. (1) **What
|
||||
pauses the count.** `tier-bound` counts no time during which the seat `mesh-wants`' state `asks` (G §717: the asks of
|
||||
the operator the assigner writes and deletes and the teller offers, not the step asks of the seat's work queue) holds
|
||||
a key of any kind but `assignments` that names a mover of the tier by its module, by the mover's fingerprint where the
|
||||
kind's key names one (every kind but `record`, whose key names the composition), and, where the key names a machine
|
||||
(every kind but `hold`), by one of the present placing machines on which §751 finds that mover not running. One such
|
||||
key pauses the count of the whole tier, which has one bound (H-A-56). The yes is read there because `asks` is the
|
||||
assigner's own state (ADR 0596 §4): the node-engine's phase `waiting-yes` is another module's state (ADR 0596 §2), and
|
||||
the want carries the yes only once it is given. (2) **Which part keeps what.** The assigner keeps the pause in the
|
||||
tier progress of its state `written` (H-A-56), whose value gains `clock-from`, the time `tier-bound` counts from (in
|
||||
`since`'s form; written equal to `since` when a tier's progress starts; absent read as `since`), and `paused-from`,
|
||||
the time the standing pause began (absent while the bound counts). The tiers' judgement of each pass (H-A-256) reads
|
||||
`asks` as that pass leaves it: the first pass that finds such a key writes `paused-from` with its own time, never
|
||||
earlier than `since`; the first pass that finds none moves `clock-from` later by the time since `paused-from` and
|
||||
deletes `paused-from`, both by compare-and-set as the progress is written. A tier is late only with no `paused-from`
|
||||
and its time at or past `clock-from` plus `tier-bound`; only that time is armed on the one deadline timer (H-A-56),
|
||||
and a paused tier arms none. The next tier's progress starts with `clock-from` its own `since` and no `paused-from`;
|
||||
both go with the key when the assigner deletes it (H-A-75). Both are kept on the bus, so a restart keeps a pause, and
|
||||
the first pass after it ends a pause whose key is gone. The teller and the operator channel keep nothing new, and no
|
||||
event is added: the wait is said by its ask, offered again at each lapse while its key stands. (3) **What is said and
|
||||
read.** The assigner's journal says a pause's start (the pipeline, the tier, the module, the machine and the ask's
|
||||
key) and its end (how long the count stood still and when the tier is now late); `assigner_written` answers
|
||||
`clock-from` and `paused-from` with the progress, and its description names them. A tier already said `tier-late`
|
||||
stays ended: `pipeline-wanted` is said once (H-A-75), and no later pause reopens it; the finding `tier-late` and its
|
||||
body are unchanged. How it is checked: two rows of the table of §751's tier test of the assigner
|
||||
(`TestAPipelinesWantsAreWrittenTierByTier`, in mesh-delivery), never a new top-level test function: with the
|
||||
provider's `record` ask standing in `asks` from minute 5 to minute 45 of tier 1, nothing is late at minutes 30 and 69
|
||||
and `tier-late` is raised at minute 70; with the provider running at minute 50, the consumer's want is written then.
|
||||
ADR 0682 §8, §9; ADR 0596 §2, §4; principles 1, 3 and 4.
|
||||
|
||||
## The empty pin of a run's entry (issue 1984 notes 19 to 22, 2026-11-23 from 21:40 CET)
|
||||
|
||||
Issue 1984 note 22: every composition of a take-in whose movers publish a package the node-engine imports ended
|
||||
"could not run: no pin for …", because the take-in blanked that package's pin in every import-form entry, the
|
||||
node-engine's among them though it was no mover, and the composition run gave the empty pin to the build module, which
|
||||
refuses it at once; nothing filled it after the publish. The prepare of this fix found four questions and three places
|
||||
where the design and the code disagree; the lead's answers follow, each against the principles.
|
||||
|
||||
- **H-A-628 (the take-in blanks only a mover's entry; a run's empty pin is filled from `mesh-builds.published` or
|
||||
waited for, 21:45)** 23 Nov, issue 1984; answers the questions the prepare of the fix found against H-A-532 DMC-1,
|
||||
H-A-547 (2) and (3), H-A-551, H-A-192, H-A-204, H-A-326, H-A-328, G §718, §719, §720 and H §745. (1) The take-in
|
||||
blanks a package's pin, as H-A-532 DMC-1 has it, only in the import-form entry of a mover of that take-in; a module
|
||||
that is no mover keeps its pins, since no step of that pipeline builds it and so no build waits for the publish the
|
||||
blank serves (principle 7; principle 3: a blank nobody fills fails a later ask). (2) For a run the assigner builds
|
||||
from an entry (the composer of G §718, the validator of H §745), an empty pin is filled by the assigner's ask of the
|
||||
seat `mesh-builds`' verb `published` (H-A-328) for the publisher's build in the step's revision, and the version it
|
||||
answers is the pin: the assigner computes no pin and copies no logic of the builder, and no contract changes
|
||||
(principles 1, 9 and 7). H-A-328's one caller gains the assigner. (3) While `published` answers not published, the
|
||||
run waits: it reads first, then is woken by `mesh-builds`' `package-published` of that package (H-A-326's order).
|
||||
The wait is bounded by an assigner setting `package-wait-minutes`, with the builder's range and default (1 to 120,
|
||||
10); meanwhile the step's progress says the phase `fetch` (no new phase) and the journal names the package; past
|
||||
the bound the run ends could not run, "package <path> has no published version within <bound>" (principles 1, 11,
|
||||
3 and 7). (4) The wait arms the run's own bound key of §720 (`bound.<run key>`, its time to live the bound of (3)),
|
||||
so the bound outlives an assigner restart; its expiry ends the run as (3) says, and an assigner start finds a run
|
||||
still waiting by its missing program and starts its wait again (principles 1 and 7). (5) So the assigner never puts
|
||||
a run ask with an empty pin: `pinsOfEntry`'s silent drop goes, and the words that end such a run name the package,
|
||||
the entry and why it has no version, never the builder, which never had the ask (H-A-204: "never left out";
|
||||
principle 3). (6) A blank carried into the kept packages of a watched branch other than the first at its next
|
||||
take-in (H-A-547 (2): "never in a module's kept packages") is not part of this fix: no live case shows it, and with
|
||||
(1) only a mover's entry is blanked. It is noted on the issue for the code milestone, with whether a published
|
||||
version whose reservation the builder dropped stays the series' newest (H-A-495's addendum), and the builder's
|
||||
reserve of a number for a done build whose fingerprint is already released (principle 7). In the indexer and the
|
||||
assigner (mesh-delivery). How it is checked: rows of the indexer's `TestMoversOf` (a mover's entry blanked, a
|
||||
non-mover's kept), a row each of the composition run's and the validate step's unit tests (an empty pin filled from
|
||||
`published`), the existing whole test `TestTheCompositionStepComposesEachMachineThroughTheBuildSeat` extended (a
|
||||
run that waits for a package's publish and composes after it; one past the bound ends could not run naming the
|
||||
package), never a new top-level test function; live, the first take-in after delivery whose movers publish a
|
||||
package the node-engine imports has every composition pass. Principles 1, 3, 7, 9 and 11.
|
||||
- **H-A-629 (a run that waits for a package keeps the wait in its own value; every reader says it; a start takes it up
|
||||
again, 22:02)** 23 Nov, issue 1984; answers the developer's three questions on H-A-628 (3) and (4): the expiry
|
||||
marker of `bound.<run key>` holds no value (A-470o), the run's value names no package, every reading step says the
|
||||
phase `run` at once, and the take-up starts nothing again. (1) The run's value, the seat `mesh-wants`' composition
|
||||
run (`CompositionRun`), gains one field, `waits`, absent while the run waits for nothing: the package's path and the
|
||||
time its wait began. It is written when the run's wait of H-A-628 (3) begins and deleted when the run ask is put or
|
||||
the run ends, by compare-and-set as the value is written. So the package is named from the bus after a restart,
|
||||
and an expiry heard before any take-up names it, read from the run's value (principle 1; principle 7: the run's
|
||||
existing value, no new key). (2) Every step that reads the run, the starting one included, says the phase `fetch`
|
||||
naming the package while the run's value holds `waits`, and `run` once it holds none, as it hears the run key
|
||||
today (principle 3: each step says what is true; principle 7). (3) At an assigner start, a run whose value holds
|
||||
`waits` and no program has its whole start run again (a compose-candidate ask of the node and its kept request), as
|
||||
the node's input of the first start is not kept before the wait ends; that start reads `published` first, so a
|
||||
package published while the assigner was down is taken at once (principle 7: the existing start, no new kept
|
||||
input). Its bound counts from `waits`' time: past that time plus `package-wait-minutes` the run ends could not run
|
||||
as H-A-628 (3) says, naming the package; before it, `bound.<run key>` is armed again for what is left, never in full
|
||||
again, whether it expired while the assigner was down or was never armed (principles 3 and 11). How it is checked:
|
||||
rows of the composition run's unit tests (`waits` written at the wait's start and gone at the ask; every reader
|
||||
says `fetch` naming the package, then `run`), and the extended whole test of H-A-628 (a restart during the wait
|
||||
takes the run up and composes after the publish; a restart past the bound ends it could not run naming the
|
||||
package). Principles 1, 3, 7 and 11.
|
||||
- **H-A-630 (the waiting run's wake, context and words, 22:58)** 23 Nov, issue 1984; answers round 1 of the review of
|
||||
the fix that builds H-A-628 and H-A-629. (1) A `package-published` wakes only the runs whose `waits` names the
|
||||
heard artifact's package, as H-A-628 (3) says "of that package"; a publish of another package asks no `published`
|
||||
(principle 7). (2) Each bind of the assigner's consumer of `package-published` wakes every waiting run to read
|
||||
`published` again, since an event said while the consumer was not bound is never heard (principle 3: no wait that
|
||||
only its bound ends while the package stands published). (3) The wait runs on the assigner's own context, as the
|
||||
take-up's does, never on the starting step's: a step that is superseded or dropped leaves a run other steps share
|
||||
waiting (principle 3: a run never ends with "no published version" while one stands). (4) The words that end a run
|
||||
past its bound name the package, the entry and the bound, as H-A-628 (5) asks (principle 3). (5) While a run's value
|
||||
holds `waits`, the readers' `wait-held` says the step waits for that package's publish, naming it, never for a
|
||||
build node (principle 3). How it is checked: rows of the composition run's unit tests (another package's publish
|
||||
asks no `published`; a bind wakes a waiting run that then reads it published; a superseded starting step leaves the
|
||||
shared run waiting; the bound's words name package, entry and bound; `wait-held` names the package). Principles 3
|
||||
and 7.
|
||||
- **H-A-631 (the entry is named from the run's value, 23:03)** 23 Nov, issue 1984; answers the round-2 developer's
|
||||
question on H-A-630 (4): two of the three paths that end a run past its bound (the bound's expiry and the take-up at
|
||||
a start) read only the run's value, whose `waits` holds the package and its time, and `program` is absent while the
|
||||
run waits. `waits` gains the entry's words (the import-form entry the run was built from, as the waiting start's end
|
||||
names it today), written with the package when the wait begins, so every path names the package, the entry and the
|
||||
bound as H-A-630 (4) and H-A-628 (5) say (principle 3: the same words on every path; principle 1: an expiry and a
|
||||
restart read the run's value from the bus; principle 7: a field of the `waits` this fix adds, no new key, the seat
|
||||
definition's form stays at the 3 this fix raised it to). How it is checked: the row of H-A-630's bound's words, run
|
||||
on the expiry and the take-up paths too. Principles 1, 3 and 7.
|
||||
- **H-A-632 (a wait for a package that ends says the wait for a build node again, 23:16)** 23 Nov, issue 1984;
|
||||
answers the round-2 developer's question on H-A-630 (5): the readers' `wait-held` for a build node is said once, when
|
||||
the run is made (`sayWaits` at the run's creation), and the one that names the package when its wait begins; when
|
||||
the run ask is put and `waits` is deleted, no line says the step waits for a build node again, so the view keeps the
|
||||
package's words until `ask-taken`'s `wait-ended` `ran`. At that put, a run whose wait for a package ended says its
|
||||
readers' `wait-held` for a build node again, under its held id with `.put` added, so the bus's duplicate window
|
||||
does not take it for the first one (principle 3: each step says what is true, as H-A-629 (2) does for the phase;
|
||||
principle 7: the existing event, no new one). How it is checked: a row of the composition run's unit tests (after
|
||||
the put, a reader's newest `wait-held` is for a build node). Principles 3 and 7.
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user