package provision // movesOfflinePrecopyWriteCensusOverlay is moves-offline-precopy's // record-write sites (parallel copies in lease.MirrorPrefix and the carlos // move offline stage door), census-ruling-moves-offline-precopy: RULED by the // coordinator, as census owner for this branch (2026-10-21), accepted as // classified (docs/superpowers/notes/census-proposal-moves-offline-precopy.md). // // Three sites change and keep their class; no site is added. // registerCLIRoutes gains the stage door's route line beside the six // offline doors (key-site, main's), pinned on the merged tree with // design-plans-and-caps' two account plan doors. offlineTakeSeal // (nonrecord, census-ruling-moves-offline's) gains one refusal before its // mirror after Astra's round 2: a staged move seals only into the staging // bucket and region fixed on the record; its Puts and their keys under the // move's moves/@offline/ prefix are unchanged. MirrorPrefixKeep plans its skips first // and then runs the copies and, after every copy has landed, the deletes on // up to DefaultMirrorWorkers goroutines; it still writes only the // destination prefix (Copy or CopyVersioned, Delete) and the receipts // through the book (set, drop and save, every update under one mutex, // receiptLedger.save the one Put, unchanged), so versioned-transport stands. // After Astra's round 1 (692d41cf) the book is read once before the workers // start whenever the round copies anything, so set and drop touch memory // only and no request is made under the mutex; the write set is unchanged. var movesOfflinePrecopyWriteCensusOverlay = []censusEntry{ {"internal/console/authcli.go", "Server.registerCLIRoutes", "key-site", "lit:instances,lit:sidecars", "a0aff01b7e2f4bb6fd23e8b54d41d90f1cd4171822f9defb9bd16cb2a08e2e87"}, {"internal/lease/mirror.go", "MirrorPrefixKeep", "versioned-transport", "sel:CopyVersioned", "dff4d03fa4e56219c5a3e08862f24ad2a6bce7a7e0df806571fa52e8fb29fb19"}, {"internal/host/movesoffline_seal.go", "movesWorker.offlineTakeSeal", "nonrecord", "sel:Put", "f606873fb09e8644d449a36ae64cecbb84b2f83791d4ebec4cb491d3d3f7cdaa"}, } // movesOfflinePrecopyWriteCensusInventory is design-plans-and-caps' inventory // (on scan-demand-revival's) with the moves-offline-precopy overlay, loaded // last: a changed site replaces its entry, a new one is added. func movesOfflinePrecopyWriteCensusInventory() []censusEntry { entries := append([]censusEntry(nil), plansCapsWriteCensusInventory()...) for _, replacement := range movesOfflinePrecopyWriteCensusOverlay { found := false for i, entry := range entries { if entry.File == replacement.File && entry.Unit == replacement.Unit { entries[i], found = replacement, true break } } if !found { entries = append(entries, replacement) } } return entries }