5 Commits

Author SHA1 Message Date
8d1d1241b6 Add file attribute tracking TODO to PLAN.md
Document planned approach for capturing and restoring file metadata
(permissions, mtime, uid/gid) alongside content deltas. Notes the need
for a pluggable attribute backend due to filesystem differences, and the
requirement to fail loudly on incompatible attributes during restore.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 02:07:09 +00:00
ba67366cd6 Use numeric indices for delta filenames, document limitations
- Delta files now named 0.zst, 1.zst etc — avoids path length issues
  and ambiguous separator substitution; manifest maps index to path
- PLAN.md: document delta naming rationale
- PLAN.md: document cross-file deduplication limitation and possible
  future approaches (zstd dictionary training, content-addressing, tar stream)
2026-03-07 01:47:31 +00:00
45924cbcd7 Add rsync exit code awareness + plan operation abstraction
- spawn.js: rsync() wrapper handles exit codes 0/24 as OK, 23 as fatal
- spawn.js: capture() accepts allowedExitCodes option
- run.js: all rsync calls go through rsync() wrapper
- PLAN.md: document planned operation abstraction refactor
2026-03-07 01:41:25 +00:00
84801a7971 Update plan: use rsync --itemize-changes for change detection, no dir walk 2026-03-07 01:07:21 +00:00
2fbdde541a Add planning document 2026-03-07 01:04:14 +00:00