Ξ-W2-T1: the resample bake chain — instrument renders, extension banks, one click re-points and resets

This commit is contained in:
2026-08-01 16:26:28 -04:00
parent 6c982cd617
commit 60308a3655
52 changed files with 2212 additions and 55 deletions
+8
View File
@@ -28,6 +28,7 @@
#include "core/model/bank_model.h"
#include "core/reclaim/prune_reconcile.h"
#include "core/tracking/origin_ledger.h"
#include "core/tracking/tracking_authority.h"
#include "core/version/app_version.h"
#include "core/view/view_mode_model.h"
@@ -115,6 +116,13 @@ public:
// prune action confirms this set before deleting it. Read-only.
std::vector<std::string> pruneOrphanSet() const;
// The resample's replace-vs-add input for one capture, gathered from the SAME live
// tracking state the prune scan reads, so the two consumers cannot disagree. Exposed
// as the answer rather than as the ledger, because an absent record and an unreadable
// ledger demand opposite treatment and only the pair says which. Read-only.
tracking::Answer tiedUsageFor(const std::string& capturePath,
const std::string& ownUsageKey) const;
// Delete the confirmed orphan set — the sole file-deletion path,
// callable only after an explicit user confirm. Re-enumerates and runs
// the pure core fresh, deleting exactly `confirmed ∩ freshOrphans` so a