GATE (A-42, §592): the gate's approval-carried-open has scope delivery

FindingScope is delivery, the scope the mesh already uses for the delivery's findings; the test names the literal (it failed with gate).

Builds: design 47 G §592, A-42

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
2026-11-11 22:45:09 +01:00
parent 0bd978f4ee
commit f5ce980808
2 changed files with 3 additions and 3 deletions
@@ -20,9 +20,9 @@ import (
// Module is the gate's module name, the observer of its findings.
const Module = "mesh-delivery-gate"
// The scope and the kind of the finding a carried approval nobody uses is (design 47 §592).
// The scope and the kind of the finding a carried approval nobody uses is (design 47 §592, A-42: the scope the mesh already uses for the delivery's findings).
const (
FindingScope = "gate"
FindingScope = "delivery"
ApprovalCarriedOpen = "approval-carried-open"
)
@@ -93,7 +93,7 @@ func TestTheGatesApprovalCarriedOpenIsWrittenThroughItsHeldWriterAndClearedByThe
t.Fatalf("held %+v", held)
}
for _, f := range held {
if f.Kind != ApprovalCarriedOpen || f.Scope != FindingScope || f.Observer != Module || !strings.Contains(f.Summary, head[:12]) {
if f.Kind != ApprovalCarriedOpen || f.Scope != "delivery" || f.Observer != Module || !strings.Contains(f.Summary, head[:12]) {
t.Fatalf("finding %+v", f)
}
}