v2.0.0: claims model - signed MMUR2 votes in a truth DB, merged view in a rebuildable cache DB; POST /api/claims, claims and merge routes, unsigned writes answer 410
Build and Push Docker Image / build (push) Successful in 5m1s

This commit is contained in:
Worph
2026-10-25 17:36:00 +00:00
parent b0adefb97b
commit 84af298792
78 changed files with 7203 additions and 5617 deletions
+7
View File
@@ -261,6 +261,13 @@ func (w *Watcher) ScanDirectoryDiff(root string, watcherID string) DiffScanResul
w.dispatcher.Dispatch(event)
state.Delete(relPath)
result.Deleted++
// Only the box-local facts go; the record's claims stay.
if w.storage != nil {
abs := filepath.Join(w.filesPath, filepath.FromSlash(relPath))
if err := w.storage.RemoveFileTuple(abs); err != nil {
log.Printf("[Watcher] forget %s: %v", abs, err)
}
}
}
}