Performance, security and provenance hardening (ann/io/migrate/agent) + two audit fixes #2

Merged
osobh merged 23 commits from verify/v3-plus-v6 into main 2026-08-17 14:22:14 +00:00
Showing only changes of commit 603fcf8757 - Show all commits
+2 -2
View File
@@ -280,7 +280,7 @@ impl ConsolidationEngine {
if working_count > capacity {
let evict_n = working_count - capacity;
// Collect the ids of the records to evict (lowest decay = first in sorted list).
let evict_ids: Vec<u64> = working_indices[..evict_n]
let evict_ids: std::collections::HashSet<u64> = working_indices[..evict_n]
.iter()
.map(|&i| self.records[i].id)
.collect();
@@ -341,7 +341,7 @@ impl ConsolidationEngine {
});
let evict_n = episodic_count - episodic_capacity;
let evict_ids: Vec<u64> = episodic_indices[..evict_n]
let evict_ids: std::collections::HashSet<u64> = episodic_indices[..evict_n]
.iter()
.map(|&i| self.records[i].id)
.collect();