CRITICAL BUG FIX: TypeAwareStorage metadata race condition Problem: - saveNoun() called before saveNounMetadata() - TypeAwareStorage couldn't determine entity type (not cached yet) - Defaulted to 'thing' and saved to wrong storage path - Later saveNounMetadata() saved to correct path - Noun and metadata in different locations = entity not found Impact: - Broke VFS file operations completely - Broke brain.get(), brain.relate(), brain.find() - All metadata-dependent features failed - Workshop team completely blocked Solution: - Reversed save order: saveNounMetadata() FIRST, then saveNoun() - Type now cached before saveNoun() needs it - Both saved to correct type-aware paths Additional Fixes: - Make baseStorage.initializeCOW() public (was protected) - Remove enableCOW config option (cleanup) - COW auto-init temporarily disabled (deadlock issue) Known Limitations (v5.0.1): - Fork API exists but COW requires manual init - Will be zero-config in v5.1.0 Fixes: Workshop Bug Report (VFS metadata missing) |
||
|---|---|---|
| .. | ||
| apiTypes.ts | ||
| augmentations.ts | ||
| brainy.types.ts | ||
| brainyInterface.ts | ||
| distributedTypes.ts | ||
| fileSystemTypes.ts | ||
| graphTypes.ts | ||
| mcpTypes.ts | ||
| optional-deps.d.ts | ||
| paginationTypes.ts | ||
| pipelineTypes.ts | ||
| progress.types.ts | ||