bastion 0.58.1
ci / personal-data (push) Successful in 5s
ci / test (push) Successful in 4m6s
ci / fuzz (push) Failing after 2m58s

This commit is contained in:
Privatae
2026-10-29 21:20:20 +00:00
parent 01889e2a48
commit 4a5c310482
26 changed files with 628 additions and 134 deletions
+4
View File
@@ -142,6 +142,10 @@ func dcnCheckPlan(root string, excludes []string, moves []dcnMove) []dcnPlanProb
continue
}
seenTo[pathKey(dst)], seenFrom[pathKey(src)] = i, i
if dcnAgentAsSent(root, m.From) || dcnAgentAsSent(root, m.To) {
bad(i, m, "the local search agent's own folder (.agent) is never moved from or into")
continue
}
if dcnExcludedAsSent(excludes, root, m.From) {
bad(i, m, "source is excluded by the grant")
continue