From cf1eb715d1bffd0ed35f4d74d3b84f22f4a1590e Mon Sep 17 00:00:00 2001 From: jochen Date: Tue, 24 Nov 2026 21:50:57 +0100 Subject: [PATCH] Design 47 H2: H-A-634 rewritten, the bus expires an ended record; H-A-638 withdraws H-A-636 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The operator answered (2026-11-24 about 21:2x CET) that the gate's delivery history is not kept beyond 90 days and is never archived. So an ended record now goes 30 days after its end by the bus's lifetime per key, driven by the ledger's own configuration (ended-days, ends-with), and its history by the ledger's keeping days; the gate deletes nothing, and mesh/ledger.remove, gate_records_delete and held/months go. The gate lists its records from a watch of its own ledger instead of month lists. H-A-636 gave a ledger's state its ledger's cap, against ADR 0595 §3's 64 MiB: H-A-638 withdraws it and reverts its code. H-A-635 to H-A-637 move into the fourth file, which holds every answer from H-A-634 on, since the third passed its 60 KB bound. --- .../47-milestones/H2-lead-answers-3.md | 39 +-- .../47-milestones/H2-lead-answers-4.md | 318 ++++++++++++------ 2 files changed, 219 insertions(+), 138 deletions(-) diff --git a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md index daf49264..8e7b5cc6 100644 --- a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md +++ b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md @@ -3,7 +3,7 @@ layer: to-be status: in-progress design: 47 milestone: H -updated: 2026-11-23 +updated: 2026-11-24 decisions: - "ADR 0593" - "ADR 0686" @@ -562,40 +562,3 @@ where the design and the code disagree; the lead's answers follow, each against where a package path's Go module requires a module of its own repository at the zero version, resolved only through that path's module file, and its listing names that module's imports; live, the next pipeline whose movers hold mesh-delivery-contracts passes its build. Principles 3 and 7. -- **H-A-635 (a slow pass of the assigner says which phase it is in, 01:08)** 24 Nov, issue 1984; answers the stall met - 2026-11-23 23:53:48 UTC: the assigner on one machine logged "the pass took" (H-A-259) every 20 s, then nothing for six - minutes at near-zero CPU while every validate and composition step of a 70-mover pipeline waited; a read of its locks - found no cycle, and no tool takes a stuck process's stacks, so where it stood is not known. The pass names the phase it - is in as each starts (the assignments seat, the kept graph, the wants, the pass said, the puts, the node wants, the - backups and reverts), in the passer's own memory; a pass still running after the assigner setting - `pass-stall-seconds` (10 to 600, default 60) says once in the journal "the pass started at