Commit Graph
886 Commits
Author SHA1 Message Date
jschoubben d16c4cd003 A directory whose owner changes gives its contents the new owner
A module moved to an account of its own (runs-as) has files below its
directories that it wrote as the account it ran as before (gitea's webhook
secret, 0600, as the operator's account); the node-engine changed only the
directory's owner, so the new account could not read them. Now applyDirectory
and applyMeshDirectory give the new owner to what the previous owner held below
the directory, but never a path the declaration or another module's composition
places (and what lies below it), never an entry another account owns, never
through a link (Lchown) and never on another file system.

Builds: design 47 H2 H-A-545 (2), H-A-550
2026-11-23 12:07:40 +01:00
jschoubben 2a6b92eeab selfcompose: only the say naming the vault read releases it
Review round 1 of the slow vault read's wait: a tick before the read began
says "waits on nothing it reads (composing)", which released the read at
once; the read then ended before the next tick and the row failed again on
a slow start. The read now waits for a line naming the vault's own
secrets, and the row asks that any line said names it.

Runs under issue 774 (a pass that runs on says what it waits on).
Builds: design 47 H2 (test only; no design line changes)
2026-11-23 10:46:02 +01:00
jschoubben 1d0f3b7709 selfcompose: the slow vault read lasts until the pass said it runs on
TheNodeComposesItsWantsFromTheBus failed in pipeline main.417 on a loaded
build node: its row "the vault did not answer in time" slept a fixed 30 ms
in the vault read and expected the pass's 5 ms ticker to have said it runs
on. When the process stalls, the read ends with the first tick, the pass
ends and cancels the ticker first, and the say is lost or lands after the
test read the shared lines. The merge of #253 and #254 did not cause it.

The read now waits for the pass's own say (bounded at 5 s), with no fixed
sleep, and the test reads only this pass's lines, which must name the
vault's own secrets as what it waits on.

Builds: design 47 H2 (test only; no design line changes, issue 774's say)
2026-11-23 10:40:39 +01:00
mesh-tools dfb8b4a549 Merge pull request 'The node-engine keeps an image's pinned reference; the blobs form is for files and bundles (design 47 H2, H-A-513)' (#254) from fix/image-reference-form into main 2026-11-23 08:47:54 +00:00
jschoubben 4adc35d5ce H2 H-A-504: every have read gives the run, pipeline and want revision
Review round 1: sessionHaves.Read gave no run, pipeline or want revision,
so on the live engine every have written over an apply (held, failed,
waiting, not composed) dropped the want revision, and the next want
counted as nothing applied. Read now maps the have value the same way as
ReadAt, through one function.

Builds: design 47 H2 §813 (1); H-A-504 fourth addendum
2026-11-23 02:13:04 +01:00
jschoubben 9c91854d3b The node-engine keeps an image's pinned reference; the blobs form is for files and bundles
The composer wrote every placed artifact as artifact-store://…/blobs/<digest>,
which the routing turns into a blob URL the declaration's own check refuses
("image … is not pinned"), so nats's composition was refused on the node. An
image now keeps the image seat's form, an upstream copy the reference the seat's
holder answers by name-of (kept by from; unanswered leaves the old form, said
once), and only bundles and archives take the blobs form.

Builds: design 47 H2 H-A-513, H-A-513 second addendum
2026-11-23 02:06:39 +01:00
jschoubben 84ff92a407 H2 H-A-504: the node-engine orders wants by the want key's bus revision
The engine refused a want whose run was not newer than the run it applied,
so wants written with a revision number as their run held every later
want back ("the want of mesh-delivery-indexer carries run 288, and the
engine applied it from run 323"). The bus orders the writes of one key:
the engine now keeps the want revision it applied in the have (beside the
run, the seat's form 5) and refuses only an older revision; the same
revision goes on to the checks that already stop a needless apply, so
Reconcile and a recomposition still apply. The run is information.

Builds: design 47 H2 §813 (1); H-A-504 third addendum, H-A-504 fourth addendum, H-A-504 fifth addendum
2026-11-23 02:02:23 +01:00
jschoubben 43839ae66a H-A-480 c: test the rank wait and the clear's guard; say a mark lost to every race
Review round 1: the line that never marks a module waiting for its rank and the
clear's "only while the have still says the mark" had no failing test; each now
has one. A mark whose every write lost its race is now said, not dropped silently
(P-failure-loud).

Builds: design 47 H2 H-A-480 (review round 1 finding)
2026-11-22 16:19:14 +01:00
jschoubben a22769bbc6 H-A-480 b: the composer's watch ends with the agent's stop
The composer's loop and its hearers outlived the node agent's run and logged after
it ended; the node agent now waits for them (Composer.Wait) once its run stops.

Builds: design 47 H2 H-A-480
2026-11-22 16:12:10 +01:00
jschoubben cb5eddeba8 H-A-480 a: the composer's mark is a compare-and-set on the have's revision
Under load, a rank wait settle wrote between the composer's read of a have and its
mark was overwritten by the mark and never written again. The mark and its clear
now write over the revision they read (a lost race reads again and keeps the other
cause), a module waiting for its rank is never marked, and a mark on a module that
never ran is cleared at the next pass that composes it.

Builds: design 47 H2 H-A-480 (and its addendum), H §771, H-A-59
2026-11-22 16:12:10 +01:00
jschoubben d5b2123180 Node-engine: a setting's word is never a running bundle's own (H-A-477)
Rebuilding a stubbed module's bundles from the tool runner's running
MESH_TOOL_ENV kept the setting words the engine itself composed before
(MESH_CONFIG_PUBLISH_TRIES "8" from the builder's old default), so §781's
check refused them against the setting's composed value ("5") and every
composition on shanks failed. Leave them out like the other mesh-said
words; they are composed again from the setting.

Builds: design 47 H2 §781, H-A-477
2026-11-22 15:33:38 +01:00
jschoubben 23e6e9e262 Compose every catalogue manifest and read its declaration, so no manifest-only key leaks again
serves reached the wire because nothing composed the catalogue's own manifests and read
what came out with the node-engine's strict decoder. The test composes each manifest of
the catalogue placed beside the repository on one machine, with what it needs there, and
fails when a key the node-engine does not know reaches a declaration; every other
refusal is the catalogue's own fault and is logged. Against the catalogue's main it
fails at the parent commit for nats (keeper) and mesh-recovery.

Builds: design 47 H2 H-A-469, H-A-469 addendum
2026-11-22 11:49:49 +01:00
jschoubben 687509adf7 The composer strips every manifest-only process key, serves beside bus
The composer stripped a process's bus before the declaration but not its serves, so the
node-engine's strict declaration read refused every module whose process declares serves
(the builder, the bus module's keeper, mesh-recovery): "a process does not use serves, and
it is set". The keys are now one set, built from the SDK's constants, so a later
manifest-only key joins it in one place; the bus test gains a row for serves.

Builds: design 47 H2 H-A-469
2026-11-22 11:37:09 +01:00
jschoubben 635df49682 Merge main (the node-engine composes nothing of a package artifact, H-A-466) 2026-11-22 04:50:40 +01:00
jschoubben cc79528acc Prove the take-in skips a done key's package (H-A-466, review finding)
The take-in's two package skips (the wait for a reference and Built)
were proved by no test: the test's take-in only got the build buildOf
makes, which carries no package. The builder's done key frombus hands
over does carry the package with no reference; the package row now
takes in such a key and checks Built gives no package. Without the
first skip the key is refused waiting for the package's reference;
without the second Built holds it.

Builds: design 47 H2 H-A-466
2026-11-22 04:38:46 +01:00
jschoubben 63133503a9 The node-engine composes nothing of a package artifact (H-A-466)
A package is a build input published to a registry, never placed on a
machine, and no registry seat the engine reads numbers it: asking its
digest failed the whole build, so a module declaring a package (the
indexer, the forge bridge) was wanted and held. The engine now leaves
package artifacts out of what it resolves (lookUp), holds
(partsMissing), builds (buildOf) and takes in (takein.Manifest,
takein.Built, and the manifest handed to Resolve), and so does the
candidate compose, which shares partsOf.

Builds: design 47 H2 H-A-466
2026-11-22 04:32:20 +01:00
jschoubben 876bf45223 H-A-458 (1): compare a want's run with the have's only within its branch
A pipeline's key is <branch>.<source>, so every pipeline of a branch has its
own key, and comparing the whole key found no applied run for a stale want of
an older pipeline of the same branch (main.175 after main.180): it was
applied. settleOne now compares the branches, each key without its last
part; a want of another branch still replaces whatever stands. Rows with real
keys: feat.10 applied, feat.9 refused and said, main.5 applied, the have
naming run 5 of main.5.

Review round 2, finding: the whole pipeline key compared instead of its branch.

Builds: design 47 H2 §813 (1); H-A-429 (1), H-A-458 (1)
2026-11-22 03:13:15 +01:00
jschoubben a9d41d44ec Merge main into feat/47-H2: the self-compose test fixes (#247) 2026-11-22 02:58:26 +01:00
jschoubben 3b1f5a07d2 H-A-458 (2): answer the composition's drift through the seat's contract
The verb composition's drift, the directory entries the mesh made whose
owner or mode on disk differ, was the engine's own DriftView, a field the
node-engine seat's definition did not have. The definition now carries
drift (id, path, drift) at form 4, and the engine answers it as the
generated CompositionAnswerDriftItem; DriftView goes. Row: the answer read
back through the contract's decoder names the drift.

Review round 1, finding: drift in the composition answer.

Builds: design 47 H2 §813; H-A-374, H-A-392 (b), H-A-458 (2)
2026-11-22 02:58:22 +01:00
jschoubben 213542192c H-A-458 (3): bind the taken write by the compose call's own context
The state taken's write was bound by a five-second bound of its own,
whatever the ask's deadline, so an ask whose caller had gone could still be
kept, and its repeat refused. takenWithin goes: Env.Taken carries the
compose call's context, Session.TakeOnce binds the state with it and keeps
nothing once it ended. Row: a take whose context ended is refused, and the
same id is then taken the first time.

Review round 1, finding: the taken bound.

Builds: design 47 H2 §775; H-A-364 (a), H-A-458 (3)
2026-11-22 02:57:45 +01:00
jschoubben 7d87dde0a4 H-A-458 (1): compare a want's run with the have's only within its pipeline
A want of another pipeline is a placement the assigner made on purpose, so a
lower run of it was refused against a run of another branch the engine had
applied. The have now keeps the pipeline of the want it was applied from
beside its run (the node-engine seat's form 4), settleOne compares the runs
only when the pipelines are equal, and a want of another pipeline replaces
whatever stands. Rows: a lower run of another pipeline is applied, a lower
run of the same is refused and said; the have names both.

Review round 1, finding: the applied run's branch.

Builds: design 47 H2 §813 (1); H-A-429 (1), H-A-458 (1)
2026-11-22 02:57:04 +01:00
jschoubben 86380b66c1 Write each node's declaration at the Version its engine reads
The composer is the node-engine's own build, so a newer composer could hand
an older engine a field its strict decode refuses. The engine's record now
states the declaration Version it reads, and the composer writes node X's
declaration at the lower of its own Version and X's (1 when X states none),
leaving out what that Version lacks: an engine reading 1 gets no
drain-bound and runs on its own default.

Builds: design 47 H2 §813 (12); H-A-416 (2), H-A-419; mesh-contracts feat/47-H2 e6ed560e (the record's declaration-reads)
2026-11-22 01:17:49 +01:00
jschoubben b305a5f08c Revert: the registry seats still hold versions; the engine asks it again
The resolved definitions of oci-artifact-registry and container-image-registry
on mesh-delivery feat/47-H2 (42788501) both still hold versions, from the
registry part they include; D4a (ac99946f) only gave list a module filter and
a cursor. The validator's refusal came from a request that did not resolve
the includes, so nothing the definitions hold is changed: this reverts
845de026.

Builds: design 47 H2 §813 (7); H-A-415 (2) and its addendum
2026-11-22 01:13:44 +01:00
jschoubben 845de02631 Read a module's version through the registry seats' list
H2's registry seat definitions fold the version read into list, filtered by
module, so the validator refused the engine's manifest for invoking
versions. The engine reads a version as a tag in list: oci-artifact-registry
by the module, every page while it says next, the blob a manifest keeps;
container-image-registry, whose list takes no module, by the repository's
name. The manifest invokes list, and the node grant the tests run under
follows it.

Builds: design 47 H2 §779, §813 (7); H-A-350 DMC-10, H-A-415 (2)
2026-11-22 01:12:33 +01:00
jschoubben 0c01c81c3f E8: run each file's unit tests as subtests of one test
The node-engine held 1,707 top-level unit tests against the budget of 500
a module. Each unit test file with two or more tests now runs them as
subtests of one test named for the file, each named as its function was,
in the same order: every check is kept, and the check counts 383. Files
with a TestMain, a re-run of a test by its name, or the integration tag
are left. Four files of this branch's earlier commits are formatted.

Builds: design 47 H2 §819; H-A-349 DQ-14
2026-11-22 00:30:05 +01:00
jschoubben 1c32872fcc H-A-374: set a drifted directory the mesh made right at the engine's start
ace's Node toolchain cache directory stood at 0700 against its entry's 0711
while the engine said its composition was unchanged: an unchanged
composition is never applied, and the judgement reads the compositions, not
the disk. Each module taken as running at the engine's start now has every
directory entry its record says the mesh made given its declared owner and
mode where they drifted on disk, one journal line each; one the mesh never
made stays used as found and is said (issue 339). The verb composition's
diff names a drifted directory the mesh made. The agent test that marks
modules not composed now waits for every want it marks.

Builds: design 47 H2 §813; H-A-374, H-A-392
2026-11-22 00:26:18 +01:00
jschoubben f4f5615bfb E4b: keep the run a module was applied from in its have
The engine kept the applied run in its memory only, so a restarted engine
applied an older run's want again. The have, the record of what the engine
applied, carries the run (the node-engine seat's form 2): the engine reads
it from the have before it applies a want that carries one, a write that
names none keeps the last have's, and every have is written at the seat's
form.

Builds: design 47 H2 §813 (1); H-A-355, H-A-384 (2), H-A-388 (1)
2026-11-22 00:19:47 +01:00
jschoubben fea6836f9e E6b: cut a derived rule's comment to nftables' 128 bytes with a count
nftables refuses a rule comment past 128 bytes, and with it the whole
table, so a port shared by enough modules took every opening down. The
comment is a label: past the bound its module list is cut with a count of
the rest; the whole list stands in the table's lines above the rule.

Builds: design 47 H2 §813 (4); H-A-357, H-A-384 (1)
2026-11-22 00:11:18 +01:00
jschoubben f5dcea2f10 E2: take a compose-candidate ask once by its id
The holder of mesh-wants asks each node-engine compose-candidate as a kept
call, so the same ask may come again on a transport fault. The engine reads
the ask id from the request header, keeps it in its own state taken for
compose-ask-bound (process.StateOver over the link it serves its seat on),
and a repeat while the ask's run goes joins that run and gets the answer
composed once; a repeat after the run ended is composed again, since the
verb is a read and no answer is kept. The manifest declares taken with its
8 MiB cap.

Builds: design 47 H2 §775, §820; H-A-351, H-A-364, H-A-383
2026-11-22 00:10:01 +01:00
jschoubben b33061088a E3: compose every setting as the word the one settings reader takes
A module's settings reached its own process only as files its manifest
named, and its tools bundles not at all. The node-engine now composes each
setting the module declares as MESH_CONFIG_<KEY>, its value as text, into
each of its processes' environments and its slice of the tool runner's
MESH_TOOL_ENV alike, and the tool runner's own into its process; the
runner's drain-bound is a Go duration like every time setting.

Builds: design 47 H2 §781; H-A-350 DMC-13, H-A-370, H-A-377
2026-11-22 00:09:04 +01:00
jschoubben 84fc34398a E4: apply a want again only from a newer run
One writer per composition key: the holder of mesh-wants writes run, the
composition run's pipeline sequence, on the want; the node-engine keeps
the run each module was applied from, applies again only a want whose run
is newer, and names the run in its journal.

Builds: design 47 H2 §813 (1); H-A-355
2026-11-21 23:22:30 +01:00
jschoubben 53d5c8b20f E1: read another part's values tolerantly
The generated decoders keep unknown fields and return the form read, so
a want the assigner writes with run, or any field added later, is applied
rather than refused: the node-engine that reads run runs before the
assigner writes it.

Builds: design 47 H2 §780; §813 (1) (the edge)
2026-11-21 23:18:48 +01:00
jschoubben 38447a66b8 E8: merge seven unit tests into the tests they extend
The node-engine holds 1,715 unit tests against a budget of 500; each of
these asserted one more case of a rendering another test already holds.

Builds: design 47 H2 §819
2026-11-21 23:16:38 +01:00
jschoubben 7adf9996c5 E7: stop the tool runner alone and wait its drain bound
The service manager's stop signalled the tool runner's whole group, so
its bundles died with their calls. The composer carries the runner's
drain-bound setting on its process; the unit stops the runner alone and
waits the bound and 15 s before it kills what is left, so the new runner
starts only after the old one exits or that bound passes.

Builds: design 47 H2 §813 (12); H-A-353; H-A-358
2026-11-21 23:13:34 +01:00
jschoubben 019ced4449 E5: answer the node-engine seat's composition-diff
The node-engine serves seat verbs and no tools bundle, so composed values
read by resource are a read verb beside composition: per resource, the
entries that differ between what runs and a revision or digest of its
composition key, environment entries by name, a secret's value masked.

Builds: design 47 H2 §813 (3); H-A-349 DQ-12b
2026-11-21 23:10:59 +01:00
jschoubben 6b3139218d E6: mark each derived accept rule's scope in its one comment
The holder of node-packet-filter reads a port's scope from rules, not
from the rule's shape; the older firewall's mesh-host mark stays.

Builds: design 47 H2 §813 (4); H-A-357
2026-11-21 23:07:16 +01:00
mesh-tools 39aff2c4a4 Merge pull request 'The node-engine's self-compose test lets no goroutine outlive a setting it reads (fix-a-bug-met-twice)' (#247) from fix/47-H1-selfcompose-races into main 2026-11-21 22:07:13 +00:00
jschoubben ed8aa83475 End the composer's loop before its settings are restored
fix-a-bug-met-twice, the same kind as the shadows: the composer's loop of
TestTheNodeComposesItsWantsFromTheBus ran on, until the deferred cancel,
past the cleanup that restores composeAgain, laterAgain, passSaysEvery and
slowAfter, which its passes read. The test now cancels it and waits for its
out to close first. -race -count=50: 50 of 50, no race.

Suspected, not fixed: the flake "the composer handed n1.tool.7777..., and
nothing changed" (trunk line 691, 1 of 60 at review, 0 of 200 here), I
think a compose-again pass handing a composition late after the issue 1966
step.

Builds: design 47 H H-A-312
2026-11-21 22:46:55 +01:00
jschoubben 6594409084 Wait for the shadow's settled answer and end the second shadow before its setting is restored
fix-a-bug-met-twice, the kind: TestTheNodeComposesItsWantsFromTheBus
asserted on output its composer and shadows still produced, or let their
goroutines outlive a setting they read. The groups' answers are now waited
for until every group is answered as it should be, not read from whichever
answer came first (which flaked, and the settled one then read as handed
again for nothing changed); the second shadow is ended before the test's
cleanup restores notReadyAfter. Carries the ghost-entry order and the first
shadow's end from the packet filter branch.

Builds: design 47 H H-A-312
2026-11-21 22:43:14 +01:00
jschoubben 3991d531bf Order the ghost's entry case and end the first shadow before its setting changes
Review round 2 (2), fix-a-bug-met-twice: the ghost's entry was answered at
once, so a pass could read it entry-missing before the assertion read
entry-asked; its answer now waits until the assertion has read. The 250 ms
real sleep before compose now is gone: askedWithin is set to none, then to
an hour for the ask made again at once. The first shadow ran on while
notReadyAfter was set for the next step, a data race; it is ended first.

Builds: design 47 H H-A-312
2026-11-21 22:32:36 +01:00
jschoubben d0129d08ae Grant the node-engine the subscription to its allowances-changed
Review round 1 (5): the node grant's stored copy had the allowed call
subjects but not the event the engine consumes, which the grants part
grants every machine's as a wildcard; the subtest of allowances-changed
now checks the grant covers the node's subject.

Builds: design 08 control-verbs §1, §3
2026-11-21 22:32:36 +01:00
jschoubben f642077720 Keep an allowance with no interface off the outward links
An allowance of the default set opened every link but the tunnel, so a
node's internet-facing link took it too. It now negates the tunnel and
every outward link, the same links the derived rules count as outside;
an outward link opens only when an allowance names it.

Builds: design 08 control-verbs §2, §8; design 47 H lead answer H-A-324
2026-11-21 22:32:36 +01:00
jschoubben 546e535375 Serve the node-engine seat's converged, and name a part a compose kept
The holder of node-packet-filter asks the node's convergence state before it
allows a port, and never assumes converged: the engine answers it from its
record, adopted or converged, since the mode last changed (now recorded with
its time), and the found firewall's kind when adopted; a record with no mode is
refused. The composition read of the filter's holder names, under
withheld-parts, the part node-packet-filter.allowed with why when the last
compose kept the filter file because allowed did not answer.

Builds: design 33 control-verbs §10, §14; design 08 control-verbs §4, §8; ADR 0683, ADR 0168; H-A-316, H-A-321
2026-11-21 22:32:36 +01:00
jschoubben dc3765bb7c Ask the packet filter's holder allowed at every compose of the filter
The node-engine stays the one renderer of the filter file: at each compose of
a converged node's filter it asks the holder of node-packet-filter its verb
allowed within the setting compose-ask-bound (10 s) and renders the answer.
When allowed does not answer, or answers what is not its answer, no filter file
is composed: the one loaded is kept as it runs, the holder's module is not held
(an old holder must stay replaceable), and the part withheld is said once in
the journal until an answer comes between. The node hears allowances-changed
on its own node's subject and composes again. The manifest invokes
seat:node-packet-filter.allowed and consumes node-packet-filter.allowances-changed.

Builds: design 08 control-verbs §1, §3, §4, §5, §7, §8; ADR 0683; H-A-305, H-A-307 (1), (2), H-A-314 (3), (5), (7), H-A-315 (2), (6), H-A-321
2026-11-21 22:32:36 +01:00
jschoubben 2a29c458ce Render the packet filter's allowances beside the derived ports
The operator, 2026-11-21: a firewall module has tools to open a port by hand
beside the ports derived from the modules' listens, and the node-engine stays
the one renderer of the filter file. AsNftablesAllowing renders each allowance
the holder answered as one accept rule in the input chain after the derived
ones: its interface by name or a negated match on the private network's
interface, its source by its family, an until as the one element of a timeout
set so the kernel closes the port, and the comment allowance <key> <at>. With
no allowance the file is today's, byte for byte.

Builds: design 08 control-verbs §2, §8; ADR 0683; H-A-305, H-A-308 (1), H-A-315 (4), (5)
2026-11-21 22:32:06 +01:00
jschoubben b113e57c6c Order the ghost's entry case and end the first shadow before its setting changes
Review round 2 (2), fix-a-bug-met-twice: the ghost's entry was answered at
once, so a pass could read it entry-missing before the assertion read
entry-asked; its answer now waits until the assertion has read. The 250 ms
real sleep before compose now is gone: askedWithin is set to none, then to
an hour for the ask made again at once. The first shadow ran on while
notReadyAfter was set for the next step, a data race; it is ended first.

Builds: design 47 H H-A-312
2026-11-21 22:26:52 +01:00
jschoubben b605449d47 H-A-337: a held module's owned paths are laid over the whole resolution's
Review of 94a2e6ed: composing the owned paths over the modules not held
changed which module owns a path by the rules between modules (a seat path
over a module's own tools, a seat path stepping back), so a hold's start
told /etc/resolv.conf to the uplink instead of the held resolver, and the
words changed once. The owned paths are now composed over the whole
resolution, less each entry a held module owns, with each running entry of
a held module where no entry left names its path.

Builds: design 47 H H-A-337, H-A-335, H-A-306 (3)
2026-11-21 22:17:27 +01:00
jschoubben 94a2e6ede0 H-A-335: a held module's share of a holder's words is what runs
The reads runtime on ace restarted twice in two minutes because its
MESH_SECRET_PLACES changed: the holders of node-reads and node-files were
told the node's secret places and owned paths from held modules' stubs,
which differ pass by pass while a part is withheld. While a module is held,
the resolution now takes its share from each runtime process as it runs:
the secret places are those the modules not held compose merged with every
place that runs, and the owned paths keep each running entry a held module
owns. Two passes with the same held set compose every runtime process the
same; a module that answered and changed is still composed from its build.

Builds: design 47 H H-A-335, H-A-337, H-A-306 (2), (3)
2026-11-21 22:10:50 +01:00
jschoubben cd7acb52d1 H-A-303: a pass that holds a module for a part withheld composes the tool runner as it runs
The node-engine restarted the tool runner at every self-compose on three machines:
a module held for a part that did not answer (the catalog half's entry, the
registry seats' versions) had its slice of the runtime process rebuilt from what
runs, with its fingerprint set to its want's and its files words dropped, so
MESH_TOOL_MODULES and MESH_TOOL_ENV differed pass by pass. A held module's
entries and words are now copied verbatim from the running process, after the
fingerprints are laid, so a holding pass digests as what runs and writes no new
revision; a module whose parts answered and changed is still composed from its
build. The composition read's grants ask names the holder it asked and why, and
says it once in the journal until the grants part answers again.

Builds: design 47 H H-A-303 (1)-(3), H-A-306 (1)-(3); H-A-296
2026-11-21 20:39:06 +01:00
jschoubben 7d5faee346 H-A-146: the bound before a failed resolution is asked again is the setting resolve-again-minutes
A failed resolution of a want's version, or one forgotten after a failed fetch, stood a minute written into
the code; by principle 11 a bound is a setting with a default. The manifest declares resolve-again-minutes
(1 to 60, default 1) and its file, the engine reads it at its start and hands it to the composer's Env.

Builds: design 47 H H-A-146 (hq 26f5505e), principle 11
2026-11-20 20:54:32 +01:00