Mining/pkg/ueps
Claude 0a30a45b7d
Some checks failed
Security Scan / security (push) Successful in 30s
Test / test (push) Has been cancelled
ax(ueps): add usage-example comments to exported tag constants
TagCurrentLayer, TagTargetLayer, TagIntent, and TagThreatScore were
exported constants with no comment, violating AX Principle 2 (comments
as usage examples). Each now has a concrete writeTLV call showing the
tag, value encoding, and valid range where relevant.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 12:13:50 +01:00
..
packet.go ax(ueps): add usage-example comments to exported tag constants 2026-04-02 12:13:50 +01:00
packet_test.go ax(ueps): assert sentinel error identity in writeTLV_Bad test 2026-04-02 12:05:04 +01:00
reader.go ax(ueps): fix misleading errIntegrityViolation comment and message 2026-04-02 11:54:45 +01:00
reader_test.go ax(ueps): remove redundant inline comment that restates the pre-function docstring 2026-04-02 11:01:18 +01:00