MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / QueueCacheEdits

Method QueueCacheEdits

agent/loop.go:1130–1143  ·  view source on GitHub ↗
(edits []agentContext.CacheEdit)

Source from the content-addressed store, hash-verified

1128 }
1129 for _, candidate := range candidates {
1130 if breakpoints.Cardinality() >= maxHistoryBreakpoints {
1131 break
1132 }
1133 if candidate >= boundary {
1134 continue
1135 }
1136 tooClose := false
1137 for existing := range breakpoints.Iter() {
1138 if absInt(candidate-existing) < 4 {
1139 tooClose = true
1140 break
1141 }
1142 }
1143 if !tooClose {
1144 breakpoints.Add(candidate)
1145 }
1146 }

Calls

no outgoing calls