The folder the two parts share says unknown module, so the node-engine does nothing
inside it and the watcher reacts: a path it does not know is left as it is and written
to its journal once per path, at its start and at the file event that makes it; the
README says so.
Builds: design 08 sign-in-page §12, §24, §25, §27; lead answer L-1 (hq 3a3a18a9)
The watcher, its system bus and desktop stood in, opens the page with no bus; then the
built bundle, played as the tool runner plays it over a real bus with node-uplink's
events and a stand-in holder of node-resolver, publishes the kept events in order
with the times of their changes, each matching the seat's definition, and calls
uplink-names.
Builds: design 08 sign-in-page §1, §25, §26, §33
networkmanager's README says its two parts and their folder, how the watcher opens the
page and finds the session without the bus, the events it keeps and the bundle
publishes, and the uplink-names call; systemd-networkd's says it announces neither
event and opens nothing.
Builds: design 08 sign-in-page §24, §28
The manifest declares the watcher as a process run as the account with uplink_health
as its health, the folder the two parts share (the account's, 0700), the running event
the bundle consumes, the three verbs it invokes and its five tools.
Builds: design 08 sign-in-page §11, §12, §13, §27
The bundle serves uplink_sign_in, uplink_names_again, uplink_rating_again,
uplink_publish_again and uplink_health: the read of the reaction, the three acts the
parts do by themselves, and the watcher process's health, which also gives the names
again where the resolver no longer holds them.
Builds: design 08 sign-in-page §13, §23
The bundle calls this node's node-resolver uplink-names with the check address's host
at its start, at a changed check-address, at its bus connection's return and when this
node's holder of node-resolver runs, reading the holder from the assignments; no holder
is recorded and no failure, a failed call stands failed in names.json until the next
moment.
Builds: design 08 sign-in-page §12, §13, §22
The bundle publishes what the watcher kept, in order and under each event's own
message id, deleting each once the stream acknowledged it and keeping a refused one
for the next moment: its start, a file event on pending/ and its bus connection's
return. The watcher now names the events by the seat's generated contract.
Builds: design 08 sign-in-page §1, §20, §22
At a join, at the watcher's start and at a session's start while PORTAL, once per ask,
the watcher opens the check address with systemd-run --user and xdg-open in the
person's session and then shows the notification its outcome calls for, critical when
the open failed; it says when the network is open, and handles what it hears during
an open after it.
Builds: design 08 sign-in-page §15, §18, §19, §22
The watcher finds the person's graphical session from logind and the user manager's
environment, and acts on a session's start once that environment names a display; the
user manager sends no PropertiesChanged for Environment, so it is read again at the
file events on the X server's socket folder and the session's runtime directory, for
at most 60 s.
Builds: design 08 sign-in-page §15, §16, §17
uplink-tools watch hears the network manager's PropertiesChanged on the system bus,
keeps sign-in-asked and sign-in-ended as the rules say, at most 256 of them, and
subscribes again when the system bus's socket comes back or on rating-again; nothing
reads the rating on a timer.
Builds: design 08 sign-in-page §12, §14, §20, §21, §22
The watcher and the bundle share only the module's own folder: the watcher's socket,
the check address, the kept events with ids made once from a sequence that is never
reset, and the bundle's last uplink-names call, every file written whole.
Builds: design 08 sign-in-page §12, §20
main.go, still the copy both holders of node-uplink carry, now takes each holder's own
subcommands, tools and start work from its manager.go, so networkmanager can add its
watcher and tools while systemd-networkd serves the two seat verbs as before.
Builds: design 08 sign-in-page §11
The indexer refused the manifest merged in #704 (systemd-resolved names templates and its build packs no archive from files/, novox/hq ADR 0349 §2): the take-in of source 159 then moved no module and started no pipeline.
The keeper planned a ledger's state bucket and each index bucket with no
option, so each was the state default of 64 MiB whatever the ledger asked,
while its history and snapshot took max-mib. The delivery gate's ledger asks
1024 and its state bucket filled at 64. The state and index buckets now take
the ledger's max-mib and no other of its options; a ledger with none keeps
the state default. A raised cap reaches a held bucket through the keeper's
existing path for larger settings (check at the first view after a start).
The keeper's plan test: the existing ledger row now expects its state and
index buckets at the ledger's 16 MiB; a row with max-mib 1024 (and a past-values
option that must not reach them) expects 1 GiB; a row with none expects 64 MiB.
Design 47 H2's corrections, item 12 (lead answer H-A-636).
Builds: design 47 H2 H-A-636 (corrections, item 12)
The imports step ran every `go list -deps` with the environment of the module's directory, while the build of a
package path runs with the environment of the path's own directory: its temporary modfile of the fetch's pins and the
replace to a module of the module's own repository. A path whose Go module requires such a module at the zero version
(mesh-delivery-contracts' clients require mesh-delivery-sdk) built and published, then failed its listing with "module
lookup disabled by GOPROXY=off" (main.510). ModuleImports now takes the environment as a function of the directory a
listing runs in, and the step passes buildEnv, so each listing reads the import set as the build resolved it.
The row is a subtest of TestImportsStepReadsTheWorkspace: a path's go.mod requires a same-repository module at the zero
version, resolved only through the path's temporary modfile; it fails with the environment of the module directory.
Builds: design 47 H2 H-A-633 (amends H-A-518, H-A-541, H-A-532 DQ-5); issue 1984
The review of cc1140ba found the new test cited no acceptance; issue 721's note 15 gives it 721/AC1.
The test's comment now names it. No code changes.
Fixes: issue 721 note 11
Acceptance: 721/AC1
Builds: design 47 H2 §810
The runtime hands each event and each tool call to a goroutine of its own (mesh-sdk stdio), and the gate
applied them to the same in-memory records with no lock: Records.Outcome writes the ledger and only then
memory, so a pipeline-wanted heard once a running's outcome was in the ledger ended the record before
memory held that running, and timesAtEnd found no running: the record ended with no delivery time and
no class (main.493's failure of TestAGateWhole...). The race detector names it: 9 reports in 30 runs on
main, the running's Records.Outcome (record.go:759) against pipeline-wanted's timesAtEnd (movers.go:67).
The fix, the thorough one for the kind (events and calls applied concurrently to one in-memory state):
- take applies every event under Holder.applying; the ledger write and the memory write of an entry
happen under it, so whatever is heard after the write lands waits until memory holds it too.
- Holder.applied runs every tool call under the same lock and takes its answer (marshalled) under it,
so a view of a kept record is never written out while the next event writes the record.
- The bus test's bundle log fails the test on a data race the bundle reports under -race, a guard for
every bus test of the gate.
The quick fix, a lock around Records.End and Records.Outcome alone, was not taken: it leaves an event's
several writes (pipeline-ended, take-in) interleaved with another's and the calls reading half-written
records.
Test: TestWhatIsHeardWhileAnEventIsWrittenWaitsUntilItIsApplied hears pipeline-wanted, and calls show,
as the running's write lands; each of the three parts removed fails a row.
Fixes: issue 721 note 11
Builds: design 47 H2 §810
Review r1 finding 4: the imports step held a fixed list of Node 22's
builtin modules (principle 11). It now reads module.builtinModules from the
installed Node at each step, and fails loud when it cannot.
Builds: design 47 H2 H-A-523, H-A-532 (DQ-6)
The binary is placed by hand on novox first, under gitea 0.1.316's composition, which hands the Go bundles
neither MESH_GITEA_TOKEN_FILE nor MESH_GITEA_PACKAGES_TOKEN_FILE, nor any variable naming gitea's state
directory. Without them the fallback reads token and packages-token in /var/lib/mesh/gitea/state (the
manifest's runtime-state directory) and says at start that the path is the default; the manifest's
variables still win when handed.
Builds: design 47 H2 H-A-564 (hq 1b286366)
Every package publish fails since about 11:45 CET: the package-registry and forge bundles ask the vault for
module/gitea/* from inside the tool runner, whose account the vault refuses (no module's account), and the
manifest since C4 hands them no token file. Until gitea runs as its own account, a bundle the vault refuses
reads the token gitea's TypeScript bundle keeps under its state directory (token, packages-token, each with
its scopes line naming the account), says once at start which source each token came from, and reads the
file again at each call. The manifest hands the two bundles MESH_GITEA_TOKEN_FILE and
MESH_GITEA_PACKAGES_TOKEN_FILE again. The fallback ends with gitea's own account.
Builds: design 47 H2 H-A-564 (hq 1b286366), H-A-543
The builder's version floor went (B1a, issue 721), and with it the finding
floor-silent it raised; no home names that kind any more.
Builds: design 47 H2 H-A-553 (2), H §756
A module path digested a whole module and brought back the cascade the import
set exists to end; ModuleImports reports the import path of every package the
build resolved, still with no prefix filter, the standard library and the
module's own packages left out.
Builds: design 47 H2 H-A-541, H-A-517, H-A-539
Mesh Go modules come from the seat go-package-registry, not the forge, so no
prefix or scope tells a mesh package apart. ModuleImports reports the module
path of every package the build resolved but the standard library's and the
module's own, and build_node_imports every npm package the bundles reach but
Node's own modules. The settings import-prefix and import-scope leave both
manifests and the ask.
Builds: design 47 H2 H-A-539 (withdraws H-A-534's form check and H-A-535)
The step tool build_node_imports reads, after a build, esbuild's metafile of each
TypeScript bundle's staged entrypoints and launchers and answers the mesh npm
packages among its inputs and external imports, each by its package name once
(@novox/mesh-sdk, never a sub-path); the ask's steps run it as Imports and say
the set as imports-reported on node-build-node's subject of the node. The Node
build module declares the setting import-scope (default @novox) and the Go build
module import-prefix (default the forge's Go module prefix), each filled into the
step runner's ask as ImportScope and ImportPrefix.
Builds: design 47 H2 H-A-523, H-A-517, H-A-532 DQ-6, DMC-2, DMC-3, H-A-534, H-A-535
ModuleImports lists, beside each Go bundle's program, every package each Go
package artifact's paths hold, in the Go module that path is, tests and the
module's own directory left out, as one sorted union; so a contracts module
reports an import set and leaves the version line.
Builds: design 47 H2 H-A-532 DQ-5, H-A-518, H-A-517
The ask's steps gain SayImports, the shared step runner's say of the seat event
imports-reported on this node's subject of node-build-go, published with the
module's SayEvent as its other events are, so the indexer hears each module's
import set from the build that read it.
Builds: design 47 H2 H-A-517, H-A-518, H-A-532 DQ-2, DMC-2
A TypeScript artifact with no .ts file (a contracts module's generated
JavaScript package) had steps answer lint, so its lint was asked of a build
node and waited minutes there to end nothing to run in a second. steps now
answers lint only when one of the artifact's packages holds a TypeScript
file, by the same test the lint step uses, so the pipeline runner can end
it at placement without an ask.
Builds: design 47 H2 H-A-515 second addendum
The node-engine composes an upstream artifact's image from the holder's own
name for the copy; distribution owns that naming (ParseSource, Source.Name), so
it answers it on the image seat rather than another module repeating the rule.
Builds: design 47 H2 H-A-513 second addendum
The fifteen desktop modules' tools tests failed on every manifest with
"json: unknown field class": a test helper copied into each module decoded
module.json into its own struct, refusing unknown fields. Manifest
strictness is the catalog check's alone, and the manifest's form is a
contract read through mesh-sdk's catalogue package, so the copied
`manifest` struct and its reader go from the fifteen desktop modules and
pacman; each test reads module.json with catalogue.Decode and asserts only
the module's own promises (claims, files, tools) on catalogue.Manifest.
Builds: design 47 H2 H-A-498, H-A-498 addendum
The public proxy serves the forge's paths from git tags and direct reaches
the forge's git, so a version missing from the registry was found elsewhere
instead of failing loudly. The fetch now downloads in two passes over every
directory: first each pinned mesh package with GOPROXY=<seat>,off (a miss says
"the Go package registry holds no <pkg>@<v>"; no binding refuses "no Go
package registry bound"), and every zero-version requirement of the graph is
taken or refused then; second the rest of the build list with the public
proxy alone, no direct. Before either, a go.mod naming a mesh package at a
version other than the zero version is refused, so no forge path can reach
the public proxy; a pull request head is placed only for an ask's commit, and
the placement of go.mod-named pins goes. Every other go command (test, lint,
compile) runs with GOPROXY=off; GOPRIVATE and the account's ssh settings leave
goEnv, as repository fetches set their own.
Builds: design 47 H2 H-A-494, H-A-494 addendum (two downloads), H-A-494 second addendum (a forge path at a real version is refused), H-A-494 third addendum (a pull request head places only an ask's commit pin); design 51 Go packages (the recipe test refuses direct)
The operator typed `nox licence` and got the retired controller's refusal
instead of the licences. `nox licence` and `nox licence list` now call the
licence manager's licences and bindings and print one table of each, every
time local (1126/AC1); `nox licence usage [<licence>]` prints the usage
readings as a table (1126/AC2). `--json` prints the raw answer on every
rendered line, `nox nodes` included: one behaviour for one flag; for the
two calls one object {licences, bindings} (1126/AC3).
In the same change, the operator (2026-11-22 20:41): "why are there still
references to the controller?". Every retired controller line nox answered
with "this was the controller's" (its `instead` lines and the `unowned`
map) is deleted with its text: none has a seat verb of the same job; a
retired line now answers "is not a command" with exit 2, and nothing nox
prints names the controller (1126/AC4). The comments, help and README no
longer name the controller or issue 1126.
Builds: issue 1126 note 151, answers 1-5, and the note after it (acceptance
1126/AC1..AC4, the operator's 20:41 line); one-question-one-tool;
principle 4, a module is steered by its tools.
A mesh package's tarball is unpacked straight into node_modules, so its own
dependencies were never there: the forge module's bundle failed with esbuild
"Could not resolve blakejs" from the SDK's seal code. After every mesh package
is placed, the fetch installs the dependencies they declare (not their
devDependencies, not a mesh package, not one already present) through the
same npm path as the module's own, before the bundle.
Builds: design 47 H H-A-491 (addendum)
The Node build module judged its levels by the same fixed bounds, and its
integration setup took 40 s against 30 s while three nodes' checks ran.
The rule is the kind's, not the Go module's: its bounds, and the
MESH_TEST_LEVEL_BOUND its scripts get, are now their defaults times the
steps the seat has in hand at the step's start (at least 1), and the
result names them (bound, setup_bound).
Builds: design 47 H2 H-A-488, H-A-488 addendum
On a loaded build node the integration level's setup took 34-37 s against
its 30 s bound three times today: the node-engine twice, the assigner once.
The bounds were judging the node's load, not the tests. A level's bounds,
and the MESH_TEST_LEVEL_BOUND its tests get, are now their defaults times
the steps the seat has in hand at the step's start (at least 1). The step's
result keeps naming the bounds it was judged by (bound, setup_bound).
Builds: design 47 H2 H-A-488