cyberneticlibrary

Fix core messaging and collaboration features

fix-high-priorityworkflowsetup L21
xxxx346/chat-system
What it does

Fix backend message persistence and file upload APIs

Best for

Coordinating simultaneous backend (persistence, auth, upload) + frontend (UI, listeners) fixes.

Inputs
  • · backend file paths
  • · database schema
Outputs
  • · fixed .ts files
  • · test-passing route handlers
Requires
  • · TypeORM
  • · Socket.IO
  • · Express
  • · multer
Preconditions

Express server running, MySQL DB connected, type definitions present

Failure modes
  • · TypeORM query failure
  • · file upload disk full
  • · socket handler timeout
Trust signals
  • · 2-phase architecture (backend+frontend)
  • · MessageStatus tracking
  • · file validation