Compare commits

..
Author SHA1 Message Date
jschoubben 3a969c6b99 Designs 33 and 08: the converged answer carries the node's links (H-A-325) 2026-11-21 21:14:05 +01:00
jschoubben da58998af4 Designs 08 and 33: no interface never opens an outward link (H-A-324) 2026-11-21 21:11:18 +01:00
jschoubben 41005dfc1e Designs 08 and 33: the build's forms (H-A-317 to H-A-321) 2026-11-21 20:53:37 +01:00
jschoubben 8fc4f09d8f Designs 08 and 33: the reviews by domain (H-A-314, H-A-315, H-A-316) 2026-11-21 20:43:11 +01:00
jschoubben 654a08b5a0 Designs 08 and 33: an adopted node refuses allowances; expired ones removed at the holder's start (H-A-312) 2026-11-21 20:39:52 +01:00
jschoubben 9dcbc0fef1 Designs 08 and 33: ADR 0683's number, the allowance's identity and expiry, the verbs required from the start 2026-11-21 20:34:01 +01:00
jschoubben 9e99e9562b Designs 08 and 33: the firewall seat's control verbs beside the derived ports (the operator, 2026-11-21)
The operator decided that the packet filter's module must have tools to
control it beside what is derived from the modules' declarations: deriving
every open port from listens left no way to open a port no manifest names.

Design 08 section 4 keeps the derived ports as the automatic part and adds
allowances set by hand; the node-engine stays the one renderer, asks the
holder's allowed verb at every compose, refuses the compose and keeps the
loaded filter when it gets no answer, and renders allowances only on a
converged node. Design 33 gives the seat allow, disallow and allowed,
widens rules, and adds the event allowances-changed and the holder's
state: one allowance per protocol, port and interface, removed and
journalled at its expiry. Both follow ADR 0683 and design 47 H's lead
answers H-A-304, H-A-305, H-A-307 and H-A-308.

