upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/sync/mod.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-26 08:53:46 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-27 20:38:10 +0000
commite25b9591d1f2cb4f54649d728104993e11e53d24 (patch)
tree50d4615757fef090e9c7cbf8921bc2314b8decb9 /src/sync/mod.rs
parentef50f4bd9775e86011d8d636df13422c0dcec287 (diff)
Add classification script with Option B redesign
Implements the redesigned migration analysis classification system: Tier 1 - Ready for Migration (no action required): - Complete in both prod and archive - Deleted by user (kind 5 event) - Empty in prod (cat2) - always no action, regardless of archive - Archive-only (not in prod) - Purgatory-only (not in prod) Tier 2 - Needs Re-sync (action required): - Complete in prod, missing/incomplete in archive - Includes purgatory context (expired vs never-tried) Tier 3 - Manual Review (investigation needed): - Partial in prod (cat3) - No-match in prod (cat4) - Parse failures with complete prod Key fixes: - Use safe arithmetic ($((x + 1))) instead of ((x++)) with set -e - Batch nak hex-to-npub conversions for deletion processing - Handle NDJSON format for deletion files Output: 352 ready, 295 resync, 46 review (693 total)
Diffstat (limited to 'src/sync/mod.rs')
0 files changed, 0 insertions, 0 deletions