M1: the gate prunes its state heads toward its cap at its own writes

heads is written through the SDK's pruned state, which judges the fill each
put answers and past prune-mark (70 %) prunes the oldest keys to
prune-target (50 %); the gate serves mesh-delivery-gate_state_prune_now and
mesh-delivery-gate_state_keep, each written in the hand-act log.

Builds: design 47 H2 §812; H-A-380, H-A-386, H-A-411 (3)
This commit is contained in:
2026-11-22 01:03:06 +01:00
parent ac4ed46359
commit 74dd8af699
3 changed files with 45 additions and 2 deletions
+21 -1
View File
@@ -433,7 +433,9 @@
"gate_source_again",
"gate_source_seed",
"gate_source_start",
"gate_times"
"gate_times",
"mesh-delivery-gate_state_keep",
"mesh-delivery-gate_state_prune_now"
],
"config": {
"record-retention": {
@@ -464,6 +466,24 @@
"trusted": false,
"runtime": true,
"default": "3m"
},
"prune-mark": {
"type": "number",
"description": "The fill of the gate's state heads, in percent of its cap, past which the gate prunes it at its own write, oldest first (design 47 H2 §812): below the bus module's raise mark of 75 %.",
"trusted": false,
"runtime": true,
"minimum": 1,
"maximum": 100,
"default": 70
},
"prune-target": {
"type": "number",
"description": "The fill, in percent of the cap, a prune of the gate's state heads takes it down to (design 47 H2 §812); below prune-mark.",
"trusted": false,
"runtime": true,
"minimum": 1,
"maximum": 100,
"default": 50
}
},
"resources": [