2026-11-17 21:22:55 +06:00
# Storage Directory Manifest (`storage/`)
2026-10-23 11:43:49 -05:00
## Purpose
2026-11-17 21:22:55 +06:00
Root storage directory for partitioned CSV event datasets written by the Next.js and Port 4000 ingestion engines.
2026-10-23 11:43:49 -05:00
2026-11-17 21:22:55 +06:00
## Partition Layout
- **File Path**: `/storage/data/{clientId}/{YYYY-MM-DD}.csv`
- **Overflow Rotation**: `/storage/data/{clientId}/{YYYY-MM-DD}-part{N}.csv` when a partition reaches the configured `fileRotationMb` size limit (default `100MB` ).
- **CSV Header**: `clientId,eventId,timestamp,payload`
- **Git Policy**: Runtime data files under `storage/data/` are ignored by Git (`.gitignore` ).