open-brainy/src/versioning
David Snelling 3e0f235f8b fix(versioning): VFS file versions now capture actual blob content
VFS files store content in BlobStorage, but versioning was capturing
stale embedding text from entity.data instead of actual file content.

Changes:
- VersionManager.save() now reads fresh content via vfs.readFile()
- VersionManager.restore() writes content back via vfs.writeFile()
- Text files stored as UTF-8, binary as base64 with encoding flag
- Added comprehensive VFS versioning test suite (10 tests)
- Updated API docs with VFS file versioning example

Fixes: Workshop team bug report where all VFS file versions had
identical data despite different metadata.size values.
2025-12-09 16:13:45 -08:00
..
VersionDiff.ts feat: add entity versioning system with critical bug fixes (v5.3.0) 2025-11-04 11:19:02 -08:00
VersionIndex.ts fix(versioning): clean architecture with index pollution prevention 2025-12-09 09:36:10 -08:00
VersioningAPI.ts feat: add entity versioning system with critical bug fixes (v5.3.0) 2025-11-04 11:19:02 -08:00
VersionManager.ts fix(versioning): VFS file versions now capture actual blob content 2025-12-09 16:13:45 -08:00
VersionStorage.ts fix(versioning): clean architecture with index pollution prevention 2025-12-09 09:36:10 -08:00