brainy/src/storage/adapters
David Snelling 18c1fa8937 fix(critical): enable metadata indexing in write-only mode + force buffering activation
🚨 CRITICAL FIXES:

1. METADATA INDEXING IN WRITE-ONLY MODE:
   - Was: if (\!this.writeOnly) - DISABLED metadata indexing for bluesky/github packages\!
   - Now: if (\!this.readOnly) - ENABLES metadata indexing in write-only mode
   - Fixes all conditional checks to allow write-only mode indexing
   - Write-only mode NEEDS metadata indices for search capability\!

2. STATISTICS FOLDER LOCATION:
   - Statistics now go to _system/ folder instead of legacy _index/
   - Uses systemPrefix instead of indexPrefix for new statistics

3. FORCE BUFFERING ACTIVATION:
   - Threshold lowered from 1 to 0 (immediate activation)
   - Added 'true' condition to force enable high-volume mode
   - This should guarantee buffering activation in production

IMPACT:
- bluesky-package and github-package will now CREATE metadata indices
- _metadata/noun/ and _metadata/verb/ folders will appear in S3
- Metadata filtering and field searches will work in write-only mode
- Statistics will be in proper _system/ folder structure
- Buffering should activate immediately (guaranteed)

This fixes the missing S3 folder structure and search capabilities.
2025-08-07 10:11:40 -07:00
..
baseStorageAdapter.ts feat: v0.49 - Filter discovery API, remove deprecated methods, improve performance 2025-08-06 14:39:33 -07:00
batchS3Operations.ts fix(build): resolve TypeScript compilation errors in optimization modules 2025-08-03 16:51:20 -07:00
fileSystemStorage.ts feat: v0.49 - Filter discovery API, remove deprecated methods, improve performance 2025-08-06 14:39:33 -07:00
memoryStorage.ts feat: v0.49 - Filter discovery API, remove deprecated methods, improve performance 2025-08-06 14:39:33 -07:00
opfsStorage.ts feat: implement pagination methods for OPFSStorage adapter 2025-08-06 15:00:34 -07:00
optimizedS3Search.ts fix: correct typo in README major updates section 2025-08-06 12:29:32 -07:00
s3CompatibleStorage.ts fix(critical): enable metadata indexing in write-only mode + force buffering activation 2025-08-07 10:11:40 -07:00