From 9f44caa1f01abfe6ce7ff7948242994e58d9dadd Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 25 Nov 2026 15:21:17 +0100 Subject: [PATCH] =?UTF-8?q?Design=2047=20H2:=20H-A-713,=20the=20node-engin?= =?UTF-8?q?e=20writes=20a=20unit=20again=20for=20the=20fingerprint=20that?= =?UTF-8?q?=20runs;=20no=20backup,=20no=20move=20(ADR=200429=20=C2=A714)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Round 2 of the MESH_NODE fix's review found the whole module applied again: backed up, run-once steps run, and a held module moved without the operator's answer. H-A-711 narrowed: units written again, a service restarted, a held module untouched. H-A-712 moved to file 6, which holds every answer after H-A-707. --- .../47-milestones/H2-lead-answers-5.md | 26 ---------- .../47-milestones/H2-lead-answers-6.md | 51 +++++++++++++++++++ 2 files changed, 51 insertions(+), 26 deletions(-) diff --git a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-5.md b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-5.md index 35473d5b..3b407c29 100644 --- a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-5.md +++ b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-5.md @@ -502,32 +502,6 @@ bb11615, the node-engine d27af83, mesh-contracts 52e5224) and of mesh-tools 3934 it is checked: a row of the node-engine's tests (a unit on disk without `MESH_NODE` is written again with it at the first pass, and not at the second); live, networkmanager's sign-in runs on those three machines after the node-engine's delivery. A-342; principles 3 and 2. -- **H-A-712 (the gate's owed acts leave its ledger: `mesh/ledger.remove` stays, the tool runner passes every call it - states, an act already performed is answered again, 15:14)** 25 Nov; the milestone's scope item 15 (the operator in - chat, about 14:5x CET: "H2 corrections is fine"). Read 15:1x CET at `origin/main` of mesh-catalog, mesh-delivery and - mesh-tools: the gate removes an act's entry once the forge bridge performed it (`Records.Act`, H2 §809, H-A-455 (1)), - through `mesh/ledger.remove`; the tool runner states the family `ledger-upkeep-calls` (`fill` and `remove`, its - `callFamilies`), but its pipe passes only the methods of a second list (`busStateCalls`), which names neither; so the - removal is refused, the gate's take of `owed.ended` fails and is heard again, and its open acts only grow (3640, read - about 14:4x). And the bridge, hearing again an act its state `performed` already holds, says nothing - (`held`: "the outcome said once"), so an act the gate says again at its start is never answered. Three lines. - (1) **It amends H-A-634 (6).** `mesh/ledger.remove` keeps a caller, the removal of a performed act, so it stays, with - `LedgerRemoveRequest` and `LedgerRemoved` in mesh-sdk's `buscalls`, the tool runner's removal and its place in - `ledger-upkeep-calls`, and the purge of an instance's operations from the history (`History.Purge`), which the removal - makes; what else H-A-634 (6) removes (the gate's sweep at each open and that open's refusal) still goes. Principle 7. - (2) **The tool runner passes every call it states, from one list.** The methods its pipe hands to `BusState` are the - methods of the families it states (`callFamilies`), the watches handed on as `busStateWatches` hands them today; no - second list is kept, so a family stated is a family answered. Principles 3 and 7. - (3) **An act already performed is answered again.** The bridge, hearing an act its state `performed` holds, says the - outcome kept there as `owed.ended` once more and performs nothing at the forge; the gate takes an outcome heard twice - as changing nothing (`OwedEnded`). So the gate's start, which says its open acts again, ends every act already - performed, and no hand act or extra restart is needed: the delivery of the tool runner, the bridge and the gate is the - recovery. Principle 3. - How it is checked: a row of the tool runner's pipe tests, a table read from the one list, in which every method of - every stated family reaches `BusState` and none is refused for its name, `mesh/ledger.remove` of the bundle's own - ledger among them; a row of the bridge's owed tests (an act held, heard again, says its kept outcome once more and - calls the seat `git` not at all); live, after the delivery, the gate's open acts fall from 3640 to those still owed, - and its listener of the stream `forge` hears no act again. H2 §809, H-A-455 (1), H-A-634 (6); principles 3 and 7. ## The prepare's design questions no principle settles: DQ-43 to DQ-46 (2026-11-25 from 14:50 CET) diff --git a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-6.md b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-6.md index 1ae94237..42a3e9a8 100644 --- a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-6.md +++ b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-6.md @@ -14,6 +14,7 @@ decisions: - "ADR 0656" - "ADR 0539" - "ADR 0377" + - "ADR 0429" --- # Design 47, milestone H2: lead answers, continued a fifth time @@ -166,3 +167,53 @@ says (H-A-707 answers DQ-43 there), read at the same mains. words. Live, after H2's delivery: the next pipeline that moves nats, postgres or keycloak with no change of its container delivers it with no ask of theirs in `operator-channel.asks`. ADR 0656 §1; ADR 0539 §14; ADR 0377 §3; principles 2, 3 and 7. + +## Lead answers, continued (2026-11-25 from 15:14 CET) + +- **H-A-712 (the gate's owed acts leave its ledger: `mesh/ledger.remove` stays, the tool runner passes every call it + states, an act already performed is answered again, 15:14; moved here from H2-lead-answers-5.md, which holds no answer after H-A-711)** 25 Nov; the milestone's scope item 15 (the operator in + chat, about 14:5x CET: "H2 corrections is fine"). Read 15:1x CET at `origin/main` of mesh-catalog, mesh-delivery and + mesh-tools: the gate removes an act's entry once the forge bridge performed it (`Records.Act`, H2 §809, H-A-455 (1)), + through `mesh/ledger.remove`; the tool runner states the family `ledger-upkeep-calls` (`fill` and `remove`, its + `callFamilies`), but its pipe passes only the methods of a second list (`busStateCalls`), which names neither; so the + removal is refused, the gate's take of `owed.ended` fails and is heard again, and its open acts only grow (3640, read + about 14:4x). And the bridge, hearing again an act its state `performed` already holds, says nothing + (`held`: "the outcome said once"), so an act the gate says again at its start is never answered. Three lines. + (1) **It amends H-A-634 (6).** `mesh/ledger.remove` keeps a caller, the removal of a performed act, so it stays, with + `LedgerRemoveRequest` and `LedgerRemoved` in mesh-sdk's `buscalls`, the tool runner's removal and its place in + `ledger-upkeep-calls`, and the purge of an instance's operations from the history (`History.Purge`), which the removal + makes; what else H-A-634 (6) removes (the gate's sweep at each open and that open's refusal) still goes. Principle 7. + (2) **The tool runner passes every call it states, from one list.** The methods its pipe hands to `BusState` are the + methods of the families it states (`callFamilies`), the watches handed on as `busStateWatches` hands them today; no + second list is kept, so a family stated is a family answered. Principles 3 and 7. + (3) **An act already performed is answered again.** The bridge, hearing an act its state `performed` holds, says the + outcome kept there as `owed.ended` once more and performs nothing at the forge; the gate takes an outcome heard twice + as changing nothing (`OwedEnded`). So the gate's start, which says its open acts again, ends every act already + performed, and no hand act or extra restart is needed: the delivery of the tool runner, the bridge and the gate is the + recovery. Principle 3. + How it is checked: a row of the tool runner's pipe tests, a table read from the one list, in which every method of + every stated family reaches `BusState` and none is refused for its name, `mesh/ledger.remove` of the bundle's own + ledger among them; a row of the bridge's owed tests (an act held, heard again, says its kept outcome once more and + calls the seat `git` not at all); live, after the delivery, the gate's open acts fall from 3640 to those still owed, + and its listener of the stream `forge` hears no act again. H2 §809, H-A-455 (1), H-A-634 (6); principles 3 and 7. +- **H-A-713 (a process given `MESH_NODE` at the node-engine's update: its unit written again, a service restarted, + nothing else, 15:21)** 25 Nov; amends H-A-711, after round 2 of the review of the MESH_NODE fix (`mesh-host` branch + fix/mesh-node-composition) found that the fix applies the whole module again: a module counted as not recorded is applied + as a move, so a data module is backed up first (11 of the catalog's modules hold data and run a process), its run-once + steps run again (16) and its timers restart (3), and a module held for a failed backup, whose want names a fingerprint + not yet applied, is backed up and moved without the operator's answer. ADR 0429 §14 backs a data module up "before it + applies a new fingerprint of it", and a backup that fails holds the module until "a new fingerprint or the operator's + answer to an ask moves it"; a unit written again for the fingerprint that runs is no move. So H-A-711's "applies a + process again" is, exactly: at its first pass after its own update, for a module whose have (or the declaration it kept) + says it runs its want's composition, the node-engine writes again the unit of each process whose unit as composed + differs from the one its applied record says it wrote, and restarts that process when it runs as a service; a run-once + step's unit and a scheduled process's unit are written again and neither run nor started, and take the name at their + next run. No backup is made, no other resource is written, and the module's have is unchanged. A module held, or whose + want names a fingerprint not yet applied, is not touched: the apply of its new fingerprint gives the name. The unit the + comparison reads is the one the apply builds, by one function (principle 7). The operator accepted a one-time restart of + every process (2026-11-25 about 14:40); this restarts fewer. How it is checked: rows of the node-engine's tests: (a) a + module running its want's composition, with a service unit and a run-once step written without `MESH_NODE`: both written + again at the first pass, the service restarted, no backup asked, the step not run, and nothing at the second pass; (b) a + held module whose want names a new fingerprint stays held at the start, nothing written; (c) the comparison's record + comes from a real apply. Live: networkmanager's sign-in runs on the three machines where it crash-looped, and the + node-engine's delivery raises no backup and no ask. ADR 0429 §14; principles 2, 3 and 7.