From c8140b9fb8289df866443c73eea55578e8b640f7 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 22 Nov 2026 21:22:23 +0100 Subject: [PATCH] Design 47 H2: H-A-498 addendum, the copied manifest helper goes; the SDK's manifest type is the reader --- 03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md index a998720c..2b39c670 100644 --- a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md +++ b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md @@ -1202,3 +1202,9 @@ The lead's one-line answers to the questions H2's develop and review raise (impl module's test reads its manifest leniently (unknown fields ignored) and asserts only what the module itself promises (its claims, files, tools). Every copy of the helper (the 15 desktop modules, pacman, and any other test that decodes module.json strictly) drops the strict decode in one change. P3, principle 13 (no shared helper for it). +- **H-A-498 addendum (the copied helper goes; the SDK's manifest type is the one reader, 01:35)** The operator, 22 Nov + 21:23: a test helper copied into each module "sounds wrong". The manifest's form is a contract every part reads + through mesh-sdk's manifest package (principle 13's exception: a contract's records); so every module's test reads + module.json through that package's type and reader, and the copied `manifest` struct and `readManifest` are deleted + from all sixteen modules. The SDK's type knows every field the mesh reads (`class` included; if it does not, that + is the sdk fault to fix first, said). The test asserts only the module's own promises.