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 <charon@lethean.io>
This commit is contained in:
Claude 2026-04-02 10:47:18 +01:00
parent b28d0bd12f
commit d067eda037
No known key found for this signature in database
GPG key ID: AF404715446AEB41

View file

@ -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,
}