|
|
535b83996b
|
feat(spaces): implement Phase 5 Directory Sync Mode
Implements directory synchronization for Information Spaces:
- SpaceDirectoryExporter: Export space to directory structure
- Multiple variants: flat, hierarchical, by_path
- Manifest generation for reimport
- Incremental export (skip unchanged files)
- Metadata file export
- IncrementalExporter for change detection
- DirectorySpaceImporter: Import directory content into space
- Recursive directory scanning
- Multiple file pattern support
- Conflict detection with strategies (skip/overwrite/rename)
- Manifest-based import for intelligent reimport
- Structure preservation in space paths
- BidirectionalSyncCoordinator: Two-way sync with conflict detection
- Sync directions: space-to-directory, directory-to-space, bidirectional
- Conflict resolution strategies: space_wins, directory_wins, newer_wins, manual, skip
- Dry-run mode for preview
- Orphan cleanup option
- Event emission for progress tracking
45 unit tests covering all sync components.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-02-08 12:11:37 +01:00 |
|