Mining/pkg/node
Claude 895dec281b
ax(node): rename writeMu to writeMutex in PeerConnection
Abbreviation writeMu requires a reader to infer "mutex" — violates AX
Principle 1 (predictable names over short names). writeMutex is
self-describing with no mapping overhead.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 13:15:51 +01:00
..
bufpool.go ax(node): expand abbreviated variable names in bufpool to predictable full names 2026-04-02 10:02:11 +01:00
bundle.go ax(node): rename f to outputFile in extractTarball (AX Principle 1) 2026-04-02 11:53:43 +01:00
bundle_test.go ax(node): rename bundle_test.go functions to TestFilename_Function_{Good,Bad,Ugly} convention 2026-04-02 10:15:00 +01:00
controller.go ax(node): expand ctrl receiver to controller in Controller methods 2026-04-02 12:54:19 +01:00
dispatcher.go Implement STIM bundle decryption and installation 2026-02-02 06:07:05 +00:00
identity.go ax(node): replace prose comment on NodeManager with usage example 2026-04-02 13:02:34 +01:00
identity_test.go ax(node): rename nm/nm1/nm2 to nodeManager/nodeManager1/nodeManager2 in identity test 2026-04-02 13:14:08 +01:00
lethean.go ax(node): expand abbreviated loop variable in DiscoverGateways usage example 2026-04-02 13:07:40 +01:00
lethean_test.go ax(node): strip _WrongURL suffix from lethean test names 2026-04-02 12:23:44 +01:00
message.go ax(node): rename errMsg to errorMessage in NewErrorMessage usage example 2026-04-02 13:11:02 +01:00
message_test.go ax(node): rename message_test.go functions to TestMessage_Function_{Good,Bad,Ugly} 2026-04-02 11:25:07 +01:00
peer.go ax(node): replace prose comments with usage examples (AX Principle 2) 2026-04-02 12:30:42 +01:00
peer_test.go ax(node): enforce TestFilename_Function_{Good,Bad,Ugly} naming in peer_test.go 2026-04-02 10:44:20 +01:00
protocol.go ax(node): remove banned fmt import from protocol.go 2026-04-02 13:00:55 +01:00
protocol_test.go ax(node): rename protocol_test.go functions to TestFilename_Function_{Good,Bad,Ugly} 2026-04-02 12:56:35 +01:00
transport.go ax(node): rename writeMu to writeMutex in PeerConnection 2026-04-02 13:15:51 +01:00
worker.go ax(node): rename errMsg to errorMessage in Worker.HandleMessage 2026-04-02 13:09:22 +01:00
worker_test.go ax(node): rename nm to nodeManager in worker_test.go (AX Principle 1) 2026-04-02 13:05:57 +01:00