Skip to content

#1 Persistent memory for AI coding agents based on real-world benchmarks

docs(audit): clarify mem::auto-forget is bulk, not user-initiated (CR)

Rohit Ghumareef002195d629
diff --git a/src/functions/audit.ts b/src/functions/audit.ts
index f3d5f088..1e75b4b7 100644
--- a/src/functions/audit.ts
+++ b/src/functions/audit.ts
@@ -23,7 +23,9 @@ import { logger } from "../logger.js";
//
// operation field:
// - "delete" — permanent removal (governance, retention sweep, evict).
-// - "forget" — user-initiated forget (mem::forget, mem::auto-forget).
+// - "forget" — forget/removal flows. Scoped when emitted by
+// mem::forget (user-initiated); bulk-batched when
+// emitted by mem::auto-forget (automatic sweep).
// - everything else — see AuditEntry["operation"] union in src/types.ts.
//
// When adding a new deletion path, add an explicit recordAudit call