{"content":"higun dev journal — commit a48305b (codex/repair-unresolved-dust): fix: split repair_unresolved_dust into dump/scan/apply phases\n\nOperational correction found on first prod attempt: Pebble stores are exclusively locked by the running indexer, so the online scan could not open them, and a ~146k-candidate scan takes about an hour — far beyond an acceptable stop window on the 2-core host.\n\nNew model with two ~1-minute offline windows instead of one long one: dump (offline, reads target rows, computes pre-candidates = income entries not covered by the spend row, resolves MVC public→node txids via the tx_alias map, no RPC) → scan (online, read-only, rate-limited, no store access at all) → apply (offline, spot-verifies the scan file, writes marker spend records, skips candidates the indexer covered since the scan, clears tracked balance rows). Candidates carry their alias-resolved node txid from the dump. 5 unit tests green; linux build 93ba6193….","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}