Both designs are put in playbook 02's shape: their new lines live in
milestone parts, and design 08's adoption lines move to a delivered part
so the main file stays under 80 KB. The glossary gains allowance.
2026-11-21 20:33:52 +01:00
31 changed files with 538 additions and 225 deletions
+16 -9
View File
@@ -643,7 +643,7 @@ controller (the planner, the rollout) until release 6 of ADR 0429; from each rel
- **run on request** — a pipeline run for a named commit or group that delivers nothing, asked by the runner's verb
`run`; the indexer builds its candidate from the runner's `run-started` (ADR 0666 §18).
- **artifact reference** — an artifact written `<module>:<artifact>`, such as `mesh-grants:program`: the end of a
dependency edge of the module graph (ADR 0666 §14).
dependency edge of the catalog graph (ADR 0666 §14).
- **mesh-pipeline-runner** — the seat, held once for the mesh, that runs each pipeline: it reads the policy from the
registrations, asks each pipeline step of the seat that serves it, says each step's start and end and each pipeline's
end as its events, keeps each pipeline's state and step log on the bus, and serves the run on request (ADR 0666 §7,
@@ -675,23 +675,23 @@ controller (the planner, the rollout) until release 6 of ADR 0429; from each rel
release 4 of ADR 0429 a pull request carried two statuses, one for the modules the change touches and one
for the repository's own script (ADR 0238). Goes at the delivery of design 47's milestone G, the **pipeline** in its
place (ADR 0666 §17); the word goes to the *pipeline* entry's *Not:* line with the as-is update after that delivery.
- **module graph** — the modules as their manifests declare them at one revision (bases, packages, provides and
- **catalog graph** — the modules as their manifests declare them at one revision (bases, packages, provides and
requires, invokes and serves), with the acting rules the seats declare; the indexer keeps it, one
revision per source revision it takes in (ADR 0656). It was called "catalog graph" from ADR 0656 until
the operator made module graph its one word again (2026-11-23). From it each delivery part orders a source revision by its own rule: provisions, bus state, a served
revision per source revision it takes in (ADR 0656). Its other name is **module graph**, the word for it before
ADR 0656, from which each delivery part orders a source revision by its own rule: provisions, bus state, a served
verb and a reader's capability are waited on; a package, and until research 085's milestone a build module's
change, are triggers that rebuild, never waits; a verb edge on a cycle is left out (ADR 0603 §1, §2, ADR 0614); from research 085's milestone an acting part's edge is a wait within
its step (ADR 0656). From milestone G's delivery it is kept once per **watched branch**, and its edges run between
**artifact references**, of six kinds, the reverse order holding when something goes away (ADR 0666 §6, §14).
Nothing stores the order. Only the indexer reads the manifests; every other part reads the module graph (the operator,
Nothing stores the order. Only the indexer reads the manifests; every other part reads the catalog graph (the operator,
2026-11-11; design 47 G §442). Not the **assignment graph**, computed from it.
*Not:* ~~build graph~~, ~~catalog graph~~ (hq)
*Not:* ~~build graph~~
- **assignment graph** — the module versions placed on nodes at one revision, with the edges between versions that
its inputs give: provisioning, contribution, and the acting parts' versions that are to act on each entry. The
assigner computes it from the module graph, the placements and the nodes' capabilities, and nothing else writes it;
assigner computes it from the catalog graph, the placements and the nodes' capabilities, and nothing else writes it;
it keeps each revision naming the revisions of its inputs, served by the seat `mesh-wants`, and writes the wants
from a trunk revision's alone (ADR 0656), from milestone G's delivery from a revision of the watched branch a
placement chose whose `required` pipeline steps passed (ADR 0666 §9). Not the **module graph**, whose entries are modules, not
placement chose whose `required` pipeline steps passed (ADR 0666 §9). Not the **catalog graph**, whose entries are modules, not
versions on nodes; not an **assignment**, one module put on one node.
- **mesh-wants** — the seat, held once for the mesh, that keeps what each node should run, one want
per node and module (`want.<node>.<module>`), and a person's upgrade policy, served as its verb `upgrade`
@@ -708,7 +708,7 @@ controller (the planner, the rollout) until release 6 of ADR 0429; from each rel
the touched nodes and the order read off the edges. It is the change's delivery, and nothing stores a plan beside
it (ADR 0656); the assigner serves it by the seat `mesh-wants`'s verb `difference` (design 47). Not a **delivery plan**,
which was stored and handed out.
- **revision view** — what every part acts on: the module graph with its heads, seat definitions, verdicts and
- **revision view** — what every part acts on: the catalog graph with its heads, seat definitions, verdicts and
fingerprints, served by the seat `mesh-catalog`'s verb `revision`, and the assignment graph computed from it,
served by the seat `mesh-wants`'s verb `revision`, for a trunk revision or a candidate's heads; a pair, each half
served by its one owner (ADR 0656; the verbs' names, design 47). A part with none for the current revision waits
@@ -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 |
+41 -92
View File
@@ -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
@@ -298,7 +298,7 @@ approves, for a marked event or a restricted stream.
7-approval-mark §4's table gains the row). A module that marks only events needs neither `operator-channel` in
`uses` nor `approval-mark/1`: the tool runner asks for the wait, not the module.
33. **The tool runner reads the marks from the catalog half on the bus.** The tool runner derives each module's marked
subjects from the catalog half it holds (§14; the module graph entry carries `needs-approval` and each stream's
subjects from the catalog half it holds (§14; the catalog graph entry carries `needs-approval` and each stream's
`grant`, design 46 7-approval-mark §5): for a marked event `<event>` of module `<module>`,
`mesh.mod.<module>.event.<event>` and `mesh.stream.<module>.event.<event>`, each event pattern as the bus spells it
(`WirePattern`); for a stream with a `grant`, every subject of `ModuleStream.Subjects()`; and each of these also
@@ -36,7 +36,7 @@ every-event, whose marked waits (design 34 every-event §32 to §37) use this ga
gate in G").
**Where.** mesh-sdk (the manifest field, the seat definition's field, the per-machine state's keys), mesh-contracts
(the login shell's seat definition), mesh-delivery (the indexer's manifest validator and module graph entry, the grants
(the login shell's seat definition), mesh-delivery (the indexer's manifest validator and catalog graph entry, the grants
part's deny), mesh-tools (the tool runner's gate, its state, its tools, and the mesh MCP server's `mesh_describe` in
it) and mesh-catalog (the zsh module, which holds the login shell, and the forge module, §21). Nothing is built in a controller: no controller issues memberships today, bus permissions are the grants part's
(seat `mesh-grants`), the hand-act log is the seat `mesh-hand-acts`, and the asker's logic is operator-channel's client
@@ -106,7 +106,7 @@ enter; `node-files.stat` answers such a file's mode from this milestone (§21a),
## Where the marks are read, and where they are withheld
5. **From the catalog half on the bus, never from a bundle.** The indexer's module graph entry of a module (design 47
5. **From the catalog half on the bus, never from a bundle.** The indexer's catalog graph entry of a module (design 47
G §174) carries the validated manifest whole (design 47 G §443), its `needs-approval`, its `emits` and its streams
(their events as the manifest spells them, and whether each carries a `grant`) among it; mesh-sdk's `buscompose`
exports `WirePattern`, which a reader uses to turn a stream's events into the bus's subjects, the grants part's own
@@ -385,7 +385,7 @@ enter; `node-files.stat` answers such a file's mode from this milestone (§21a),
its budget.
23. **In G's delivery group, ordered by the module graph.** The members are pushed and checked in design 47 milestone
G's group, with design 34's milestone every-event. The orders are the module graph's: the indexer's manifest
validator and module graph entry that read `needs-approval` before any manifest or seat definition carrying it (a
validator and catalog graph entry that read `needs-approval` before any manifest or seat definition carrying it (a
reader edge, design 47 G §89, whose list covers `needs-approval`; Q-RE); and the grants part that composes the deny of §6 before the seat definition marking
`execute` (an edge of the seat definition's readers), so no machine serves `execute` unasked between the two; and
the grants part serving `withheld` before a node-engine calls it (a served-verb edge, §6).
@@ -170,7 +170,7 @@ running delivery never touches merging: a merge moves the source revision, and t
**From research 085's milestone, every change is checked and delivered by the acting parts built from its own
heads** (ADR 0656, which supersedes ADR 0645 to ADR 0648). The acting parts, the parts that act on other modules'
changes, declare in their seats' definitions what they act on and are versions in the module graph like any module.
The indexer keeps the **module graph** (the modules as their manifests declare them) and the assigner computes the
The indexer keeps the **catalog graph** (the modules as their manifests declare them) and the assigner computes the
**assignment graph** (module versions placed on nodes, with the edges between versions), each per revision; a
change's **graph difference** against the current assignment graph is its delivery, its acting parts' new versions
acting first within a bound; its check runs on the acting parts built from its heads and fails, naming one that
@@ -227,7 +227,7 @@ source revision is derived from the keys: every **want** equals its module's **f
the indexer and the gate for the reads they make and the events they hear (*The seat `git`*, under *The verbs*).
- **The indexer** computes each module's fingerprint at the merge preview and writes the candidates of each
group and the modules of the trunk. It reads no placement: placement is not in any repository, and the forge
bridge carries nothing of placement (ADR 0567). From research 085's milestone it keeps the module graph per
bridge carries nothing of placement (ADR 0567). From research 085's milestone it keeps the catalog graph per
revision and serves its half of the revision view by a verb of its seat `mesh-catalog` (ADR 0656,
ADR 0656).
- **The builder** claims a build by creating its key, once per fingerprint, and orders it as an ask on the stream of the artifact's
@@ -282,13 +282,13 @@ source revision is derived from the keys: every **want** equals its module's **f
no placement and waits for no node's answer: a pull request changes no placement, since placement is bus state
changed by a proposal (ADR 0567; ADR 0446 §3 read as written). Its own composition stands in for every sealed value, so only a node's answer to a proposal can say that
what the node would run is the same. From research 085's milestone it computes the assignment graph from the
module graph, the placements and the nodes' capabilities, keeps each revision (ADR 0656) as objects
catalog graph, the placements and the nodes' capabilities, keeps each revision (ADR 0656) as objects
in an `objects` section in the old form (ADR 0619 §2), serves it and a change's graph difference by verbs of
its seat `mesh-wants`, and writes the wants from a trunk revision's assignment graph alone (ADR 0656). From G's
delivery it runs the composition step, and writes a want only from a revision whose every `required` pipeline step
passed, on the watched branch a placement chose (ADR 0666 §9, §17).
- **The node agent**, the node-engine's own process, follows its node's wants, **composes each wanted module for
its own node** with the composition of `mesh-delivery-sdk` from the module graph's entry of the build (from milestone G; before it, the manifest by digest), the module's resolved values from
its own node** with the composition of `mesh-delivery-sdk` from the catalog graph's entry of the build (from milestone G; before it, the manifest by digest), the module's resolved values from
mesh-config, its secrets and bus credential asked of the vault sealed to the node's key, its licences and what
its providers contribute, applies one module at a time and only what differs from what runs, backs up a data
module first, and writes its haves with the fingerprint and the digest of the composition it runs (ADR 0547 §2,
@@ -1075,7 +1075,7 @@ backup holder backs up nothing, and the have says so.
*ADR 0360 §8, §9, ADR 0377, ADR 0429 §4, §6, ADR 0539 §9, §14 to §16, ADR 0546 §5, §6, ADR 0547 §2 to §9, ADR 0549, ADR 0555.*
- **Each node composes its own.** For each want `want.<node>.<module>` the node agent composes that module for
its own node with the composition of `mesh-delivery-sdk` from the module graph's entry of the build, from milestone G (before it, the manifest by digest the indexer wrote), the module's resolved
its own node with the composition of `mesh-delivery-sdk` from the catalog graph's entry of the build, from milestone G (before it, the manifest by digest the indexer wrote), the module's resolved
values read from mesh-config's resolved state filtered to its node, its secrets and bus credential asked of the
vault sealed to the node's key (ADR 0349 §11), its licences, and what its providers contribute; and the node's
own composition (adoption, firewall openings, accounts, the resolver, identities and groups) from the same
@@ -1090,7 +1090,7 @@ backup holder backs up nothing, and the have says so.
- **the node records**, each in its node's own have key `<node>.node`, written by that node alone and heard as
the key's change (ADR 0555 §3);
- **the manifests**, until milestone G the indexer's `modules.<module>` and its manifests by digest, or the digest the composing
node's want names where it runs another build; from milestone G the module graph's entries of the catalog half,
node's want names where it runs another build; from milestone G the catalog graph's entries of the catalog half,
the indexer being the only part that reads a manifest (design 47 G §442); the private network's manifest is its holder `mesh-wireguard`'s
own (ADR 0636 §4);
- **the config values**, mesh-config's resolved state, the composing node's slice alone for a node agent; a module
@@ -1385,7 +1385,7 @@ assignments bucket is kept equal to it by the holder until ADR 0547's third mile
| placement candidate | while a proposal is open: one node's placement as the proposal lays it, which that node composes in shadow and answers | the assigner | the seat's state `candidates` |
| assignment | until ADR 0547's third milestone: the module and node, pinned or not, ended or not, written by `assign` and `unassign` after an approved placement change, so that it equals the placement (ADR 0567) | the controller, called by the holder | `mesh-controller_assignments` |
| rollout | read-only from release 6: each plan of releases 1 to 5, its tiers, the builds it carried and the assignments it changed | nobody from release 6 | `mesh-controller_rollouts` |
| module graph revision | from research 085's milestone: every module as its manifest declares it at one source revision, with the seats' acting rules (ADR 0656), kept while a delivery record pins it or it is current | the indexer | objects in an `objects` section in the old form (ADR 0619 §2), capped at 512 MiB |
| catalog graph revision | from research 085's milestone: every module as its manifest declares it at one source revision, with the seats' acting rules (ADR 0656), kept while a delivery record pins it or it is current | the indexer | objects in an `objects` section in the old form (ADR 0619 §2), capped at 512 MiB |
| assignment graph revision | from research 085's milestone: every module version on a node at one revision, its edges, and the revisions of its inputs (ADR 0656), kept while a delivery record pins it or it is current | the assigner | objects in an `objects` section in the old form (ADR 0619 §2), capped at 512 MiB, served by the seat `mesh-wants` |
| delivery record | from research 085's milestone: one milestone's delivery, its group's state, its trace and what happened to each entry on each node (ADR 0656), kept 90 days by default (the gate's setting `record-retention`) | the gate | a ledger instance of the gate's (ADR 0595, ADR 0597) |
@@ -1693,7 +1693,7 @@ list:
performance is fixed; no check starts real builds.
37. **Nothing is delivered ahead.** Research 085's milestone is delivered with no part delivered ahead of it, read
from its delivery record (ADR 0656, How it is checked).
38. **A newer indexer is reached.** *(Retires at milestone H, design 47 H §764.)* A merged revision naming a newer indexer gives, from the running indexer, a module
38. **A newer indexer is reached.** *(Retires at milestone H, design 47 H §764.)* A merged revision naming a newer indexer gives, from the running indexer, a catalog
graph revision that is the previous one with only the indexer's entry replaced; no other want moves; the new
indexer is wanted, granted, started, and takes the revision in.
39. **Revisions are kept, and stores say their fill.** A revision pinned by two records stays until both free it, one
@@ -1720,7 +1720,7 @@ Each change ADR 0656 makes in an earlier record, and its test:
§1) builds each other module once, by it, with no build by the running recipe of a module the new build module
builds; the third node builds nothing of the language until it reports the agreed version (whole, assigner and
builder).
44. **The graph is kept per revision** (ADR 0603 §2). A source revision taken in gives one module graph revision and
44. **The graph is kept per revision** (ADR 0603 §2). A source revision taken in gives one catalog graph revision and
its assignment graph revision, kept as objects in an `objects` section in the old form, and a revision a delivery
record pins is not removed; no per-module key with five past values is written (whole, indexer and assigner).
45. **The tiers are a view of the difference** (ADR 0603 §6). The view's tiers of a group equal those read off its
@@ -2170,7 +2170,7 @@ release reports the controller's code lines against research 063's baseline (acc
| L6 | Provisioning leaves the controller (ADR 0570): every provision is one key of the seat `mesh-provisioner`, held by mesh-provisioner, holding a reference and never a value, and each placed module's provisioning plan a key of its state `plans`, both composed from placement, the wants and the manifests on change events; each provider acts once all a provision depends on is provided; the assigner moves a want only once its build's provisions are provided; a provision no want needs is retiring, and its account or credential is removed only on the operator's Approve, its data never; the vault mints each provision's secret sealed to the consumer's and the provider's node, and the consumer's node-engine writes it; a wait for a person is a provision's state, which the watchman reads; bus permissions stay with the grants part (ADR 0349, ADR 0230, ADR 0547 §11) | — | mesh-sdk, the node-engine (`mesh-host`), mesh-tools (the tool runner's provisioner client), mesh-catalog (mesh-provisioner, the vault, the provisioner client, postgres, keycloak, gitea, route-adapter), mesh-delivery (assigner, watchman) | 1954 |
| L7 | History and records leave the controller (ADR 0571): the builder keeps its build log, one entry at a build's start and one at its end, from which build history and durations are read and the module mesh-catalog asks the builds it missed; the artifact sweep is the seat `mesh-artifact-sweep`, held by artifact-store-tools beside the artifact store, its keep set from the store's own listing, the wants and the build log, sweeping at each build's end from the lease write and recording each deletion in the hand-act log; disk readings are disk-load's own state on every node; who holds which seat is the state `seat-holders` of the seat `mesh-placement` (now `mesh-module-assigner`), and tools are found by the tool runners' announcements; what a node runs is its want and its have; the grants part writes `grants.<module>.<fingerprint>` and keeps memberships in its own state; root-free is a probe of the self-check; no manifest but the controller's reads, invokes or consumes `mesh-controller`, but a named list kept to the lease write, so the lease write's check passes (ADR 0189, ADR 0547 §11, ADR 0549 §6) | — | mesh-sdk, mesh-controller (its pin only), mesh-delivery (builder, indexer, assigner, grants part, view), mesh-catalog (artifact-store-tools, disk-load, the backup seat's holder, mounts, nfs-server, minio, mesh-watcher, the messenger, the self-check, the module mesh-catalog, docker), mesh-tools (the tool runner) | 1955 |
| B0 | The bootstrap delivery: every check, a lone pull request's as a group of one and a verdict carried after a trunk move included, is judged by a checking program built from the change's own heads in the build seat's sandbox, which also makes the heads' one seat list that the check hands the manifest validator and the composer; it brings no seat definition and no manifest field, so the running checker checks it (ADR 0644; *The bootstrap delivery, and the one milestone after it*) | 26 needs it | mesh-sdk (`go/delivery`: the seat `node-build-go`'s ask `run` and the checker's record of which checking program judged; `go/composer`: the request's seat list), mesh-catalog (mesh-build-go: the run step, the refused answer, the kept programs' tools and sweep), mesh-delivery (checker: the checking program and its command), hq (this design, the glossary) | 1921 |
| G | Two graphs and one revision view: the module graph and the assignment graph kept per revision, a change delivered as its graph difference, the acting parts' rules on their seats as bounded waits that hold their modules when the new version fails, the check on the change's own acting parts, the revision view and each process's own build, the gate's delivery record, and the trace's links (ADR 0656); no part reads a pull request's description (ADR 0659); every delivery part reaches the forge through the seat `git` and names no other module; nothing holds an approved merge for another check; and, one milestone with them, research 086's pipelines: a change of any module goes from a commit on a watched branch to the machines through its module's pipeline, its policy in its registration, ordered by edges between artifacts, with no Approve per merge and no hand act, the checker gone (ADR 0666, ADR 0667). Test counts at its start (G's prepare, 2026-11-09): mesh-delivery 665 unit and 68 integration, the node-engine (`mesh-host`) 1,742 unit; each other repository's and each catalog module's from the last check's verdict, read in the joint prepare | 26 to 62, 63 to 106 | mesh-sdk (the runtime: the fingerprint, the view, the definition reader, the seat list's one wiring), mesh-contracts and the domains' contracts modules (`acts`, the new verbs and events, the seat `mesh-grants`, the seat `git`'s verbs), mesh-delivery (indexer, assigner, checker until its removal, builder, grants part, gate's view, forge bridge, watchman, the new pipeline runner `mesh-delivery-pipeline`, `contracts` and `sdk` moved under `modules/`), mesh-catalog (the gate, the build modules, the forge module, mesh-issues, mesh-knowledge, the `node-backup` holder, the router, nats: a module's kept data on the bus as a backed-up item and the object store beside each state), mesh-sdk (also its small object store package, for values of any size), the node-engine (`mesh-host`), hq | 1966, 1961 (retargeted to this row's shape), 1660, 1972, 1721, 1783, 1785, 1794, 1791, 1373, 595; 1962 goes back with 1958, whose assignment entry it needs (ADR 0641 §3) |
| G | Two graphs and one revision view: the catalog graph and the assignment graph kept per revision, a change delivered as its graph difference, the acting parts' rules on their seats as bounded waits that hold their modules when the new version fails, the check on the change's own acting parts, the revision view and each process's own build, the gate's delivery record, and the trace's links (ADR 0656); no part reads a pull request's description (ADR 0659); every delivery part reaches the forge through the seat `git` and names no other module; nothing holds an approved merge for another check; and, one milestone with them, research 086's pipelines: a change of any module goes from a commit on a watched branch to the machines through its module's pipeline, its policy in its registration, ordered by edges between artifacts, with no Approve per merge and no hand act, the checker gone (ADR 0666, ADR 0667). Test counts at its start (G's prepare, 2026-11-09): mesh-delivery 665 unit and 68 integration, the node-engine (`mesh-host`) 1,742 unit; each other repository's and each catalog module's from the last check's verdict, read in the joint prepare | 26 to 62, 63 to 106 | mesh-sdk (the runtime: the fingerprint, the view, the definition reader, the seat list's one wiring), mesh-contracts and the domains' contracts modules (`acts`, the new verbs and events, the seat `mesh-grants`, the seat `git`'s verbs), mesh-delivery (indexer, assigner, checker until its removal, builder, grants part, gate's view, forge bridge, watchman, the new pipeline runner `mesh-delivery-pipeline`, `contracts` and `sdk` moved under `modules/`), mesh-catalog (the gate, the build modules, the forge module, mesh-issues, mesh-knowledge, the `node-backup` holder, the router, nats: a module's kept data on the bus as a backed-up item and the object store beside each state), mesh-sdk (also its small object store package, for values of any size), the node-engine (`mesh-host`), hq | 1966, 1961 (retargeted to this row's shape), 1660, 1972, 1721, 1783, 1785, 1794, 1791, 1373, 595; 1962 goes back with 1958, whose assignment entry it needs (ADR 0641 §3) |
| H | The build-and-delivery system delivers itself by its one model, in six releases (H0 to H5, the plan's section 6): one merge call of the seat `git`'s `merge-pull` naming one or more pull requests is a delivery's start and its group; the gate names the merged heads one source revision and opens its record; the indexer takes it in (a commit, the fingerprints of its repositories' modules, one catalog revision) and names the movers; one pipeline per take-in, none in parallel (`pipelines-at-once`, default 1); a want is the newest released version whose pipeline passed; the forge's event is the watchdog (`head-untaken`); every delivery part wakes on its inputs alone and reads no other part's state; the per-pull-request paths, the catch-up by comparison, the sweep and the checker go; one clean state placed by hand once, after which every release is delivered by its own pipeline (ADR 0682, ADR 0681, ADR 0666, ADR 0667; design 47 H §734 to §774) | 110 to 119 | mesh-delivery, mesh-catalog, `mesh-host`, mesh-tools, mesh-sdk, mesh-contracts, hq | opened by each release's prepare |
An issue is in one row only (ADR 0493 §2): where a row named an issue another row names too, the last row keeps it and the
@@ -2354,7 +2354,7 @@ and what answers it:
| testing | a revert test that needed a second check; the view with the assigner down | whole-module revert tests on the real builds from before milestone G; the assigner stopped and a cold control-node |
| health and events | waits with no event or bound; a record that never ends; parts waiting for the view unreported; when a wait is first said; a put that never ends | `wait-held` at the start with its bound, timed by the watchman; held and failed outcomes and `record-ended`; `view-waits` after five minutes; `put-stands`, timed by the watchman from the put's `wait-held` |
| security | a checking program hiding a removed rule; forged events; the `run` ask's grant; a kept build overwritten by the program it built; the review line retired before the review verb's grant | the running checker names every change of the checking program's fingerprint; the node in event subjects and grants per account; builds kept only from a step that runs nothing; the review verb left to issue 1782 |
| upgrade | a newer indexer never wanted after milestone G; a revert across a change of kept data's form | the stand-in module graph revision; restore points taken before a move across a `form` change, restored at a revert before the reverted build starts, the node-engine back last |
| upgrade | a newer indexer never wanted after milestone G; a revert across a change of kept data's form | the stand-in catalog graph revision; restore points taken before a move across a `form` change, restored at a revert before the reverted build starts, the node-engine back last |
The amendment for milestone B0 (2026-11-06) carries the review of seams and tools of B0's prepare, which did not
approve on three findings: a `run` ask an old build module drops is silent, the kept programs have no tool, and the
@@ -2390,7 +2390,7 @@ hold ends itself on the node's `running`, built first in the issue 1966 recovery
test 62); and ADR 0662, which decided the same switch as ADR 0661 another way, is withdrawn, so G builds ADR 0661.
The amendment for research 086's graduation (2026-11-10) writes ADR 0666 and ADR 0667 into this design: *Pipelines
per module* whole (registrations, watched branches and the module graph per branch, the pipeline steps and the policy,
per module* whole (registrations, watched branches and the catalog graph per branch, the pipeline steps and the policy,
what holds a delivery, approval as a step and a session's merge through `merge-pull` judged on the runs at the head's
fingerprint, groups, the six kinds of edge between artifacts, a publish that rebuilds, values of any size, the pipeline
making the check, callers per verb, health, the recovery fix, the tools, the runner's kept data and the build capacity,
@@ -41,7 +41,7 @@ ADR 0664 §4, ADR 0398 §2, ADR 0593 §9; research 086, Direction.*
§1 From milestone G's delivery. A change of any module, the delivery system's own parts included, goes from a commit to
the machines through that module's **pipeline**: the pipeline steps its **policy** names, run for each commit or group
on each of the module's **watched branches** by the seat `mesh-pipeline-runner`, ordered by the module graph's edges
on each of the module's **watched branches** by the seat `mesh-pipeline-runner`, ordered by the catalog graph's edges
between artifacts, with no hand act (ADR 0666 §1). Milestone G is the one milestone that builds it, beside the two
graphs, the revision view and the delivery record (ADR 0667 §1). Until G's delivery the sections this one replaces
(*Checks*, *A try*, *The Approve and the merge*, the state table and the trunk-only want) hold as written, and they
@@ -49,7 +49,7 @@ check and deliver milestone G itself (ADR 0667 §2); each of them says so in a l
```
a session ──merge-pull (seat git)──► forge ──commit on a watched branch──► forge bridge ──► indexer (mesh-catalog)
│ registrations; a module graph
│ registrations; a catalog graph
│ per watched branch; the revision
│ validated before take-in
▼ take-in.taken
@@ -70,7 +70,7 @@ check and deliver milestone G itself (ADR 0667 §2); each of them says so in a l
operator's Approve (ADR 0666 §2). The indexer is a foundation part, so the registrations are kept in its old sections
(ADR 0619 §1 to §3, ADR 0666 §4): one key per module in its old `state` section `registrations`, and every version on
its old `streams` section's stream `registration-history`, kept with no age limit.
The module graph is derived from the registrations and the manifests they point to; the mesh knows modules, and a
The catalog graph is derived from the registrations and the manifests they point to; the mesh knows modules, and a
repository only as a module's git origin.
- §3 **Changing one is a trusted act.** The seat's verbs `register` (a module whole), `policy` (one module's step
statuses, per artifact), `watch` and `unwatch` (add or remove a watched branch) each raise an authorising ask of tier
@@ -95,7 +95,7 @@ check and deliver milestone G itself (ADR 0667 §2); each of them says so in a l
value. How it is checked: a unit test of the manifest validator refuses a template in the manifest of every part on
its list, the runner's included, and judges every other part's manifest as any part's.
- §7 **No part fixes a name: a guideline the code review reads.** (§507) Every branch, repository and module name a part
needs is read from the registrations and the module graph, never fixed in its code. This is a guideline, not a
needs is read from the registrations and the catalog graph, never fixed in its code. This is a guideline, not a
step: the code review reads it, and no lint step scans for names (the operator, 2026-11-11 about 00:05 CET: the scan was a flaky check; where
guidelines live is research 087's). It departs from ADR 0666 §5's refusal by the lint step, by the operator's choice,
and a later record brings it in line. The names G's own work removes (about 39 in 9 parts, found on 2026-11-09,
@@ -129,7 +129,7 @@ check and deliver milestone G itself (ADR 0667 §2); each of them says so in a l
as one ask, and `indexer_seed_again` asks it again after a Decline and after an expiry; a policy making code review
`required` is refused. Tests 75, 68 and 83.
### Watched branches and the module graph per branch
### Watched branches and the catalog graph per branch
- §11 **Only a watched branch starts a pipeline.** (§509) The forge bridge hears every commit of every watched branch the
registrations name, through the seat `git`'s event `branch-moved` (a branch's new head, from the forge's push
@@ -143,12 +143,12 @@ check and deliver milestone G itself (ADR 0667 §2); each of them says so in a l
unless it waits as progress not owed: a member of a gathered group is governed by ADR 0633 §5's 30-minute bound, and
a merge behind a pending revision of the same branch by its 60-minute bound (ADR 0666 §24). The finding clears on the
runner's `pipeline-started` for that head.
- §13 **The module graph per watched branch.** The indexer keeps the module graph once per watched branch, from that
- §13 **The catalog graph per watched branch.** The indexer keeps the catalog graph once per watched branch, from that
branch's manifests at each source revision (ADR 0666 §6): each revision names its branch, and the stores, caps and
pins of *Two graphs, one source of truth* hold per branch.
- §14 **A placement names the branch.** Each module of a placement key names the watched branch its node runs, by default the
registration's first, set by a placement proposal like every other placement change (ADR 0567, ADR 0666 §6). The
assigner computes each node's entries from the module graph of the branch its placement names, so a module watched on
assigner computes each node's entries from the catalog graph of the branch its placement names, so a module watched on
`main` and `beta` runs `beta` only where a placement chose it.
- §15 **A source revision per watched branch.** The gate keeps one source revision per watched branch, `source.<branch>`,
in place of `source.main` (ADR 0429 §11 to §13 as ADR 0666 §6 changes them), in the old `state` section `source`
@@ -352,7 +352,7 @@ check and deliver milestone G itself (ADR 0667 §2); each of them says so in a l
### Dependencies between artifacts
- §47 **Six kinds of edge between artifact references.** The module graph's edges run between **artifact references**,
- §47 **Six kinds of edge between artifact references.** The catalog graph's edges run between **artifact references**,
`<module>:<artifact>`, such as `mesh-grants:program`, of six kinds (ADR 0666 §14):
| Kind | B before A | Derived from |
@@ -372,11 +372,11 @@ check and deliver milestone G itself (ADR 0667 §2); each of them says so in a l
old holder released before the new one claims (ADR 0666 §14).
- §49 **The edges alone order.** (§569) The build and the delivery order by these edges alone; a cycle of delivery edges
(kinds 2, 4, 5, 6) alone is delivered as one step, and a cycle with any build edge (kind 1 or 3), whatever its other
edges, is refused, naming every artifact on it (ADR 0666 §14; research 086, R17). The cycle rule is the indexer's, in the module graph it keeps, so the checking
edges, is refused, naming every artifact on it (ADR 0666 §14; research 086, R17). The cycle rule is the indexer's, in the catalog graph it keeps, so the checking
program's cycle rule goes with the checker.
- §50 **A format's reader first.** A format a running reader cannot read is preceded by its reader, an edge of kind 4 on
every watched branch (ADR 0666 §14): the indexer's manifest validator for a new field of a seat definition or a
manifest, and on each node the node-engine that reads a module graph entry's new fields before any manifest that writes them
manifest, and on each node the node-engine that reads a catalog graph entry's new fields before any manifest that writes them
(ADR 0667 §4).
- §51 **How it is checked.** Unit (indexer's graph): a chain per artifact where modules would cycle; two programs needing
each other's new verb are one step; two artifacts each needing the other's new package to build are refused, naming
@@ -161,7 +161,7 @@ each the design's choice with its reason, §468 to §479 those of the runner's,
module), a fetched build whose bytes do not match its digest fails the step naming the member.
- §466 **A build names what it resolved.** Each built artifact of the build answer (BuiltArtifact, in the step's
result) gains `resolved`, a list of `{package, version, digest}`, one per mesh package the build resolved (one
that the module graph entry's packages name, the edges of kind 1), `digest` the `sha256:` digest of the package's
that the catalog graph entry's packages name, the edges of kind 1), `digest` the `sha256:` digest of the package's
bytes as the build fetched them; ToolchainUsed gains `digest`, the building node's digest of its toolchain program
(§472), kind 3's entry, never the build module's own program. The builder carries both, per artifact,
in `package-published` as `resolved` and `toolchain`, from which the indexer writes §374's entries of kinds 1 and 3.
@@ -247,7 +247,7 @@ reason. What a question of another kind leaves open waits for the operator and i
build without a version (§371, §458), the builder writing it in its journal naming the module; at G's heads the
validator refuses such a manifest (§411). Why: such an entry is only read from a revision before G (develop
question of the builder). How it is checked: unit (builder), an entry of version `"1"` reserves nothing.
- §506 **The entry carries its manifest's digest.** (§609) The module graph entry gains `manifest-digest`, the `sha256:`
- §506 **The entry carries its manifest's digest.** (§609) The catalog graph entry gains `manifest-digest`, the `sha256:`
digest of the manifest's bytes as the forge answered them, set by the indexer at take-in (in `EntryInputs`) and
never computed again from the manifest whole, whose encoding may differ; the module's value and §445's
`manifests` key are that digest. Why: the bytes, not the map, are what the node-engines before G read (develop
@@ -208,7 +208,7 @@ that round are written into the lines they name, here. Questions that an earlier
revision; the manifest validator, beside §508's refusal of a second claim, refuses a revision in which no module
claims it, naming the seat. §364's, §365's and §508's "from the seat list" read so, the condition keeper's too. With
no entry claiming the seat, which only a revision from before G shows, as at a revert of G, the node-engine's own
module is the module of the module graph entry its own build's fingerprint names (§443, §205), so a revert of the
module is the module of the catalog graph entry its own build's fingerprint names (§443, §205), so a revert of the
node-engine applies. Why: §364 and §508 have the node-engine claim its seat
as one module, so the claim names it (develop question H-15). How it is checked: unit (manifest validator), a
revision with no claim of `node-engine` refused; whole (node-engine), its guard protects the module its catalog
@@ -226,7 +226,7 @@ that round are written into the lines they name, here. Questions that an earlier
- **Every other part** asks both in its `requires`: the state `findings` by the template `state`, keeping its local
name and carrying its settings as options (ADR 0595 §11), and the stream by the template `events` under the local
name `finding-events`, with `max-age-days` 7 and `max-mib` 16, which the template drops oldest when full (ADR 0595
§3), its entry listing the three finding events in its field `events`, which the module graph entry carries
§3), its entry listing the three finding events in its field `events`, which the catalog graph entry carries
(§365), published on its binding's subject, `mesh.bus.<module>.finding-events.<event>.<node>`.
- **`mesh-healers`**, whose old `streams` declares `mesh-healers-findings` on main, moves it so in G's change, as
ADR 0595 §11 moves a module G touches. Its old stream stays on the bus as an orphan that `orphans` lists, removed
@@ -240,7 +240,7 @@ that round are written into the lines they name, here. Questions that an earlier
moved; every other old `streams` entry is judged as today. A part whose list entry is missing is a fault of the
list, fixed in the validator (ADR 0619 §3). The validator refuses a manifest whose state `findings` has no finding
stream in its part's form, or no `consumes` of `mesh-conditions.findings-asked` (§387). The writer (§461) is handed
the subjects from the part's binding or its old stream, as it is handed every subject. The module graph entry
the subjects from the part's binding or its old stream, as it is handed every subject. The catalog graph entry
carries the finding stream in either form (§365); the grants part makes the keeper's consumer of §386 on an
old stream at the revision that declares it, and on a template stream when it hears the bus module's `created` for
`finding-events` and grants each part publish on its own finding stream's subjects of its own node only, in either form; the
@@ -335,7 +335,7 @@ that round are written into the lines they name, here. Questions that an earlier
## The bus module's plans
- §533 **A module of the new form.** "A module of the new form" (§59, §344) is a module that is no foundation part.
The bus module tells it by its module graph entry declaring no old `objects` section `sent-objects`: a foundation
The bus module tells it by its catalog graph entry declaring no old `objects` section `sent-objects`: a foundation
part whose entry claims a seat whose definition has a verb or an event, or declares an event of its own, declares
it (§59), and the manifest validator refuses such a foundation part's manifest without it, naming it. Why: the bus
module reads no list of foundation parts, which is the validator's alone (ADR 0619 §3; develop question on §59 and
@@ -349,7 +349,7 @@ that round are written into the lines they name, here. Questions that an earlier
a seat whose verbs come only from an included part gives its holder a sent store, and one including only bodies
gives none.
- §538 **The bus module plans again when the bus-state entries change.** The bus module compares, for each module,
the bus-state entries the module graph entry carries with those it last planned for that module, kept in its old
the bus-state entries the catalog graph entry carries with those it last planned for that module, kept in its old
`state` section `plans` (the bus module is a foundation part), one key `<module>` holding the entries as planned
and their digest, written after each plan and deleted when the module is in no watched branch's newest revision, its
entries then orphans that `orphans` lists; its tool `nats_plans` reads it. It plans again only when they differ; it never compares the manifest's digest (§506), which changes with
@@ -502,7 +502,7 @@ that round are written into the lines they name, here. Questions that an earlier
refused; unit (tool runner), the words it states are exactly its manifest's `states`; unit (delivery plan), the edge to the module stating the word.
- §546 **When the builder forgets a node's toolchain.** The builder deletes its `toolchains-heard` key
`<node>.<language>` (§604) when the node-engine seat's `running.<node>.<module>` says `stopped` (§365) for the
module whose module graph entry claims the build seat of that language (its `acts` rule `build` with `on` naming
module whose catalog graph entry claims the build seat of that language (its `acts` rule `build` with `on` naming
it, §535), heard through its consumer of that seat's `running`, read as §556 has it; never on a placement, which
is the seat `mesh-module-assigner`'s state. The state is an old `state` section of the builder, a foundation part,
one key per node and language, about 12 keys of about 0.3 KiB each, capped at 1 MiB, so it adds no objects store
@@ -519,7 +519,7 @@ that round are written into the lines they name, here. Questions that an earlier
server's own limit does not. So each `<state>-objects` is planned with 16 MiB (about 2.4 GiB for 150 states), a
state needing more naming `objects-max-mib`, and no later measure is waited for. The bus module reads the account's
and the server's storage limits at its start and at each plan, sums the cap of every entry it plans (states, objects
stores, sent stores, streams, logs) and of every old section the module graph's entries declare, and shows the sum and
stores, sent stores, streams, logs) and of every old section the catalog graph's entries declare, and shows the sum and
both limits in its `list` and its read tool. A plan whose sum would pass the account's limit is refused, naming the
sum and the limit, said as its `refused` (ADR 0595 §6): the plan refused is the one that adds or raises a cap, and
the caps already made stay as they are. With no account limit (unlimited) nothing is refused and the sum is shown
@@ -98,12 +98,12 @@ are written into the lines of G-12 they name.*
consumer §556 needs, from the process's `consumes`; its calls of `node-backup`'s `restore`, which takes its class's default with no own-item limit (§610, §555), and
of `mesh-broker`'s `snapshot-get` and `snapshot-restore` with `snapshot-get`'s chunk subjects, and the hearing
of `snapshot-restored` from its `consumes` (§681); and nothing else. The bus names granted are those of every kept data
of every module graph entry the catalog half keeps (§443) and of every entry a restore point names (an old
of every catalog graph entry the catalog half keeps (§443) and of every entry a restore point names (an old
section's name before a form change, a template's binding after), read by the grants part through
`kept-points` (§565); no stream of the mesh's own (`CONTROL`, `NODES`, `EVENTS`, `DEAD_LETTER_NOTICES`, `DEAD_LETTERS`,
`PROV_APPLIED`, `CHECKS_READY`, `CHECKS_OTHER`, every `SEAT_` stream and every `KV_` bucket of a seat) is ever
granted. Restricted streams (ADR 0436) are among the names, as ADR 0672 records.
- **Bus names.** The recovery module turns a module and a kept data into bus names from the module graph entry of
- **Bus names.** The recovery module turns a module and a kept data into bus names from the catalog graph entry of
the fingerprint it acts at, read by `mesh-catalog`'s `entry` (§443) in its `invokes` (an edge of kind 6): a
template entry's name is `<module>_<local>` (ADR 0595 §1), an old section's its declared name; a point records the
names it took, and a restore uses those.
@@ -183,7 +183,7 @@ are written into the lines of G-12 they name.*
takes a long form, `{verb, fields}`: `verb` as today (`seat:<seat>.<verb>`), `fields` the names of its answer's
fields the consumer relies on. The manifest validator refuses a field the seat's definition does not give that
verb's answer, naming it. The delivery plan derives the edge of kind 6 from the holders of that seat to the
consumer, held until the holder runs a build whose module graph entry's seat definition (§194) gives the verb's
consumer, held until the holder runs a build whose catalog graph entry's seat definition (§194) gives the verb's
answer every named field; §374's entry of kind 6 records the verb and its fields, and `outdated` (§375) says it
behind when the delivered version no longer gives them. Both forms stay: the short string where no field is relied on, the long form
where one is. On main mesh-sdk's manifest reader reads `invokes` as a list of strings, so the long form is read
@@ -266,7 +266,7 @@ form only. A note that corrects a line of G-12 or G-14 is written in that line;
record of the builder's retry, ADR 0673 §1 to §3, which changes ADR 0664 §3: a key whose error opens `transport
fault:` is built again, once, as a new revision of the key (ADR 0429 §18), on the first event after its failure
that says its cause passed. Two events say so (ADR 0673 §2): the node-engine seat's `running.<node>.<module>`
saying `running` for a module whose module graph entry claims the build seat the failed step ran on (§546), on
saying `running` for a module whose catalog graph entry claims the build seat the failed step ran on (§546), on
any node; and the node-engine seat's `manifest-reads-changed` of the node the failed step ran on with `why`
`returned` (ADR 0618 §4, ADR 0668 §4; §590), which it says when that node is heard again after being away. One
saying `why` `started` builds nothing again. The builder hears both through its consumers of the node-engine seat, read as §556 has it.
@@ -472,7 +472,7 @@ form only. A note that corrects a line of G-12 or G-14 is written in that line;
## The indexer's forms
- §578 **`manifest-digest` carries its prefix, and the key does not.** (§506, §445) The module graph entry's field
- §578 **`manifest-digest` carries its prefix, and the key does not.** (§506, §445) The catalog graph entry's field
`manifest-digest` is `sha256:` followed by the 64 hex digits, as every digest a record names. The module's value
and §445's `manifests` key stay the 64 hex digits as on main, since a key's name takes no `:` (§73), and mesh-sdk's
catalog client gives the bare digits as today. The indexer writes all three from the one digest it computed at take-in.
@@ -481,7 +481,7 @@ form only. A note that corrects a line of G-12 or G-14 is written in that line;
prefix equals the key's name and the module's value.
- §579 **The indexer keeps the records pinning each revision, and removes a revision only on an event.** (§153,
§178, §216)
- **Where.** The indexer, a foundation part, keeps its old `state` section `pins`: one key per module graph
- **Where.** The indexer, a foundation part, keeps its old `state` section `pins`: one key per catalog graph
revision, `<branch>.<revision>` (the watched branch and the revision's id, each escaped as a key's name is, §73),
whose value is the list of delivery record ids that pin it. A list of ids is kept rather than a count, so a
`pinned` heard twice pins once. At about 20 revisions pinned a day for 90 days, about 1,800 keys of about 0.2 KiB
@@ -505,7 +505,7 @@ form only. A note that corrects a line of G-12 or G-14 is written in that line;
`pins-stated` said after its state `pins` was made. It judges on applying `freed`, on a revision ceasing to be
current, on being caught up, and at its start after both of these hold, when it judges every kept revision, so a
stop between a take-in and a removal keeps nothing for ever. Never on a timer.
- **Inputs.** A module graph revision names no input revision. "The input revisions it names" (§178) are an
- **Inputs.** A catalog graph revision names no input revision. "The input revisions it names" (§178) are an
assignment graph revision's catalog revisions, which a delivery record pins itself (§153), so the indexer keeps
each by its own list alone.
- **The assigner** keeps its pins of assignment graph revisions in the same form and by the same rules: its old
@@ -70,7 +70,7 @@ answer of 2026-11-11, between 15:14 and 15:42 CET. A line of another file that o
- **By itself, on an event.** The operator, 2026-11-11 between 15:14 and 15:42 CET at lead-47's terminal, decided by
ADR 0674 (the builder's publish again), which extends ADR 0673 to publishes: the builder
publishes again, by itself, every reserved version `version-unreleased` names (§369), on the node-engine seat's
`running` of a module whose module graph entry claims the registry seat of the missing artifacts' kind, on any
`running` of a module whose catalog graph entry claims the registry seat of the missing artifacts' kind, on any
node, and on the node-engine seat's `manifest-reads-changed` with `why` `returned` of the node that holder runs on
(ADR 0673 §2, §590); one with `why` `started`, or with none, publishes nothing. No timer. The builder's manifest
`consumes` both events (it does for ADR 0673 already).
@@ -116,9 +116,9 @@ answer of 2026-11-11, between 15:14 and 15:42 CET. A line of another file that o
- §589 **`builder_build` answers a module's build keys whole.** (§348, §568, §575; *one-question-one-tool*) The
builder's tool `builder_build` (class `read`) takes `module` and, optional, `fingerprint`. With `fingerprint`, it
answers that key whole; with `module` alone, the module's build keys newest first, at most 20, each with its
`fingerprint` whole (the build-input fingerprint as the module graph entry carries it, never cut), `state`
`fingerprint` whole (the build-input fingerprint as the catalog graph entry carries it, never cut), `state`
(`queued`, `building`, `done` or `failed`), the key's revision and since when, the step and its node, the error
whole, `event-builds` and the open ask (§568), and `newest: <branch>` for each watched branch whose newest module
whole, `event-builds` and the open ask (§568), and `newest: <branch>` for each watched branch whose newest catalog
graph entry of the module names that fingerprint, read from the builder's own view of the catalog half (§348). A
module none of whose keys the newest entry names says so, naming the entry's fingerprint. Beside it,
`builder_builds_since` gains `module`, which narrows its answer to that module's builds, and `builder_stuck`
@@ -205,9 +205,9 @@ answer of 2026-11-11, between 15:14 and 15:42 CET. A line of another file that o
## Readers of a module's manifest
- §594 **The readers take a module's manifest from its module graph entry.** (§196, §421, §443, §445; ADR 0656 §6,
- §594 **The readers take a module's manifest from its catalog graph entry.** (§196, §421, §443, §445; ADR 0656 §6,
ADR 0615 §1) The holders of `mesh-config`, `mesh-provisioner` and `mesh-self-check`, and the claude-code module,
read a module's manifest from the module graph entry that carries it whole (§443), taken through
read a module's manifest from the catalog graph entry that carries it whole (§443), taken through
`meshcatalogclient`'s view of the catalog half, which follows each watched branch's newest `catalog-revision` and
asks `revision` again on a gap (§196). None reads a manifest by digest from the indexer, its state `manifests` or
its tools: `manifests` is kept only for node-engines from before G (§445). Why: test 61's "no call of the indexer
@@ -170,7 +170,7 @@ for several build maps is answered once, and the maps' names for it are given in
every finding that view raised (`first-view-unanswered`, `view-waits`, `view-unsaid`, `view-too-large`), says the
drop and each cleared finding in the part's log, and removes the view's row of `<module>_first_views` [D-12].
This is the one form for every reader of which modules exist and of the module graph's entries: the tool runner
This is the one form for every reader of which modules exist and of the catalog graph's entries: the tool runner
(its owner of the assigner's views, §616, and its branches, [mesh-tools Q-R12]), the grants part [D-5], the
readers of §594, the node-engine (§421) and the Go build module (§615); and it answers mesh-sdk's question on
§532. Why: the same question came from five build maps, each about to build its own form (develop's D-5). How it
@@ -181,7 +181,7 @@ for several build maps is answered once, and the maps' names for it are given in
runner), a part started with one branch at `none-yet` acts once every first view is in; a dropped branch's findings
are cleared; whole (node-engine), a want composed with no branch view and no `source` answered.
- §615 **The tool runner's and the Go build module's manifests come from the entry too.** (§594, §614, §443, §445,
test 61) The mesh MCP server of the tool runner takes each module's manifest from its module graph entry, through §614's
test 61) The mesh MCP server of the tool runner takes each module's manifest from its catalog graph entry, through §614's
reader; its first view of the indexer's `manifests` and its `consumes` of `mesh-delivery-indexer.views.manifests`
go [mesh-tools Q-R2]. The Go build module's compose ask takes each manifest whole from the entry its fingerprint
names, by `seat:mesh-catalog.entry` (§506's `manifest-digest` naming the entry's), and its `invokes` of
@@ -466,7 +466,7 @@ for several build maps is answered once, and the maps' names for it are given in
- §663 **The condition keeper's sources are the bus module's `created` events, and it follows a moved stream.** (§515,
§529, §611, §612) The keeper takes a source when it hears the seat `mesh-broker`'s `created` of a part's
`finding-events` entry, named in its `consumes`, and a foundation part's old finding stream from the catalog half
(§614); at its start it reads both by `list` and the catalog half. When a part's module graph entry no longer
(§614); at its start it reads both by `list` and the catalog half. When a part's catalog graph entry no longer
declares the stream the keeper follows for it (its findings moved to a template, §611, or to an old section, §612),
the keeper drops that source (the grants part its consumer, §690), keeps the part's open conditions, and asks `findings-asked` on the
new stream once it is a source; the part's statement there settles them (§384). §515 is corrected so.
@@ -110,7 +110,7 @@ node-engine keeps and the grants part's first composition (§682 to §684); the
seat server: the waiting calls with their caller, ask and state, the `act.` keys and the claims, never an argument
of a call it was not asked by that call's caller.
- **A holder that does not check is never reached.** The grants part composes, for a module's process that serves
a marked verb, the subscription of that verb's subjects only when the module graph entry of the build its want
a marked verb, the subscription of that verb's subjects only when the catalog graph entry of the build its want
names (heard by `wanted`, §344) declares that `approvals` entry, which only a build of G's seat server passes the
validator with, so a G holder is granted before it subscribes; otherwise it composes the subscribe deny design 46
7-approval-mark §6 composes for a runner that does not state `approval-mark/1`, named in `withheld` with "its
@@ -307,7 +307,7 @@ node-engine keeps and the grants part's first composition (§682 to §684); the
full pass waits on the gate's G version (kind 6), while the gate's G version waits on the grants part composing its
account (kind 5). So, until every branch it follows has its first view, the grants part keeps the user list it last
wrote and composes, for a want whose account it holds none of or whose fingerprint changed, that one account from
the want's module graph entry by fingerprint (§614, *An older build's entry*) and the assigner's views alone, as it
the want's catalog graph entry by fingerprint (§614, *An older build's entry*) and the assigner's views alone, as it
composes any account, every marked subject in it denied while the marks are unread (design 46
7-approval-mark §19); it writes that account into the user list it keeps, and says in its log and in
`<module>_first_views` that it composed it before its first views. Its full pass, once the first views are in,
@@ -379,7 +379,7 @@ node-engine keeps and the grants part's first composition (§682 to §684); the
- §690 **Who drops the keeper's consumer of a moved finding stream, and the gate's `source` in mesh-contracts.**
(§386, §611, §612, §614, §663, §684) [D-25, mesh-catalog COND9.]
- **The grants part drops it.** The grants part, which makes the keeper's consumers (§386), deletes the keeper's
durable consumer on a part's stream at its first composition from a module graph entry of that part that no
durable consumer on a part's stream at its first composition from a catalog graph entry of that part that no
longer declares the stream, and makes the consumer on the new stream from the same entry, as §386 does for a
module that declares the events later. The keeper deletes no consumer: when it hears, through its catalog half
reader (§614), the part's new entry, it stops reading the old source and keeps the part's open conditions.
@@ -45,7 +45,7 @@ One file of milestone G's part of [design 47](../47-delivery-from-commit-to-deli
beside it, `<state>-objects`, a template form of ADR 0595 that the bus module provides and the grants part grants to
the state's owner alone (ADR 0666 §16); a foundation part's large values go in an old `objects` section of its own.
Its size is the template's (ADR 0595 §3). An object store holds no space until a value is written to it, so the many
it adds reserve nothing; the few values over the limit (a delivery record, a module graph revision list, a test's
it adds reserve nothing; the few values over the limit (a delivery record, a catalog graph revision list, a test's
output) are estimated, as a guess, at under 1 GiB across the mesh.
- §59 **An object sent is readable by the modules it is for.** (§533) A reply's or an event's object is written to the sender's
**sent store**, `<module>_sent-objects`: the bus module plans it, with no manifest field, for every module of the new
@@ -55,9 +55,9 @@ One file of milestone G's part of [design 47](../47-delivery-from-commit-to-deli
event, read within its call's bound or its consumer's lag, so its expiry is not a removal of kept data that ADR 0595
§4 holds to a person's word (the design's choice; 7 days is a guess at the longest a consumer lags, read from the
fill tools once G runs). A full sent store is the bus module's `full` and its condition (ADR 0595 §6), and the sender
then refuses the large reply or event loudly, naming the store. The grants part derives from the module graph (§442), never from a manifest, a standing grant to read them: the
then refuses the large reply or event loudly, naming the store. The grants part derives from the catalog graph (§442), never from a manifest, a standing grant to read them: the
callers its seat definition names for the verbs it serves, and the consumers whose `consumes` declare its events;
no other module may read them (ADR 0666 §16). The grant follows the module graph, so it is written at each `catalog-revision` that changes it,
no other module may read them (ADR 0666 §16). The grant follows the catalog graph, so it is written at each `catalog-revision` that changes it,
never per object. A consumer's reader of
the form is delivered before its producer writes it, an edge of kind 4.
- §60 **Its tools come with the package.** The package serves each module that imports it `<module>_state_objects` (the
@@ -240,7 +240,7 @@ and an estimated 2 mesh-sdk publishes a day, each rebuilding about 120 artifacts
| the teller | `widens-said` (§335) | the template `state` | until the branch is unwatched | a few KiB; the template's |
| each build module | `detected-steps` (§326, §414) | the template `state` | one key per artifact, dropped by `steps` with `drop` | under 1 MiB; the template's |
| the indexer | `registrations` and its stream `registration-history` | old `state` and `streams` sections | the life of the mesh, never derived again | 64 MiB (*A module's registration*) |
| the indexer | module graph revisions, per watched branch | objects in the old form (ADR 0619 §2) | while a record pins it or it is its branch's current | 512 MiB, as *Two graphs, one source of truth*; a second watched branch on a few modules adds a few MiB |
| the indexer | catalog graph revisions, per watched branch | objects in the old form (ADR 0619 §2) | while a record pins it or it is its branch's current | 512 MiB, as *Two graphs, one source of truth*; a second watched branch on a few modules adds a few MiB |
| the gate | `source`: one key per watched branch | its old `state` section, as today | 64 revisions of each key; a branch's key deleted when `registration-changed` says the last registration watching it unwatched it (`unwatch`) | a few KiB |
| the forge module | `failed-steps`: failed `required` steps by module and fingerprint, with the commits each was seen at, and the `seen` keys of §487 | state | an entry deleted once none of its commits is a watched branch's head or the head an open pull request names, judged on each `branch-moved` and each pull request's close | the template's 64 MiB; an estimated 50 failed steps a day of about 0.5 KiB, most gone within days, is under 1 MiB; the `seen` keys under 3 MiB (§487) |
| every module that imports the object store package | `<state>-objects` beside each state | objects | an object no key names, its key deleted or its value replaced, until `<module>_state_objects_drop` on a person's word (ADR 0595 §4, ADR 0666 §16) | the template's; nothing reserved until written |
@@ -278,7 +278,7 @@ step keys and the builder's build log, against the checker's last week (test 99)
them; the manifest validator for the manifests' new words (`version`, §368; a `*` emitter in `consumes`, §386; the
finding stream an observer declares, §383, §387) and the grants part that makes a `*` entry's durable consumers
(§386), before the keeper's or any observer's manifest using them; on each node the node-engine that reads `form`
and `catch-up` from the module graph before any manifest writing them. The manifest validator the running checker asks for G's own check is the indexer's, so the reading
and `catch-up` from the catalog graph before any manifest writing them. The manifest validator the running checker asks for G's own check is the indexer's, so the reading
of these words goes in the reader release of §340, whether or not that validator already takes one of them.
- §90 **The stream maker first** (ADR 0667 §5): the grants part, which makes each kept seat stream and its durable
consumers, before the parts that hear a kept stream.
@@ -344,7 +344,7 @@ step keys and the builder's build log, against the checker's last week (test 99)
| §121 The six kinds derived from existing words, `needs` per artifact only where nothing says it | one form of each fact (ADR 0656 §6); the catalog entry's `needs` already exists from G |
| §122 The cycle rule in the indexer's graph | the graph is the indexer's, and the checking program goes with the checker |
| §123 The builder's seat `mesh-builds` and its event `package-published` | the record has the builder say the publication as an event of its seat (ADR 0666 §15); its waits move only when a later change gives the seat its verbs |
| §124 Each state's object store `<state>-objects` through mesh-sdk's small package, sent objects readable by a standing grant derived from the module graph, and the package's two tools | one object store per state, granted to its owner; the sender's declared callers and consumers read what it sends (ADR 0666 §16); only its users import it, so nothing else is rebuilt |
| §124 Each state's object store `<state>-objects` through mesh-sdk's small package, sent objects readable by a standing grant derived from the catalog graph, and the package's two tools | one object store per state, granted to its owner; the sender's declared callers and consumers read what it sends (ADR 0666 §16); only its users import it, so nothing else is rebuilt |
| §125 The `run` ask published by the runner's account and the indexer's; the verb `run` called by the sessions and the operator only | the steps and the validation run code from the change, in the sandbox only, and each asker reads only its own step keys (ADR 0363 §2); a run publishes tagged packages, so nothing else may ask one |
| §126 The checker's step `check` becomes `pipeline`; `kept` starts empty | the runner is an acting part in the checker's place (ADR 0666 §19); a step's result is taken only from its seat holder (ADR 0666 §21), so no verdict of the checker's is taken in, at the cost of one round of every module's tests |
| §127 The field `callers` in a seat definition replaces the holders' trusted `callers`, a missing field taking the default of the verb's `class` (§391) | the record makes the definition the grants part's one source (ADR 0666 §20); a field left out must open nothing |
@@ -50,7 +50,7 @@ design's choice within the record it cites, tested against [the principles](../.
order for the assigner's `Compute`. A catalog entry's `requires` stay bare provision names. For each requirement
R of a placed module on node N, in this order:
1. **The named seat's holder.** The seat whose definition's field `delivers` (mesh-sdk `seatdef`) is R, among the
seat definitions the entry's module graph revision names in its `definitions` (each read whole through the
seat definitions the entry's catalog graph revision names in its `definitions` (each read whole through the
seat `mesh-catalog`'s verb `seat-definitions`, as every part reads the catalog half). Its holder is read from
the same revision's placements, from their `holds`, as the assigner's state `seat-holders` keeps them: the key
`<seat>` for a seat held once for the mesh, `<seat>.<N>` for a node seat. A seat that delivers R and that no
@@ -138,7 +138,7 @@ design's choice within the record it cites, tested against [the principles](../.
§569, A-208) This completes §47's row 5 for the indexer, which writes a catalog entry's edges (A-208).
- **The entry's `acts`.** The indexer fills a catalog entry's field `acts` when it makes the entry: for each seat
its manifest's `claims` names, each acting rule that seat's definition carries, among the definitions the entry's
module graph revision names in its `definitions` (read through the seat `mesh-catalog`'s verb
catalog graph revision names in its `definitions` (read through the seat `mesh-catalog`'s verb
`seat-definitions`, as §708), as one item `{seat, step, on, bound}`: `seat` the claimed seat, `step`, `on` and
`bound` as the definition writes them, `bound` left absent where the rule names none (its step's default, §266,
is the reader's). Items sorted by `seat`, then `step`; a module that claims no seat with a rule has no `acts`. It
@@ -116,7 +116,7 @@ the principle that settles it, cited as "design 47 G A-n".
found by holder from the seat list; the acting rules `step`, `on` and `bound` and the credentials the entries
declare), and the grants part's `grants-for` (the permissions); no other verb.
- **A-208** (ADR 0656, §558, §605, §16, §293, §600, §18, §104, §44-§46, A-93, A-190; principle 7) The indexer writes a
catalog entry's edges of kinds 1 to 6, as the module graph is its own; the long form of `invokes` is read by the
catalog entry's edges of kinds 1 to 6, as the catalog graph is its own; the long form of `invokes` is read by the
second reader release's `InvokeFields`, which G merges. Every watched branch's take-in uses the trunk's machinery,
per branch: its own pending revision (holding only that branch) and its own groups. `stepsVia` is open while the
entry's fingerprint is still in the branch's newest revision; `messageVia` while a pending entry names the merge or
@@ -509,7 +509,7 @@ the principle that settles it, cited as "design 47 G A-n".
step key that names them: the store's age is the steps state's time to live (two days), its cap 256 MiB, and the
bus's own age removes an object; nothing else deletes one. The milestone's lifetime list gains this line.
- **A-310** (§615, §506; principles 7 and 3) A compose request's manifest named by digest also names the fingerprint
whose module graph entry holds it: `composer.Manifest` gains `fingerprint` beside `digest`, and the checker, the one
whose catalog graph entry holds it: `composer.Manifest` gains `fingerprint` beside `digest`, and the checker, the one
part that sends digests, fills it (a pull's `Fps`, else the trunk revision's entry of that module). The Go build module
reads the entry by `seat:mesh-catalog.entry` with that fingerprint, takes its manifest whole, and refuses the request,
saying which module, when the entry's `manifest-digest` differs or a digest comes without a fingerprint. A manifest
@@ -609,7 +609,7 @@ the principle that settles it, cited as "design 47 G A-n".
§49's: where the build edge (kind 3) goes out of an artifact of a module that holds a build seat into an artifact it
builds, the running version builds the new one (§270), so the cycle is broken at the running version and is allowed.
Every other cycle with a build edge is refused at take-in, naming every artifact on it (§49, §51); the indexer builds
that rule in G, over the module graph it keeps. An edge of kind 4 names the artifact that offers the provision (its
that rule in G, over the catalog graph it keeps. An edge of kind 4 names the artifact that offers the provision (its
`answered-by`), not the module's first process resource.
- **A-327** (§21, §23, §54; principles 1, 3) A pipeline started before its module has a registration is placed when the
registration arrives: the runner, on `registration-changed`, places from the registration the steps of every pipeline of
@@ -929,7 +929,7 @@ the principle that settles it, cited as "design 47 G A-n".
assignment graph's requirement resolution and the order waits keep reading holders from the holds alone; the post-G
remarks take that up with the rest of the holders question.
- **A-401** (live, the control-node 2026-11-14 21:5x: the assigner ended every proposal, since f1-circuits (watched on
`master`), link2pay and photos (watched on nox-mesh) are held in no module graph of their branch; the gate writes
`master`), link2pay and photos (watched on nox-mesh) are held in no catalog graph of their branch; the gate writes
`source.<branch>` only on a take-in of a merge on that branch (A-34), so a newly watched branch is never started; the
operator, 2026-11-14 about 22:00: "by doing a git clone"; principles 2, 4 and 7, §15, §430, A-85, A-93) A watched branch
starts from the forge, as a clone does. The gate, at its start and on each `registration-changed` of the seat
@@ -1270,13 +1270,13 @@ the principle that settles it, cited as "design 47 G A-n".
Go fetch's one caller with no `dir` is that check, and a fetch with no `dir` still fetches the tree whole for it;
every pipeline step and build names its module (A-447 to A-447c). The refusal of a fetch with no `dir` lands with
the checker's removal.
- **A-448** (§476, §493, §200; principles 3 and 7) `take-in.taken` names the module graph revision the take-in made
- **A-448** (§476, §493, §200; principles 3 and 7) `take-in.taken` names the catalog graph revision the take-in made
(`revision`), written by the indexer with the event. The runner starts each pipeline of a take-in at that revision,
never at the revision its own view holds; while its view holds an older one, it waits for it (§200) and places no step.
(Live, 2026-11-16: main.947 was started at revision 356 while its take-in made 357; its composition read 356 after
the indexer had removed it.)
- **A-449** (§153, §579, design 47's "kept while a delivery record pins it or it is current"; principle 7; corrected in
place by design 47 H §763, H §749) A pipeline pins its module graph revision: the indexer pins it in the take-in's
place by design 47 H §763, H §749) A pipeline pins its catalog graph revision: the indexer pins it in the take-in's
write (A-449a) or on the runner's `pipeline-started`, and frees it on the runner's `pipeline-ended`, so the indexer
keeps the revision while any pipeline runs on it. The runner says no `pinned` or `freed` of the seat
`mesh-delivery`; those stay the gate's alone (§153).
@@ -1287,7 +1287,7 @@ the principle that settles it, cited as "design 47 G A-n".
- **A-226b** (completes A-226 and A-167; ADR 0593 §7; principles 7 and 9) The seat `node-engine`'s `compose-candidate`
takes three key forms, parsed by one parser in the seat's client (`nodeengineclient`) that every caller builds its key
with: a check's candidate `<group>.<heads hash>` (as today), a branch pipeline's revision `<branch>.<revision>` and a
run's `run-<id>`. For a revision key the node-engine reads that module graph revision's entries through
run's `run-<id>`. For a revision key the node-engine reads that catalog graph revision's entries through
`mesh-catalog.revision` and composes them as the candidate; for a run's key it reads the run's candidate from the
indexer's `runs` state. The seat definition's `candidate` input names the three forms. The assigner builds its key
with the client's builder, never by hand. (Live, 2026-11-16: main.948's composition step: "\"main.362\" is not a
@@ -17,13 +17,13 @@ deals with it, which is how the list is kept true.
## The operator's remarks (2026-11-14, deferred until G is live)
1. **Two graphs only:** the module graph and the assignment graph. Each node's modules publish the state they own and
1. **Two graphs only:** the catalog graph and the assignment graph. Each node's modules publish the state they own and
the version they run on the bus; a gap between the assignments and what a node says is closed by the node-engine.
2. **What a node can run is checked only on assignment and un-assignment** (for the modules that depend on it), never
as an input to every computation. The glossary's *assignment graph* and ADR 0656 say the assigner computes from the
module graph, the placements and the nodes' capabilities: check the record and the code against this.
catalog graph, the placements and the nodes' capabilities: check the record and the code against this.
3. **Assignments enter as commands** (the seat `mesh-module-assigner`'s `propose`: place, take off, ...); the assigner
computes no placement, it only derives each placed module's version from the module graph into the wants. Check the
computes no placement, it only derives each placed module's version from the catalog graph into the wants. Check the
glossary's wording against this.
4. **A pin** ("use this provider for this provision") may not belong in the assignments at all: question it, and what
the provision wiring should be instead.
@@ -234,7 +234,7 @@ graphs answer them, the second computed from the first, so there is one source o
Findings 11). How each is kept, read and retained is this design's choice under ADR 0656.
```
manifests ──► indexer (mesh-catalog) ──► module graph revision ──┐
manifests ──► indexer (mesh-catalog) ──► catalog graph revision ──┐
├──► assigner (mesh-wants) ──► assignment graph revision
placements (mesh-module-assigner) ───────────────────────────────┤ │ │
node capabilities (node-engine seat) ────────────────────────────┘ │ └─► wants, from a trunk revision only
@@ -242,22 +242,22 @@ Findings 11). How each is kept, read and retained is this design's choice under
a change's assignment graph − the current one = its graph difference = its delivery
```
- §174 **The module graph is the indexer's.** The indexer, holder of the seat `mesh-catalog`, keeps the modules as their
- §174 **The catalog graph is the indexer's.** The indexer, holder of the seat `mesh-catalog`, keeps the modules as their
manifests declare them; it is today's module graph, and *module graph* stays its other name (ADR 0656). At each
revision it holds one entry per module: its bases, its packages, the toolchain version and recipe version of the
build module that builds it as ADR 0603 §2 has them, its provides and requires, its invokes and serves, and its
fingerprint, with the rules the seats declare (*An acting part's new version acts first*, below).
- §175 **The assignment graph is the assigner's, computed and never written by hand.** The assigner, holder of the seats
`mesh-module-assigner` and `mesh-wants`, computes the module versions placed on nodes, with the edges between
versions, from the module graph, the placements and the nodes' capabilities, and nothing else writes it
versions, from the catalog graph, the placements and the nodes' capabilities, and nothing else writes it
(ADR 0656). Each entry is one module version on a node; its edges are provisioning, contribution, and the acting
parts' versions that are to act on it (ADR 0656), whose rules and versions come in with the module graph. It is
parts' versions that are to act on it (ADR 0656), whose rules and versions come in with the catalog graph. It is
kept, but it is no stored plan: it has one writer, no part orders work by a stored plan, and any revision is computed
again from the inputs it names and compared with the one kept, by a tool (below), so a kept revision is a checked
derivation, never a second source of the kind research 063 removed (research 085, Findings 5).
- §176 **Each graph is kept per revision, and each revision names its inputs** (ADR 0656). The indexer keeps a module
- §176 **Each graph is kept per revision, and each revision names its inputs** (ADR 0656). The indexer keeps a catalog
graph revision for each source revision it takes in; the assigner keeps an assignment graph revision for each change
of its inputs, naming the module graph revision, the placements and the capability readings it was computed from.
of its inputs, naming the catalog graph revision, the placements and the capability readings it was computed from.
Both parts are the foundation (ADR 0619 §1), so both keep their revisions as objects declared in an `objects`
section in the old form, each with a cap it declares there, never in the new form (ADR 0619 §2), and neither waits
on the bus module to start; the manifest validator refuses either manifest that declares them in the new form
@@ -265,8 +265,8 @@ Findings 11). How each is kept, read and retained is this design's choice under
verbs. This replaces ADR 0603 §2's one key per module with five past values as the graph's form (ADR 0656, which
changes ADR 0603 §2); the keys are written no more, and a revert of milestone G restores them from their backup
(*Reverted*, below).
- §177 **A revision is made by a merge, and also with no merge.** The indexer makes a module graph revision when it
takes a source revision in. The assigner makes an assignment graph revision on each new module graph revision, on
- §177 **A revision is made by a merge, and also with no merge.** The indexer makes a catalog graph revision when it
takes a source revision in. The assigner makes an assignment graph revision on each new catalog graph revision, on
the seat `mesh-module-assigner`'s event `assignments-changed` (ADR 0567 §5, ADR 0641), and on the node-engine seat's event
`manifest-reads-changed`, which a node-engine says when the capabilities it states change and when its node returns
(ADR 0614 §4, ADR 0618 §3, §4; §590), so the assigner follows an event and never reads a node record across the seam (ADR 0596). A
@@ -286,12 +286,12 @@ Findings 11). How each is kept, read and retained is this design's choice under
revision whatever changed, and a cap would only delay the same fill.
- §180 **The caps and the growth** (estimates, to be read from the fill tools once the milestone runs). A whole assignment
graph revision of about 120 modules on four nodes is under the bus's 256 KiB value limit (its unit test), and a
module graph revision's list of about 120 entries about 4 KiB, its entries, each carrying its manifest whole
catalog graph revision's list of about 120 entries about 4 KiB, its entries, each carrying its manifest whole
(§443), about 15 KiB each. A record pins the revisions before and after its
delivery, and consecutive records share one, so at an estimated 20 deliveries a day about 20 revisions of each graph
a day stay pinned. A delivery moving 5 modules on four nodes adds about 20 assignment entries of about 1 KiB and a
list of about 15 KiB, and 5 catalog entries of about 15 KiB and a list of about 4 KiB: about 0.7 MiB a day of assignment graph and
1.6 MiB of module graph, about 63 MiB and 144 MiB at the records' default retention of 90 days. The caps are 512 MiB
1.6 MiB of catalog graph, about 63 MiB and 144 MiB at the records' default retention of 90 days. The caps are 512 MiB
for each, many times the steady state. Placement-only and capability-only revisions are pinned by no record and go
when they stop being current.
- §181 **A store filling is said before it is full.** The indexer, the assigner and the gate each say their fill against
@@ -309,9 +309,9 @@ Findings 11). How each is kept, read and retained is this design's choice under
- §183 **The want stays the one record a node reads.** The assigner writes `want.<node>.<module>` from a trunk
revision's assignment graph only; a node-engine reads its want, never the assignment graph, and the have stays what
it runs (ADR 0656, which changes ADR 0571 §8).
- §184 **From G's delivery, per watched branch and between artifacts.** The module graph is kept once per watched branch,
- §184 **From G's delivery, per watched branch and between artifacts.** The catalog graph is kept once per watched branch,
each revision naming its branch, and its edges run between artifact references, of the six kinds of *Dependencies
between artifacts* (ADR 0666 §6, §14). The assigner computes a node's entries from the module graph of the branch its
between artifacts* (ADR 0666 §6, §14). The assigner computes a node's entries from the catalog graph of the branch its
placement names, and writes a want from a revision of that branch whose `required` steps passed, in place of a trunk
revision's alone (ADR 0666 §9, which changes ADR 0656 §2).
- §185 **Reverted.** Only the new form is written: the indexer, the assigner and the gate keep nothing of ADR 0603 §2's
@@ -323,7 +323,7 @@ Findings 11). How each is kept, read and retained is this design's choice under
| Part | Kept data before G (form 0) | After G | Restored at a revert |
|---|---|---|---|
| the indexer | the state `modules` (ADR 0603 §2's one key per module) and its durable consumer's position on the forge bridge's stream `forge`; the states `holds`, `engine-reads` and `hold-bounds` of its mesh-wide hold | module graph revisions as objects, form 1; `modules` no longer declared, nor its tool `indexer_read_modules` or its view; the mesh-wide hold, its three states and its tools `indexer_holds` and `indexer_engine_reads` gone, the wait per node being the assigner's (*Composing waits per node, by the assigner*); every reader of it reading the catalog half (*Every other reader of which modules exist*, under *The revision view*, below) | yes: `modules` and the hold's three states as they stood at G's delivery, and the consumer's position |
| the indexer | the state `modules` (ADR 0603 §2's one key per module) and its durable consumer's position on the forge bridge's stream `forge`; the states `holds`, `engine-reads` and `hold-bounds` of its mesh-wide hold | catalog graph revisions as objects, form 1; `modules` no longer declared, nor its tool `indexer_read_modules` or its view; the mesh-wide hold, its three states and its tools `indexer_holds` and `indexer_engine_reads` gone, the wait per node being the assigner's (*Composing waits per node, by the assigner*); every reader of it reading the catalog half (*Every other reader of which modules exist*, under *The revision view*, below) | yes: `modules` and the hold's three states as they stood at G's delivery, and the consumer's position |
| the gate | the states `merges` and `turns` | the delivery record's ledger, form 1; `merges` and `turns` no longer declared | yes: `merges` and `turns` as they stood at G's delivery |
| the assigner | the wants, written from the indexer's `modules` | the same wants, form 0, written from the assignment graph; the assignment graph revisions as objects, form 1 | no |
@@ -341,7 +341,7 @@ Findings 11). How each is kept, read and retained is this design's choice under
### A change's graph difference is its delivery
- §186 **The difference names everything a plan named.** (§512) For a change (a pull request's heads, a delivery group's
heads, or a merge), the indexer gives its module graph and the assigner its assignment graph. Compared with the
heads, or a merge), the indexer gives its catalog graph and the assigner its assignment graph. Compared with the
current revision, the difference names the new versions, the moved edges, the touched nodes and the order, read off
the edges, and no plan is stored (ADR 0656). The assigner serves it by the seat `mesh-wants`'s verb `difference`,
for two revisions of the assignment graph or for a candidate against trunk. ADR 0603 §6's tiers, as ADR 0633 §5
@@ -42,10 +42,10 @@ One file of milestone G's part of [design 47](../47-delivery-from-commit-to-deli
### The revision view
- §194 **A pair, each half served by its one owner** (ADR 0656). For a trunk revision, or for a candidate's heads before
any merge, the indexer serves the catalog half by the seat `mesh-catalog`'s verb `revision`: the module graph, the
any merge, the indexer serves the catalog half by the seat `mesh-catalog`'s verb `revision`: the catalog graph, the
heads, the seat definitions, the manifests' verdicts and the fingerprints. The assigner serves the assignment half by
the seat `mesh-wants`'s verb `revision`: an assignment graph revision, named by its own revision and naming its
inputs, the module graph revision, the placements and the capability readings. A part's view for the current
inputs, the catalog graph revision, the placements and the capability readings. A part's view for the current
revision is the newest assignment half and the catalog half it names. `seat-definitions` stays the seat list's verb
(ADR 0636 §4), and the catalog half carries the same definitions at its revision.
- §195 **Every part takes a first view, then follows the events.** The checker, the builder, the grants part and the
@@ -69,7 +69,7 @@ One file of milestone G's part of [design 47](../47-delivery-from-commit-to-deli
module, names the seat and never the indexer, and keeps no list of its own (ADR 0656 §6, ADR 0596 §2; ADR 0615 §1,
under which every reader of the indexer's state moves in one milestone). A reader that misses a `catalog-revision`
(a gap in the revisions it heard) asks `revision` once more, said in its log (ADR 0615 §5). The design's choice
under ADR 0656 §6: one form of the fact, never `modules` kept beside the module graph for these readers, which
under ADR 0656 §6: one form of the fact, never `modules` kept beside the catalog graph for these readers, which
would be a second source of the same fact. How it is checked: test 61.
- **The forge module's tools come from mesh-sdk's TypeScript side.** mesh-sdk's TypeScript side has no view
today; milestone G adds there a view follower with its read and ask-again tools, which adopts and drops a branch's
@@ -108,7 +108,7 @@ One file of milestone G's part of [design 47](../47-delivery-from-commit-to-deli
indexer's whole-module test, started with a definition on a contracts trunk that no event announced, the first
manifest claiming that seat is judged with it.
- §199 **Who holds a seat is applied by one rule, from what each node runs.** (§556) The node-engine and the grants part decide a
seat's pass by mesh-sdk's `SeatsToPassOn` (ADR 0660 §3), reading the module graph's entry of the build each assignment
seat's pass by mesh-sdk's `SeatsToPassOn` (ADR 0660 §3), reading the catalog graph's entry of the build each assignment
runs, never a manifest (ADR 0660 §2; §442). What each node runs is heard, never asked: each part keeps it from the node-engine seat's events
`running.<node>.<module>` (*What each step says*), through a durable consumer of its own declared in its `consumes`,
so a pass is decided with no call to a node that may be away. The seat's stream keeps the last message per subject
@@ -118,7 +118,7 @@ One file of milestone G's part of [design 47](../47-delivery-from-commit-to-deli
digest of the build's manifest, which is the indexer's manifest of that build (ADR 0660 §2's "the indexer's
manifest of it"), read by digest from the catalog half; the builder's done key is not needed, since the event names
the digest it would give. A node that has said no `running` for a module since the part's consumer began counts by
the module graph's entry of the module on its placement's branch, as ADR 0660 §2 has it where the running build cannot be read, and both parts apply that same
the catalog graph's entry of the module on its placement's branch, as ADR 0660 §2 has it where the running build cannot be read, and both parts apply that same
fallback in the one function (ADR 0660 §3), whose input is §459's. Never another node's have key, its want or the assignment half (ADR 0596
§2; *Each part acts on its own entries*). The design's choice under ADR 0660 §2: the node that runs a build says what
it runs, and an event kept by a durable consumer answers when that node is away. How it is checked: test 56.
@@ -147,7 +147,7 @@ One file of milestone G's part of [design 47](../47-delivery-from-commit-to-deli
naming the language of the modules it acts on, matched against what the manifest says its language is, as the
indexer's language map matches today; and `bound`, how long an entry waits in that step for the acting part's new
version (*An acting part's new version acts first*, below, gives each step's default). The definition format's own
schema (design 26) gains the field, and the format stays 1. The indexer reads it into the module graph, the assigner
schema (design 26) gains the field, and the format stays 1. The indexer reads it into the catalog graph, the assigner
into edges, and the checking program from the revision view. **Its cost in mesh-sdk:** the seat-definition reader in
mesh-sdk's runtime refuses a definition with a field it does not know or a format other than 1, so a reader built
before the field refuses every definition that carries `acts`, and a refused definition blocks new claims of that
@@ -236,7 +236,7 @@ One file of milestone G's part of [design 47](../47-delivery-from-commit-to-deli
| §234 Each step's wait held by the part that does the step, with its own read and release tools and the events `wait-held` (at the wait's start, with its bound) and `wait-ended`, timed by the watchman, whose clock starts when the new version's build is done | the part that does the step already holds its state; the watchman timing from `wait-held` still raises a wait whose holder stopped, and counting from the build done leaves a slow build to the build's own wait |
| §235 The bound per step in the acting rule, with a default per step | the time a step's new version needs is the acting part's to know, not another module's |
| §236 A build module's wait ends on the agreed toolchain naming the new build module | the agreed toolchain is what a fingerprint takes (ADR 0584 §1), so before it names the new build module no module could be built once by it |
| §237 The running indexer makes a module graph revision with the named indexer's entry | the newer indexer can then be wanted and granted, so a revision waiting for it is never stuck behind it |
| §237 The running indexer makes a catalog graph revision with the named indexer's entry | the newer indexer can then be wanted and granted, so a revision waiting for it is never stuck behind it |
| §238 The acting rule's field `acts` with `step`, `on` and `bound`, the definition format staying 1 | the steps and the language match are what the indexer's map and the checker's cases held in code (research 085, Findings 2); the reader refuses an unknown field, so the runtime learns it in the one rebuild the milestone makes |
| §239 The fingerprint handed as `MESH_FINGERPRINT` at a process's start | one value every runtime reads before anything else, a service and a container alike |
| §240 The delivery record's consumer, held and failed outcomes, end and `record-ended`, the finding `record-open`, node away and wake, switch done once, and tools | a restart must lose and double nothing; a reader sees why an entry stands still; a node asleep must not hold a delivery open; a switch run twice must ask no approved group again |
@@ -248,7 +248,7 @@ One file of milestone G's part of [design 47](../47-delivery-from-commit-to-deli
| §246 The seat list's reader and its two tools wired once by mesh-sdk's runtime | ADR 0636 §7 puts them in the runtime bundle; four hand-wired copies would each learn `acts` apart |
| §247 The trunk's heads from the catalog half, and nothing read of the gate by the checker | ADR 0596 §2; with the hold and turns removed nothing of the gate is left for the checker to read |
| §248 The indexer reads every contracts trunk's definitions at its start, before it judges | a definition merged while it was down is never judged against a list that lacks it (ADR 0636 §1) |
| §249 Another node's running build kept from the node-engine seat's `running` events by a durable consumer, the event carrying the fingerprint and the manifest's digest, the module graph's entry for a node that said nothing | ADR 0660 §2 reads the manifest of the build each node runs; an event kept by a durable consumer answers while a node is away, where a call would wait on it; one fallback in the one function keeps the two parts agreed (ADR 0660 §3) |
| §249 Another node's running build kept from the node-engine seat's `running` events by a durable consumer, the event carrying the fingerprint and the manifest's digest, the catalog graph's entry for a node that said nothing | ADR 0660 §2 reads the manifest of the build each node runs; an event kept by a durable consumer answers while a node is away, where a call would wait on it; one fallback in the one function keeps the two parts agreed (ADR 0660 §3) |
| §250 What the gate and the checker owe the forge said as the event `owed` per repository and pull request, each act safe to repeat at the forge, each outcome said as `owed.ended` and recorded, an unanswered act said again at the gate's start and stalled after 15 minutes | ADR 0596 §1, §2 end the watches of the gate's and the checker's keys; an act safe to repeat cannot be lost between the act and its record, where an id recorded first could; an outcome said and recorded leaves no act unseen |
| §251 A merge made at the forge opens a `forge-made` delivery record | its trace and outcomes are kept like every delivery's, and no later merge waits behind a merge the gate never heard |
| §252 Every delivery part and the gate reach the forge only through the seat `git`'s verbs and events, the act verbs granted by the holder's trusted `callers` to the forge bridge alone, a failed read answered as an error | the delivery parts name no other module (ADR 0656 §1, acceptance test 27); the forge's answers are typed in the seat's contract instead of guessed in each caller; the bridge stays the one part that acts on the forge; an error read as an empty answer would hide a forge down |
@@ -263,7 +263,7 @@ One file of milestone G's part of [design 47](../47-delivery-from-commit-to-deli
### What each step says
§260 Each step says what it did as its own event, the event of the part that did it. A module graph revision kept
§260 Each step says what it did as its own event, the event of the part that did it. A catalog graph revision kept
carries the source revision; an assignment graph revision kept and a difference worked out carry the source revision
and the assignment graph revisions; an entry taken in, built, checked, composed, wanted and running also carries the
entry's fingerprint and its node. The gate's delivery record is built from them. The seat's event comes first where
@@ -278,7 +278,7 @@ say another runs a build (ADR 0363 §2); the gate's events are granted to the ga
| Step | Event | Owner: the seat, then the module | Subject | Declared in |
|---|---|---|---|---|
| a module graph revision kept, saying whether it is a trunk revision or a candidate's and its watched branch | `catalog-revision` | `mesh-catalog`, the indexer | `mesh.seat.mesh-catalog.event.catalog-revision`, the watched branch in the subject from G's delivery | the seat's definition in `mesh-delivery-contracts` |
| a catalog graph revision kept, saying whether it is a trunk revision or a candidate's and its watched branch | `catalog-revision` | `mesh-catalog`, the indexer | `mesh.seat.mesh-catalog.event.catalog-revision`, the watched branch in the subject from G's delivery | the seat's definition in `mesh-delivery-contracts` |
| an assignment graph revision kept | `assignment-revision` | `mesh-wants`, the assigner | `mesh.seat.mesh-wants.event.assignment-revision` | the seat's definition in `mesh-delivery-contracts` (ADR 0641 §2) |
| a difference worked out | `difference` | `mesh-wants`, the assigner | `mesh.seat.mesh-wants.event.difference` | the same |
| an entry taken in | `take-in.taken`, which gains the entries | the indexer's own | `mesh.stream.mesh-delivery-indexer.event.take-in.taken` | the indexer's manifest |
@@ -309,8 +309,8 @@ on another node's subject is refused by the bus.
| Line | The assigner | The indexer |
|---|---|---|
| read everything it holds | `assigner_revision` (one assignment graph revision whole, with the revisions of its inputs), `assigner_revisions` (every kept revision with what pins it, and the store's fill against its cap), `assigner_entry` (one entry, with the seat rule that gave each edge), `assigner_difference` (a change's difference), `assigner_waits` (*Order without a person*), `assigner_candidate_graphs` (every candidate's graphs: its heads, its revisions, since when), `assigner_consumer` (its consumer of the gate's events: the last applied, the waiting), `assigner_puts` (each put with its step, since when, held or not, the `running` that ended it, and for a put without hold whether it is past its 30-minute bound; a put older than the trunk's newest build of its module said so) | `indexer_catalog_revision` (one module graph revision), `indexer_catalog_revisions` (every kept revision with what pins it, and the store's fill against its cap), `indexer_candidate_graphs` (every candidate's catalog half), `indexer_consumer` (the same as the assigner's) |
| do by hand what it does itself | `assigner_recompute` (compute a revision again from its named inputs and compare it with the one kept) | `indexer_recompute` (compute a module graph revision again from its source revision and compare it with the one kept) |
| read everything it holds | `assigner_revision` (one assignment graph revision whole, with the revisions of its inputs), `assigner_revisions` (every kept revision with what pins it, and the store's fill against its cap), `assigner_entry` (one entry, with the seat rule that gave each edge), `assigner_difference` (a change's difference), `assigner_waits` (*Order without a person*), `assigner_candidate_graphs` (every candidate's graphs: its heads, its revisions, since when), `assigner_consumer` (its consumer of the gate's events: the last applied, the waiting), `assigner_puts` (each put with its step, since when, held or not, the `running` that ended it, and for a put without hold whether it is past its 30-minute bound; a put older than the trunk's newest build of its module said so) | `indexer_catalog_revision` (one catalog graph revision), `indexer_catalog_revisions` (every kept revision with what pins it, and the store's fill against its cap), `indexer_candidate_graphs` (every candidate's catalog half), `indexer_consumer` (the same as the assigner's) |
| do by hand what it does itself | `assigner_recompute` (compute a revision again from its named inputs and compare it with the one kept) | `indexer_recompute` (compute a catalog graph revision again from its source revision and compare it with the one kept) |
| recover without help | `assigner_drop_candidate_graph` (drop a candidate's graphs whose gate event never came), `assigner_release` (*Order without a person*) | `indexer_drop_candidate_graph` (the same for its half) |
| one seat, many tools | `mesh-wants`: `revision`, `entry`, `difference` | `mesh-catalog`: `revision`, beside `seat-definitions` |
@@ -330,8 +330,8 @@ steered by a tool.
§263 **How it is checked.** Unit (assigner): a revision of the assignment graph computed again from its named inputs
equals the one kept; a fixture change with a new fingerprint and an empty difference is refused, naming its module;
one revision of about 120 modules on four nodes stays under the bus's value limit; of the view the assigner reads only
the catalog half. Unit (indexer): a module graph revision holds one entry per module of its source revision. Whole
(indexer): a source revision taken in gives one module graph revision kept as objects in an `objects` section in the
the catalog half. Unit (indexer): a catalog graph revision holds one entry per module of its source revision. Whole
(indexer): a source revision taken in gives one catalog graph revision kept as objects in an `objects` section in the
old form within the cap its manifest declares; the manifest validator refuses the indexer's or the assigner's manifest
that declares them in the new form. Whole (indexer, assigner): a revision a delivery record pins is not removed; one
two records pin stays until both free it; one neither pinned nor current is removed; a `freed` said while the part
@@ -147,7 +147,7 @@ names go, since every new acting part needed code changes elsewhere (research 08
- §273 **The indexer's own steps have no wait, and a newer indexer is reached.** Taking in and validating stay as *Taken in
by the indexer it names* has them: a revision is taken in only by the indexer it names, which judges its own change
at its start, and no build waits on which indexer judged it (ADR 0603 §4, as ADR 0633 §1 changes it). So that the
named indexer can start at all, the running indexer makes, for a merged revision naming a newer indexer, a module
named indexer can start at all, the running indexer makes, for a merged revision naming a newer indexer, a catalog
graph revision that is the previous one with only the indexer's entry replaced by the one its manifest at the merge
gives, and nothing else of the revision, so no other want moves before the named indexer takes the revision in; the assigner wants it and the grants part grants it like any module, and once it runs it takes the revision
in whole. Without that, a revision waiting for its indexer would wait for good.
@@ -191,7 +191,7 @@ names go, since every new acting part needed code changes elsewhere (research 08
`wait-held` carries `clock-from` from the builder's `build.ended`. Whole (assigner, node-engine): during a node-engine change with
one node away, the present nodes take their new node-engine and then their other wants, nothing waits on the node
away and no condition is raised for it; a node asleep since before milestone G wakes, takes its new node-engine
first, then the rest. Whole (indexer, assigner): a merged revision naming a newer indexer gives a module graph
first, then the rest. Whole (indexer, assigner): a merged revision naming a newer indexer gives a catalog graph
revision that is the previous one with only the indexer's entry replaced, and no other want moves; the new indexer is wanted and granted, starts,
and takes the revision in, with no build waiting on which indexer judged it. Whole (assigner): a module with no
holder for its step is held by name, and the check of a change bringing it fails naming the missing holder. Unit
@@ -298,7 +298,7 @@ running versions never check in their place, and a check fails, naming the part,
`source.<branch>`, as a commit or a group lands there; the pipeline runs on each revision the indexer takes in, and
the wants follow a revision whose `required` steps passed, on the branch each placement chose (ADR 0666 §6, §9).
- §292 **From research 085's milestone, the wants follow the trunk's assignment graph.** A merge taken in makes a
module graph revision and then an assignment graph revision; the assigner writes each want from that revision,
catalog graph revision and then an assignment graph revision; the assigner writes each want from that revision,
its rules unchanged (ADR 0656), and each acting part's new version acts first in its own step (ADR 0656; *Two
graphs, one source of truth*, above).
@@ -309,7 +309,7 @@ running versions never check in their place, and a check fails, naming the part,
sandbox, and a revision it refuses stays pending, as the bullets above have it, with the way back a revert; a pending
revision holds only its own watched branch; a group's member reaches it by landing, and the group ends when the gate's
group verb says every member has; `bridge_group_end_again` reads that verb; and the check's refusal below goes with the
check (*Watched branches and the module graph per branch*, *Groups*).
check (*Watched branches and the catalog graph per branch*, *Groups*).
## A backup before the apply: kept data on the bus
@@ -77,7 +77,7 @@ each step says*.
§309 **The seat `node-engine`**'s (§520) event `running.<node>.<module>` carries, from research 085's milestone, the module, its
fingerprint and the digest of its build's manifest, so the node-engine of another node and the grants part decide a
seat's pass from the module graph's entry of that build (ADR 0660 §2; *Who holds a seat is applied by one rule*). No verb is added.
seat's pass from the catalog graph's entry of that build (ADR 0660 §2; *Who holds a seat is applied by one rule*). No verb is added.
§310 **The seat `git`.** The seat `git` (design 26, *The git seat*), of the Delivery domain, defined in
`mesh-delivery-contracts`, holds no verb today, and the delivery parts and the gate reach the forge by naming the forge
@@ -43,7 +43,7 @@ record it follows from, and replaces the builder's own choice where one was made
### The runner and its steps
- §323 **A step's build seat is read from the artifact's language.** (§535) The module graph entry names each artifact's
- §323 **A step's build seat is read from the artifact's language.** (§535) The catalog graph entry names each artifact's
`language`, as its manifest's artifact entry says it and as the indexer's language map matches today; the runner
reads it from the catalog half of its revision view and asks lint and the test steps of the build seat whose
definition's acting rule `build` has `on` naming that language. With no such seat, or no holder of it, the pipeline
@@ -190,7 +190,7 @@ record it follows from, and replaces the builder's own choice where one was made
### The catalog, the builder and the assigner
- §342 **A module not watched on a branch.** A watched branch's module graph takes each module not watched on that branch
- §342 **A module not watched on a branch.** A watched branch's catalog graph takes each module not watched on that branch
from the registration's first watched branch. `register` names a module's watched branches; with none named it takes
the repository's default branch, read through the seat `git`. Why: a placement's default is the registration's first
branch (ADR 0666 §6). How it is checked: whole (indexer), a `beta` revision holds a `main`-only module at `main`'s
@@ -199,7 +199,7 @@ record it follows from, and replaces the builder's own choice where one was made
`entry`, naming why, since the catalog keeps its revisions under `<branch>.<revision>` beside those two key forms.
How it is checked: whole (indexer), each is refused.
- §344 **The bus module plans a sent store from what the catalog already says.** (§533, §537) It plans `<module>_sent-objects` for a
module of the new form whose module graph entry claims a seat whose definition has a verb or an event, or declares
module of the new form whose catalog graph entry claims a seat whose definition has a verb or an event, or declares
an event of its own, read from the catalog half of its revision view and the seat list; the indexer's event carries
no field `sends`. When a seat's definition gains its first verb or event later, the bus module plans the store for
its holders on the seat list's change. Why: no manifest field (*Any size*), and the catalog half is every part's view
@@ -220,7 +220,7 @@ record it follows from, and replaces the builder's own choice where one was made
- §348 **The builder reads the catalog through its seat.** The builder reads the registrations' watched branches through
`mesh-catalog`'s `registrations` and `registration-changed`, the released versions it numbers from through
`versions` and `version-released`, keeping no list of versions of its own, and a build seat's holder from the seat list; the
manifests, the packages, each package's name in its ecosystem (the Go module path, the npm name, which the module
manifests, the packages, each package's name in its ecosystem (the Go module path, the npm name, which the catalog
graph entry's packages carry) and a run's candidate from the catalog half of its revision view, never the indexer's
state. With no holder of a build seat, a build ends `could not run`, naming the seat, and is asked again on the seat
list's change. Why: ADR 0596 §2. How it is checked: the builder's account holds no grant to the indexer's state.
@@ -302,7 +302,7 @@ record it follows from, and replaces the builder's own choice where one was made
- §364 **The node-engine claims its seat.** (§508, §527) The node-engine's manifest claims the node seat `node-engine` (ADR 0563), and
the indexer and the node-engine's own guard read its holder from the seat list, keeping no module name. How it is
checked: the code review reads that neither fixes a module name (§7).
- §365 **The condition keeper finds its sources in the catalog.** (§527, §532) The module graph entry carries the events each
- §365 **The condition keeper finds its sources in the catalog.** (§527, §532) The catalog graph entry carries the events each
manifest declares in its `streams`; the keeper takes a first view of the catalog half, and its sources are the
modules whose entry declares the finding events of §383, the node-engine among them, its holder read from the seat
list. It joins the readers of *Every other reader of which modules exist*, reading every watched branch's newest
@@ -408,7 +408,7 @@ record it follows from, and replaces the builder's own choice where one was made
and the wait are the design's choice, round 2 of the review by architectural domain, 2026-11-10. How it is checked: test 103.
- §374 **A release records, per edge, the part it was built against or delivered after.** (§558) One version per module
stays (§52), and an edge is judged by the digest of the part it points to. The catalog records on each released
version (§349), in its key of `versions`, one entry per module-graph edge of the module's artifacts (the six kinds
version (§349), in its key of `versions`, one entry per catalog-graph edge of the module's artifacts (the six kinds
of *Dependencies between artifacts*), a lockfile per released version. An entry names the kind, whether the edge
makes the dependent stale or only orders it (§378), the manifest word it came from, the part it points to, and what
the edge depended on:
@@ -431,7 +431,7 @@ record it follows from, and replaces the builder's own choice where one was made
A build of a watched branch other than the registration's first releases no version (§371): its entries are kept in
the indexer's old `state` section `build-edges`, one key per module and watched branch holding the newest build's
entries, keyed by its fingerprint, replaced by the next build and deleted when `registration-changed` says the
branch is no longer watched, and they compare by the part's digest alike. The declared edge stays in the module
branch is no longer watched, and they compare by the part's digest alike. The declared edge stays in the catalog
graph; an entry is the release's or the build's fact, written once. Why: the operator, 2026-11-10 about 22:30 to 23:00 CET and 22:10 CET (issue 1961), and
the lead's review of these lines. Each entry is about 0.1 KiB, about ten a version, so `versions` stays within its
64 MiB (an estimate). How it is checked: test 104.
@@ -102,7 +102,7 @@ record says so in its Why. Round 3 of the review by architectural domain (2026-1
hearing an event that many modules say; the keeper's `*.finding-written`, `*.finding-cleared` and
`*.findings-stated` are the first. The manifest validator takes `*` only as the whole emitter, and only before an
event that a seat's definition or a contract in mesh-sdk defines, with its fields (for the finding events, the seat `mesh-conditions`' definition, §439); it refuses `*.>` and `*` in part of an emitter's name, and a `*` entry before any other event keeps its meaning on main (§474). The grants part,
from the module graph as it derives every grant (§59, §442), makes on each declaring module's stream one durable consumer
from the catalog graph as it derives every grant (§59, §442), makes on each declaring module's stream one durable consumer
for each process of the consumer that hears it, named as A-397 names a process's durable (`<machine>_<module>` for
its program, `<machine>_<module>_tools` for its tool runner, `<machine>_<module>_<process>` for another; corrected in
place by design 47 H §763, where one per module stood), with its grants to read and acknowledge it and
@@ -133,7 +133,7 @@ line says so.*
operator, are refused by the bus; a failed restore says `restored` with `failed` and its error.
- §406 **A catch-up names its tool and arguments.** (§516, §555) A restore point records the catch-up tool and its arguments whole
(§299), and the fingerprint of the newer build it was taken before; the grants part derives the grant of that tool to
`holder:node-engine@same-node` from the module graph's entry of that recorded fingerprint (§443). Why: the design's
`holder:node-engine@same-node` from the catalog graph's entry of that recorded fingerprint (§443). Why: the design's
choice (Q-H7). How it is checked: whole (node-engine), a restore runs its recorded catch-up, granted from the
recorded build's entry.
- §407 **The object store package.** mesh-sdk's object store package is `go/stateobjects`; it also takes a foundation
@@ -208,7 +208,7 @@ line says so.*
### Readers, branches and the node-engine
- §421 **The node-engine reads the entry its want names.** (§526, §532) The node-engine joins §196's readers: it reads, from the
catalog half, the module graph's entry of the fingerprint its want names (§443), never a manifest and never by
catalog half, the catalog graph's entry of the fingerprint its want names (§443), never a manifest and never by
branch, so a want needs no field `branch`, and the parts by digest from its want (§379); its reads of the indexer's
and builder's states go. When the catalog half no longer holds that entry, the node-engine holds the want and its
have says the phase `entry-missing`, naming the fingerprint. The tool runner follows every watched branch's newest
@@ -267,7 +267,7 @@ line says so.*
`merges`. Why: the design's choice (C13, C14, D9, D11). How it is checked: whole (gate), each verb served or not as
named; whole (knowledge base), the overview shows a group's end from `group-ended`.
- §432 **The edges a `needs` names.** An artifact's `needs` names artifact references `<module>:<artifact>` of the
module graph's edges (§95, §121). Why: the design's choice (C21). How it is checked: unit (manifest validator).
catalog graph's edges (§95, §121). Why: the design's choice (C21). How it is checked: unit (manifest validator).
- §433 **The bus module reads the catalog half.** (§532, §538) The bus module's `consumes` and its call of `indexer_bus_state` are
replaced by its view of the catalog half (§344). Why: ADR 0596 §2 (C22). How it is checked: its manifest.
- §434 **Findings name their owner and whom they wait on, and the keeper reads by events.** (§541) A finding of §33, §8 and
@@ -318,9 +318,9 @@ line says so.*
never refused). This amends §401. Why: lead-47's ruling, 2026-11-11, on D15 and Q12. How it is checked: whole (grants
part, runner), a change widening a grant names it in `widens` from `grants-for`, and with the grants part stopped
`widens` says `could not run`.
- §442 **Only the indexer reads a manifest.** The indexer alone reads the manifests, to build the module graph, whose
- §442 **Only the indexer reads a manifest.** The indexer alone reads the manifests, to build the catalog graph, whose
entry carries the validated manifest whole (§443); every other part (the grants part, the condition keeper, the
assigner, the runner, the tool runner, the node-engine, the checks and the reviews) reads the module graph's entry
assigner, the runner, the tool runner, the node-engine, the checks and the reviews) reads the catalog graph's entry
of the build concerned from the catalog half (§196, §421). Today's readers move: in mesh-catalog, `brother`,
`distribution`, the forge module's package registry and `mesh-build-go` read the entry they need by `mesh-catalog`'s
`entry` or `revision`; in `mesh-host`, the node-engine reads the entry its want names (§421). The one exception is
@@ -329,11 +329,11 @@ line says so.*
its inputs and the composition check. Why: the operator, 2026-11-11 about 03:05 CET at the terminal: "only the
indexer uses the manifest to build the module catalog". How it is checked: test 61, extended to the node-engine and
the grants part: whole cases whose accounts hold no read of a manifest; the grants part's table test derives each
grant from a module graph fixture with no manifest.
grant from a catalog graph fixture with no manifest.
### From the review of step 0b (2026-11-11)
- §443 **The module graph's entry carries the manifest, and is kept while a build names it.** (§506) Each module graph
- §443 **The catalog graph's entry carries the manifest, and is kept while a build names it.** (§506) Each catalog graph
entry carries the validated manifest whole beside the fields §174 names, kept as an object of the indexer's old
`objects` section by its digest (§179), so no size limit applies to it. The indexer keeps an entry while a kept
revision lists it, or a want (heard by `mesh-wants`' `wanted`) or a running build (heard by the node-engine seat's
@@ -343,7 +343,7 @@ line says so.*
whole (indexer), an entry no revision lists stays readable by `entry` while a want names its fingerprint, and goes
after the want moves on.
- §444 **The grants part derives each module's grants from the build placed.** The grants part derives each module's
grants from the module graph's entry of the build its want names (heard by `wanted`), never from a branch's newest
grants from the catalog graph's entry of the build its want names (heard by `wanted`), never from a branch's newest
revision, so a change on a branch no placement names grants nothing. This amends §59 and §386. Why: §442; a grant
follows what runs. How it is checked: the grants part's table test, a widening on a branch no placement names
grants nothing, and the same widening once wanted is granted.
@@ -235,7 +235,7 @@ flowchart LR
- §746 **One take-in is one pipeline.** (ADR 0682 §6; the operator, 2026-11-20 01:10 CET; ADR 0666 §1, §7, §9 read per
source revision) On a `take-in.taken` with entries the runner starts exactly one pipeline, keyed `<branch>.<source>`
by compare-and-set on its absence, whose movers are the event's entries. It asks each mover's pipeline steps in the
module graph's build order (a mover's build waits for the `package-published` of each mover it has a "published
catalog graph's build order (a mover's build waits for the `package-published` of each mover it has a "published
before it builds" edge to, toolchain edges first), and computes the movers' delivery order in ADR 0666 §14's order as
tiers (acting parts first, providers before their consumers; movers no edge orders share a tier). The pipeline passes
when every mover's `required` steps passed, a `required` step ending `nothing to run` counting as passed (ADR 0682 §8; H-A-3), and
@@ -270,7 +270,7 @@ Where two preparers disagreed, the chosen one is named.
marker goes: by the tool's name, the forms `<module>_first_views` and `<module>_first_view_again` that mesh-sdk's views
already serve; no environment marker and no tool runner change. P7 (what exists over a new side channel).
- **H-A-70 (contracts-indexer-bridge developer, 02:40)** `acts` stays everywhere as a declaration: it is what the
module graph's kind-5 edge ("B has acted for A") is built from, and H-A-51 orders the pipeline's tiers by that edge.
catalog graph's kind-5 edge ("B has acted for A") is built from, and H-A-51 orders the pipeline's tiers by that edge.
So the `acts` entries of the seats mesh-catalog (take-in, validate), mesh-wants (place) and the build seats stay, as do
`ActingRule` and `CatalogEntry.acts`; what goes is the hold and its wait: `bound` on the build seats' `acts` and every
reader that waits or holds on an acting part (the builder's bound reader and its re-asks, the assigner's acting holds,