From 3ec18c9cd2bfa4ed190ff51b614262004632470d Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 22 Nov 2026 01:45:28 +0100 Subject: [PATCH] M1: nftables' setting allowances-max is marked runtime The packet filter holder's tools read allowances-max themselves (config at tools/index.ts); no file places it, so the manifest says "runtime": true and the judge's placed-nowhere rule holds it as read by the module's code. Builds: design 47 H2 H-A-430 (4) --- modules/nftables/module.json | 1 + modules/nftables/test/allowances.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/nftables/module.json b/modules/nftables/module.json index 33c275f66..f4b31b727 100644 --- a/modules/nftables/module.json +++ b/modules/nftables/module.json @@ -95,6 +95,7 @@ "type": "number", "description": "The most allowances this machine keeps, which allow refuses past (design 33 control-verbs ยง3): it keeps the rendered chain readable and allowed in one answer.", "trusted": false, + "runtime": true, "default": 100 } }, diff --git a/modules/nftables/test/allowances.test.ts b/modules/nftables/test/allowances.test.ts index 44b0342a5..7bd8d219c 100644 --- a/modules/nftables/test/allowances.test.ts +++ b/modules/nftables/test/allowances.test.ts @@ -353,4 +353,5 @@ test("the manifest serves the six verbs, requires the state per machine, invokes assert.deepEqual(m.invokes, ["seat:node-engine.converged", "seat:mesh-hand-acts.hand-act"]); assert.equal(m.emits, undefined, "the claim says the seat's event (H-A-317)"); assert.equal(m.config["allowances-max"].default, MOST); + assert.equal(m.config["allowances-max"].runtime, true, "the holder's code reads it itself; no file places it (H-A-430 (4))"); });