Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

refactor(evidence-receipts): drop change-narration comment on the lock pool

Sergey Kozyrenko83bff62d3bb6
diff --git a/backend/pkg/tools/evidence_receipts.go b/backend/pkg/tools/evidence_receipts.go
index 453036ca..30fa3695 100644
--- a/backend/pkg/tools/evidence_receipts.go
+++ b/backend/pkg/tools/evidence_receipts.go
@@ -95,8 +95,6 @@ type fileEvidenceReceiptRecorder struct {
newID func() string
}
-// Fixed stripes rather than a per-path sync.Map that kept one *sync.Mutex per flow
-// for the whole server uptime.
const evidenceReceiptLockShards = 256
var evidenceReceiptLocks [evidenceReceiptLockShards]sync.Mutex