memory: chat WS relay fix notes

This commit is contained in:
2026-01-29 08:36:08 +00:00
parent 1e32c82c13
commit 5976fc8e4a
2 changed files with 30 additions and 1 deletions

View File

@@ -16,6 +16,17 @@
- Fixed TS build errors (unused var, useEffect return type) before successful deploy
- hammer.donovankelly.xyz Caddy proxy DISABLED — exposed Clawdbot Control UI without auth. Must add auth layer before re-enabling.
## Infrastructure
- Caddy on VPS (72.60.68.214) now proxies:
- `hammer.donovankelly.xyz/hooks/*` → gateway (hooks only, Control UI blocked)
- `ws.hammer.donovankelly.xyz` → gateway (WebSocket, token-auth)
- `app.todo.donovankelly.xyz` → todo frontend
- `api.todo.donovankelly.xyz` → todo backend
- Wildcard DNS `*.hammer.donovankelly.xyz` → 72.60.68.214 (set by Donovan)
- Hostinger firewall opened: SSH, HTTP, HTTPS (TCP)
- Cron job "task-worker" runs every 30min, picks up active tasks, spawns sub-agent to work
- Chat relay architecture: browser → dash backend `/api/chat/ws` (session auth) → `wss://ws.hammer.donovankelly.xyz` (token auth) → gateway
## Dashboard Improvements (Task Worker) - 6:00 AM UTC
- Added Dashboard overview page at `/` — stats grid, active task cards, up-next queue, recent activity feed, recently completed
- Added progress note input UI in TaskDetailPanel (textarea + Cmd+Enter + Add button)
@@ -47,6 +58,16 @@
- TaskPage now has "Danger Zone" section with delete, and "copy link" shows toast
- Deployed to dash.donovankelly.xyz via Dokploy
## Dashboard UX Polish Batch 2 (Task Worker) - 8:00 AM UTC
- Enhanced CreateTaskModal: project selector, due date picker, priority toggle buttons, "More options" for source
- Project (📁) and assignee (👤) badges on TaskCard + dashboard active cards
- Status filter dropdown on QueuePage + clear filters button + filter count indicator
- Ctrl+N keyboard shortcut to create new task from queue page
- Assignee picker in TaskDetailPanel: quick-assign buttons for Hammer/Donovan/David
- Dashboard: Up Next and Recently Completed items now link to task detail pages, priority badges on Up Next
- Search now also matches assignee names
- Three commits pushed and deployed to Dokploy
## Projects Feature (HQ-17) - 5:00 AM UTC
- Built full Projects feature for Hammer Dashboard
- Backend: `projects` table (name, description, context, repos, links), full CRUD API at `/api/projects`
@@ -58,3 +79,11 @@
- Assigned 7 dashboard tasks to Hammer Dashboard project, 1 task to Network App
- HQ-17 completed, HQ-21 updated with progress
- All deployed to dash.donovankelly.xyz via Dokploy
## Chat WS Relay Fix + UX (Task Worker) - 8:30 AM UTC
- Fixed critical chat bug: docker-compose.dokploy.yml was reading `VITE_WS_URL` (not set) instead of `GATEWAY_WS_URL` (set to wss://ws.hammer.donovankelly.xyz)
- Backend gateway-relay.ts also had wrong default and VITE_ env var fallback — cleaned up
- Fixed Elysia TS errors in all error handlers (ElysiaCustomStatusResponse missing .message)
- Chat UX improvements: thinking indicator (bouncing dots), tap-to-show timestamps, double-click thread rename, auto-resize textarea
- Deployed to Dokploy — chat should now connect to gateway via ws.hammer.donovankelly.xyz
- This should unblock Phase 2 of HQ-21 (Chat integration)