From d067eda0370b4f4baca34f67ba7e070fc5dbe624 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 10:47:18 +0100 Subject: [PATCH] ax(ueps): replace prose comment with usage example on ThreatScore default AX Principle 2: comments must show concrete usage, not prose rationale. "Assumed innocent until proven guilty" explains intent but shows no usage. Replaced with a concrete mutation example per the RFC convention. Co-Authored-By: Charon --- pkg/ueps/packet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ueps/packet.go b/pkg/ueps/packet.go index 840f15d..f0a615a 100644 --- a/pkg/ueps/packet.go +++ b/pkg/ueps/packet.go @@ -53,7 +53,7 @@ func NewPacketBuilder(intentID uint8, payload []byte) *PacketBuilder { CurrentLayer: 5, // Application TargetLayer: 5, // Application IntentID: intentID, - ThreatScore: 0, // Assumed innocent until proven guilty + ThreatScore: 0, // builder.Header.ThreatScore = 100 // elevated threat; 0 = clean }, Payload: payload, }